[Rspamd] Add FORGED_W_BAD_POLICY

master
andryyy 2019-11-24 16:08:58 +01:00
parent eeda59e048
commit 19d0eedeba
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
1 changed files with 4 additions and 0 deletions

View File

@ -30,3 +30,7 @@ BAD_WORD_BAD_TLD {
expression = "FISHY_TLD & ( BAD_WORDS | BAD_WORDS_DE )" expression = "FISHY_TLD & ( BAD_WORDS | BAD_WORDS_DE )"
score = 10.0; score = 10.0;
} }
FORGED_W_BAD_POLICY {
expression = "( ~g+:policies | ~R_SPF_NA) & ( ~FROM_NEQ_ENVFROM & ~FORGED_SENDER )"
score = 3.0;
}