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:13:08 +02:00
parent 6d4be557f8
commit 423ef6941d

View file

@ -5,28 +5,52 @@
mode = "0660";
}];
services.rspamd.locals = {
"settings.conf" = {
bogenschiessen = {
from = "bogensport-jugend@gmx.de";
apply = {
actions = {
reject = 100.0;
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" = {
text = ''
epicgames.com
dmail.ai
twitter.com
x.com
gmx.de
'';
};
"maps.d/spf_dkim_whitelist.inc.local" = {
text = ''
epicgames.com
dmail.ai
twitter.com
x.com
gmx.de
'';
};
"maps.d/dmarc_whitelist.inc.local" = {
text = ''
epicgames.com
dmail.ai
twitter.com
x.com
gmx.de
'';
};
"greylist-whitelist-domains.inc" = {
text = ''
dmail.ai
epicgames.com
twitter.com
x.com
gmx.de
'';
};
};