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

@ -27,7 +27,7 @@ in
"/etc/sgx_default_qcnl.conf"
];
BindPaths = [
"/dev/log"
"/dev/log"
];
};
};

View file

@ -13,7 +13,7 @@
settings = {
mail_smtpmode = "sendmail";
mail_sendmailmode = "pipe";
default_phone_region = "DE";
default_phone_region = "DE";
};
phpOptions = {
upload_max_filesize = lib.mkForce "1G";

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
'';
};
};