[Rspamd] Not trigger FREEMAIL_POLICY for mailig lists (#3918)

master
Dmitriy Alekseev 2021-01-02 10:49:55 +02:00 committed by GitHub
parent 46928269bb
commit a832becbd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ VIRUS_FOUND {
}
# Bad policy from free mail providers
FREEMAIL_POLICY_FAILURE {
expression = " -g+:policies & !DMARC_POLICY_ALLOW & ( FREEMAIL_ENVFROM | FREEMAIL_FROM ) & !WHITELISTED_FWD_HOST";
expression = "-g+:policies & !DMARC_POLICY_ALLOW & !MAILLIST & ( FREEMAIL_ENVFROM | FREEMAIL_FROM ) & !WHITELISTED_FWD_HOST";
score = 16.0;
}
# Bad policy from non-whitelisted senders