Compare commits

...

2 commits

Author SHA1 Message Date
Harald Hoyer 423ef6941d 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.
2024-06-22 15:13:08 +02:00
Harald Hoyer 6d4be557f8 style: fix indentation and spacing issues
This commit corrects the code's formatting in two parts:
1) It normalizes the indentation in the BindPaths block under aesmd_dcap/default.nix.
2) It also removes the extra space before "DE" in the default_phone_region setting in nextcloud.nix.
2024-06-22 15:12:57 +02:00
3 changed files with 26 additions and 2 deletions

View file

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