[Rspamd] Rebalance group policies (#3817)

* [Rspamd] Rebalance group policies

* [Rspamd] Rebalance group policies
master
Dmitriy Alekseev 2020-10-20 12:55:55 +03:00 committed by GitHub
parent 4817de6d27
commit fa153fad38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 9 deletions

View File

@ -4,12 +4,12 @@ MX_IMPLICIT {
} }
VIRUS_FOUND { VIRUS_FOUND {
expression = "CLAM_VIRUS & !MAILCOW_WHITE"; expression = "CLAM_VIRUS & !MAILCOW_WHITE";
score = 2000; score = 2000.0;
} }
# Bad policy from non-whitelisted senders # Bad policy from non-whitelisted senders
POLICY_FAILURE { POLICY_FAILURE {
expression = "-g+:policies & !MAILCOW_WHITE"; expression = "-g+:policies & !MAILCOW_WHITE";
score = 10; score = 1.0;
} }
# Remove SOGO_CONTACT symbol for fwd hosts and senders with broken policy # Remove SOGO_CONTACT symbol for fwd hosts and senders with broken policy
SOGO_CONTACT_EXCLUDE { SOGO_CONTACT_EXCLUDE {

View File

@ -1,23 +1,23 @@
symbols = { symbols = {
"ARC_REJECT" { "ARC_REJECT" {
score = 0.0; score = 0.01;
} }
"R_SPF_FAIL" { "R_SPF_FAIL" {
score = 10.0; score = 8.0;
} }
"R_SPF_PERMFAIL" { "R_SPF_PERMFAIL" {
score = 10.0; score = 8.0;
} }
"R_DKIM_REJECT" { "R_DKIM_REJECT" {
score = 10.0; score = 8.0;
} }
"DMARC_POLICY_REJECT" { "DMARC_POLICY_REJECT" {
weight = 20.0; weight = 16.0;
} }
"DMARC_POLICY_QUARANTINE" { "DMARC_POLICY_QUARANTINE" {
weight = 10.0; weight = 8.0;
} }
"DMARC_POLICY_SOFTFAIL" { "DMARC_POLICY_SOFTFAIL" {
weight = 2.0; weight = 1.0;
} }
} }