mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2025-04-02 22:04:32 +05:00
Disabled reject action in rspamd
(cherry picked from commit a191bc2dc2235f79ad438603269fafdfab7edef6)
This commit is contained in:
parent
0c4b9a8985
commit
0d0c49e0f3
@ -42,6 +42,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…
x
Reference in New Issue
Block a user