feat: Update rspamd configurations

This commit introduces new whitelisted domains for SPFs, DKIMs, DMARCs and Greylists in the Rspamd configurations. It also adds new rules for incoming emails from bogensport-jugend@gmx.de, including disabling greylisting and specifying actions to apply.
This commit is contained in:
Harald Hoyer 2024-06-22 15:37:37 +02:00
parent 9f1bb163e1
commit 8bbed5e255

View file

@ -5,18 +5,20 @@
mode = "0660"; mode = "0660";
}]; }];
services.rspamd.locals = { services.rspamd.locals = {
"settings.conf" = '' "settings.conf" = {
bogenschiessen { text = ''
from = "bogensport-jugend@gmx.de"; bogenschiessen {
apply { from = "bogensport-jugend@gmx.de";
actions { apply {
reject = 100.0; actions {
greylist = null; # Disable greylisting (from 1.8.1) reject = 100.0;
"add header" = 100.0; # Please note the space, NOT an underscore greylist = null; # Disable greylisting (from 1.8.1)
"add header" = 100.0; # Please note the space, NOT an underscore
}
} }
} }
} '';
''; };
"maps.d/spf_whitelist.inc.local" = { "maps.d/spf_whitelist.inc.local" = {
text = '' text = ''
epicgames.com epicgames.com