commit 0a0e3f3: [Conf] Add `one_shot` to some specific multimap rules

Vsevolod Stakhov vsevolod at rspamd.com
Sun Apr 23 21:07:03 UTC 2023


Author: Vsevolod Stakhov
Date: 2023-04-23 21:03:07 +0100
URL: https://github.com/rspamd/rspamd/commit/0a0e3f35c814b9dcc81928c383ed7f39e8904e61 (HEAD -> master)

[Conf] Add `one_shot` to some specific multimap rules

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

diff --git a/conf/modules.d/multimap.conf b/conf/modules.d/multimap.conf
index 6c4f25bd5..b707ddfb1 100644
--- a/conf/modules.d/multimap.conf
+++ b/conf/modules.d/multimap.conf
@@ -20,6 +20,7 @@ multimap {
     symbol = "REDIRECTOR_URL";
     description = "The presence of a redirector in the mail";
     score = 0.0;
+    one_shot = true;
   }
 
   # Freemail Addresses
@@ -39,6 +40,7 @@ multimap {
     symbol = "FREEMAIL_ENVRCPT";
     description = "Envelope Recipient is a Freemail address";
     score = 0.0;
+    one_shot = true;
   }
 
   freemail_from {
@@ -59,6 +61,7 @@ multimap {
     symbol = "FREEMAIL_TO";
     description = "To is a Freemail address";
     score = 0.0;
+    one_shot = true;
   }
 
   freemail_cc {
@@ -69,6 +72,7 @@ multimap {
     symbol = "FREEMAIL_CC";
     description = "To is a Freemail address";
     score = 0.0;
+    one_shot = true;
   }
 
   freemail_replyto {
@@ -98,6 +102,7 @@ multimap {
     symbol = "DISPOSABLE_ENVRCPT";
     description = "Envelope Recipient is a Disposable e-mail address";
     score = 0.0;
+    one_shot = true;
   }
 
   disposable_from {
@@ -118,6 +123,7 @@ multimap {
     symbol = "DISPOSABLE_TO";
     description = "To a disposable e-mail address";
     score = 0.0;
+    one_shot = true;
   }
 
   disposable_cc {
@@ -128,6 +134,7 @@ multimap {
     symbol = "DISPOSABLE_CC";
     description = "To a disposable e-mail address";
     score = 0.0;
+    one_shot = true;
   }
 
   disposable_replyto {


More information about the Commits mailing list