mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2025-04-05 03:18:29 +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";
|
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 = ''
|
"antivirus.conf" = lib.mkIf cfg.virusScanning { text = ''
|
||||||
clamav {
|
clamav {
|
||||||
action = "reject";
|
action = "reject";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user