mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2024-12-25 06:26:27 +01:00
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:
commit
302f76a8a9
1 changed files with 8 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue