services.prometheus.exporters.mail.configuration.servers.*.detectionDir

NixOS option

Directory in which new mails for the exporter user are placed. Note that this needs to exist when the exporter starts.

type: absolute path
Example
"/var/spool/mail/exporteruser/new"
declared in: nixos/modules/services/monitoring/prometheus/exporters.nixView source on NixOS/nixpkgs →