updated rspamd config
This commit is contained in:
@@ -2,10 +2,11 @@ clamav {
|
||||
scan_mime_parts = true;
|
||||
scan_text_mime = true;
|
||||
scan_image_mime = true;
|
||||
|
||||
retransmits = 2;
|
||||
timeout = 30;
|
||||
symbol = "CLAM_VIRUS";
|
||||
type = "clamav";
|
||||
servers = "/var/run/clamd.amavisd/clamd.sock";
|
||||
servers = "127.0.0.1:3310"
|
||||
|
||||
patterns {
|
||||
# symbol_name = "pattern";
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
%{greylisting_disabled}enabled = false;
|
||||
servers = "127.0.0.1:6379";
|
||||
%{postwhite_enabled}whitelisted_ip = "/etc/postfix/postscreen_spf_whitelist.cidr"
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
symbols {
|
||||
"WHITELIST_AUTHENTICATED" {
|
||||
weight = %whitelist_auth_weigth;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
write_servers = "localhost";
|
||||
read_servers = "localhost";
|
||||
@@ -0,0 +1,8 @@
|
||||
authenticated {
|
||||
priority = high;
|
||||
authenticated = yes;
|
||||
apply {
|
||||
groups_disabled = ["rbl", "spf"];
|
||||
}
|
||||
%{whitelist_auth_enabled} symbols ["WHITELIST_AUTHENTICATED"];
|
||||
}
|
||||
Reference in New Issue
Block a user