mailserver: Allow manually blocking sender domains
This commit is contained in:
parent
df01f1e00d
commit
e7fa0868ae
|
@ -479,6 +479,16 @@ in
|
||||||
"milter_headers.conf".text = ''
|
"milter_headers.conf".text = ''
|
||||||
extended_spam_headers = true;
|
extended_spam_headers = true;
|
||||||
'';
|
'';
|
||||||
|
"multimap.conf".text = ''
|
||||||
|
SENDER_DOMAIN_BLOCKED {
|
||||||
|
type = "from";
|
||||||
|
filter = "email:domain:tld";
|
||||||
|
map = "/var/lib/rspamd/blocked_sender_domains.map";
|
||||||
|
symbol = "SENDER_DOMAIN_BLOCKED";
|
||||||
|
description = "Sender’s effective second level domain is manually blocked";
|
||||||
|
score = 8.0;
|
||||||
|
}
|
||||||
|
'';
|
||||||
"redis.conf".text = ''
|
"redis.conf".text = ''
|
||||||
servers = "127.0.0.1:${toString config.services.redis.servers.rspamd.port}"
|
servers = "127.0.0.1:${toString config.services.redis.servers.rspamd.port}"
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue