From 1c8981780f882e3a54e3a80a4426bc9cca977ab9 Mon Sep 17 00:00:00 2001 From: korgoth1 Date: Sun, 27 Nov 2022 22:18:44 +0300 Subject: Checking for redirector url in mail --- conf/modules.d/multimap.conf | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'conf/modules.d') diff --git a/conf/modules.d/multimap.conf b/conf/modules.d/multimap.conf index d5cd9d228..a7e929eae 100644 --- a/conf/modules.d/multimap.conf +++ b/conf/modules.d/multimap.conf @@ -13,6 +13,15 @@ # Module documentation can be found at https://rspamd.com/doc/modules/multimap.html multimap { + redirector { + type = "url"; + filter = "tld"; + map = "https://maps.rspamd.com/rspamd/redirectors.inc.zst"; + symbol = "REDIRECTOR"; + description = "The presence of a redirector in the mail"; + score = 0.0; + } + # Freemail Addresses freemail_envfrom { type = "from"; -- cgit v1.2.3 From 5478a3d598e284aefbd9027528303c2dd582f0d0 Mon Sep 17 00:00:00 2001 From: korgoth1 <54508806+korgoth1@users.noreply.github.com> Date: Sun, 27 Nov 2022 22:26:37 +0300 Subject: Update conf/modules.d/multimap.conf Co-authored-by: Vsevolod Stakhov --- conf/modules.d/multimap.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'conf/modules.d') diff --git a/conf/modules.d/multimap.conf b/conf/modules.d/multimap.conf index a7e929eae..5713c8368 100644 --- a/conf/modules.d/multimap.conf +++ b/conf/modules.d/multimap.conf @@ -17,7 +17,7 @@ multimap { type = "url"; filter = "tld"; map = "https://maps.rspamd.com/rspamd/redirectors.inc.zst"; - symbol = "REDIRECTOR"; + symbol = "REDIRECTOR_URL"; description = "The presence of a redirector in the mail"; score = 0.0; } -- cgit v1.2.3