commit 1c89817: Checking for redirector url in mail

korgoth1 vladislav.stakhov at gmail.com
Wed Feb 22 12:35:03 UTC 2023


Author: korgoth1
Date: 2022-11-27 22:18:44 +0300
URL: https://github.com/rspamd/rspamd/commit/1c8981780f882e3a54e3a80a4426bc9cca977ab9

Checking for redirector url in mail

---
 conf/modules.d/multimap.conf | 9 +++++++++
 1 file changed, 9 insertions(+)

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";


More information about the Commits mailing list