From: twesterhever <40121680+twesterhever@users.noreply.github.com> Date: Fri, 26 May 2023 09:55:32 +0000 (+0000) Subject: [Enhancement] Add composite rule for messages only containing a redirector URL X-Git-Tag: 3.6~96^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F4496%2Fhead;p=rspamd.git [Enhancement] Add composite rule for messages only containing a redirector URL --- diff --git a/conf/composites.conf b/conf/composites.conf index 3c41e1a37..19a2187e6 100644 --- a/conf/composites.conf +++ b/conf/composites.conf @@ -154,6 +154,12 @@ composites { policy = "leave"; description = "Message exhibits strong characteristics of advance fee fraud (AFF a/k/a '419' spam) involving freemail addresses"; } + REDIRECTOR_URL_ONLY { + expression = "HFILTER_URL_ONLY & REDIRECTOR_URL"; + score = 1.0; + policy = "leave"; + description = "Message only contains a redirector URL"; + } .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/composites.conf" .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/composites.conf"