|
|
|
@ -54,7 +54,7 @@ spamd {
|
|
|
|
|
# reject_message - reject message for spam
|
|
|
|
|
reject_message = "Spam message rejected; If this is not spam contact abuse";
|
|
|
|
|
# whitelist - list of ips or nets that should be not checked with spamd
|
|
|
|
|
whitelist = 127.0.0.1/32, [::1]/128;
|
|
|
|
|
whitelist = 127.0.0.1/32, [::1]/128, {{ WHITELIST }};
|
|
|
|
|
# rspamd_metric - metric for using with rspamd
|
|
|
|
|
rspamd_metric = "default";
|
|
|
|
|
# Do not reject, add header
|
|
|
|
@ -91,7 +91,7 @@ redis {
|
|
|
|
|
# limits section
|
|
|
|
|
limits {
|
|
|
|
|
# Whitelisted ip or networks
|
|
|
|
|
limit_whitelist = 127.0.0.1, 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8, [::1]/128;
|
|
|
|
|
limit_whitelist = 127.0.0.1, [::1]/128, {{ WHITELIST }};
|
|
|
|
|
# Whitelisted recipients
|
|
|
|
|
limit_whitelist_rcpt = postmaster, mailer-daemon;
|
|
|
|
|
# Addrs for bounce checks
|
|
|
|
@ -112,7 +112,7 @@ limits {
|
|
|
|
|
greylisting {
|
|
|
|
|
timeout = 300s;
|
|
|
|
|
expire = 3d;
|
|
|
|
|
whitelist = 127.0.0.1, 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8, [::1]/128;
|
|
|
|
|
whitelist = 127.0.0.1, [::1]/128, {{ WHITELIST }};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
dkim {
|
|
|
|
@ -125,7 +125,7 @@ dkim {
|
|
|
|
|
body_canon = relaxed;
|
|
|
|
|
sign_alg = sha256;
|
|
|
|
|
auth_only = yes;
|
|
|
|
|
sign_networks = 127.0.0.1, 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8, [::1]/128;
|
|
|
|
|
sign_networks = 127.0.0.1, [::1]/128, {{ WHITELIST }};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
# .try_include /overrides/rmilter.conf
|
|
|
|
|