Merge branch 'cherry-pick-a191bc2d' into 'master'

Draft: Disable score based rejects in rspamd

See merge request simple-nixos-mailserver/nixos-mailserver!211
This commit is contained in:
Philipp Dörfler 2024-12-23 10:14:36 +00:00
commit 302f76a8a9

View file

@ -51,6 +51,14 @@ in
backend = "redis";
}
''; };
"actions.conf" = {
text = ''
reject = null; # Disable rejects, default is 15
add_header = 6; # Add header when reaching this score
greylist = 4; # Apply greylisting when reaching this score (will emit `soft reject action`)
'';
};
"antivirus.conf" = lib.mkIf cfg.virusScanning { text = ''
clamav {
action = "reject";