diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-05-28 17:37:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-28 17:37:27 +0100 |
commit | 770e290862b105ed5700a1c769452adc39bb77b9 (patch) | |
tree | 64fd68bd011e5c56ab64a2fe91166360c4d01418 | |
parent | 02c28f369b72d97d75cded4000675b98411a0fcb (diff) | |
parent | 1e9c0195815b5ed0c2c95cb49d9f9925cdfd26ec (diff) | |
download | rspamd-770e290862b105ed5700a1c769452adc39bb77b9.tar.gz rspamd-770e290862b105ed5700a1c769452adc39bb77b9.zip |
Merge pull request #4496 from twesterhever/temp-composites-url-only-redirector
[Enhancement] Add composite rule for messages only containing a redirector URL
-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 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" |