commit a6f2463: Merge pull request #4351 from korgoth1/master

GitHub noreply at github.com
Wed Feb 22 12:35:05 UTC 2023


Author: Vsevolod Stakhov
Date: 2023-02-22 12:28:34 +0000
URL: https://github.com/rspamd/rspamd/commit/a6f246370b8c3a17f7d888d9551d797a7df7140d (HEAD -> master)

Merge pull request #4351 from korgoth1/master
Checking for redirector url in mail

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

diff --combined conf/modules.d/multimap.conf
index bbeb4e19c,5713c8368..6c4f25bd5
--- a/conf/modules.d/multimap.conf
+++ b/conf/modules.d/multimap.conf
@@@ -13,6 -13,15 +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_URL";
+     description = "The presence of a redirector in the mail";
+     score = 0.0;
+   }
+ 
    # Freemail Addresses
    freemail_envfrom {
      type = "from";
@@@ -164,3 -173,4 +173,3 @@@ url_tld_re 
            symbol = "URL_MAP_RE";
  }
  */
 -


More information about the Commits mailing list