diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-10-09 12:37:30 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-10-09 12:37:30 +0100 |
commit | 62b3a7c5e9ea60844802c8f1fd6bcd6e4f5ea81a (patch) | |
tree | ed1b57c7163cc78c457817a0d7aeb115586141c4 /conf/composites.conf | |
parent | a532a2ddf2797a6c3156edc42310e5708363eefb (diff) | |
download | rspamd-62b3a7c5e9ea60844802c8f1fd6bcd6e4f5ea81a.tar.gz rspamd-62b3a7c5e9ea60844802c8f1fd6bcd6e4f5ea81a.zip |
[Conf] Add composite to negate policies when fuzzy/bayes found
Diffstat (limited to 'conf/composites.conf')
-rw-r--r-- | conf/composites.conf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/conf/composites.conf b/conf/composites.conf index 0de2ee2a0..6536aa42b 100644 --- a/conf/composites.conf +++ b/conf/composites.conf @@ -117,6 +117,12 @@ composites { description = "Contains one or more domains trying to disguise owner/destination"; score = 0.5; } + BAD_REP_POLICIES { + description = "Contains valid policies but are also marked by fuzzy/bayes"; + expression = "(g-:policies) & (g+:fuzzy | g+:bayes)"; + score = 0.1; + policy = "remove_weight"; + } .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/composites.conf" .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/composites.conf" |