updated rspamd config

This commit is contained in:
Spitap
2023-06-21 16:04:38 +02:00
committed by Antoine Nguyen
parent 69a8f08246
commit 46bbb1039b
9 changed files with 74 additions and 11 deletions

View File

@@ -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";

View File

@@ -1,3 +1,2 @@
%{greylisting_disabled}enabled = false;
servers = "127.0.0.1:6379";
%{postwhite_enabled}whitelisted_ip = "/etc/postfix/postscreen_spf_whitelist.cidr"

View File

@@ -0,0 +1,5 @@
symbols {
"WHITELIST_AUTHENTICATED" {
weight = %whitelist_auth_weigth;
}
}

View File

@@ -0,0 +1,2 @@
write_servers = "localhost";
read_servers = "localhost";

View File

@@ -0,0 +1,8 @@
authenticated {
priority = high;
authenticated = yes;
apply {
groups_disabled = ["rbl", "spf"];
}
%{whitelist_auth_enabled} symbols ["WHITELIST_AUTHENTICATED"];
}