List of servers that should be probed.
Note: if your mailserver has rspamd(8) configured, it can happen that emails from this exporter are marked as spam.
It's possible to work around the issue with a config like this:
{
services.rspamd.locals."multimap.conf".text = ''
ALLOWLIST_PROMETHEUS {
filter = "email:domain:tld";
type = "from";
map = "${pkgs.writeText "allowmap" "domain.tld"}";
score = -100.0;
}
'';
}
Declarations
Type
list of (submodule)
Default
[ ]
Example
[ {
name = "testserver";
server = "smtp.domain.tld";
port = 587;
from = "[email protected]";
to = "[email protected]";
detectionDir = "/path/to/Maildir/new";
} ]