aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authortwesterhever <40121680+twesterhever@users.noreply.github.com>2023-05-26 09:55:32 +0000
committertwesterhever <40121680+twesterhever@users.noreply.github.com>2023-05-26 09:55:32 +0000
commit1e9c0195815b5ed0c2c95cb49d9f9925cdfd26ec (patch)
treee9ecd5bf77fbd11bc46fdf2ae12a01801a92968d /conf
parent7a0fce60aee0860ef48b6d8e98d413cf540dcf46 (diff)
downloadrspamd-1e9c0195815b5ed0c2c95cb49d9f9925cdfd26ec.tar.gz
rspamd-1e9c0195815b5ed0c2c95cb49d9f9925cdfd26ec.zip
[Enhancement] Add composite rule for messages only containing a redirector URL
Diffstat (limited to 'conf')
-rw-r--r--conf/composites.conf6
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"