summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorSteve Freegard <steve@stevefreegard.com>2016-11-29 16:58:54 +0000
committerSteve Freegard <steve@stevefreegard.com>2016-11-29 16:58:54 +0000
commit238e9fa7bdc5e05ab4ffb87e64e036d49ae768d2 (patch)
tree75971fd82111d7308de5fc6ef0cb9a93c94f30ea /conf
parent6e0d870faa2b59ce769d2e513d4baa4d0bd92cca (diff)
downloadrspamd-238e9fa7bdc5e05ab4ffb87e64e036d49ae768d2.tar.gz
rspamd-238e9fa7bdc5e05ab4ffb87e64e036d49ae768d2.zip
Fix freemail/disposable multimap definitions
Diffstat (limited to 'conf')
-rw-r--r--conf/modules.d/multimap.conf239
1 files changed, 120 insertions, 119 deletions
diff --git a/conf/modules.d/multimap.conf b/conf/modules.d/multimap.conf
index 04f581883..bc8801604 100644
--- a/conf/modules.d/multimap.conf
+++ b/conf/modules.d/multimap.conf
@@ -17,6 +17,126 @@ multimap {
.include(try=true,priority=5) "${DBDIR}/dynamic/multimap.conf"
.include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/multimap.conf"
.include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/multimap.conf"
+
+ # Freemail Addresses
+
+ freemail_envfrom {
+ type = "from";
+ filter = "email:domain";
+ map = "https://rspamd.com/freemail/free.txt.zst";
+ symbol = "FREEMAIL_ENVFROM";
+ description = "Envelope From is a Freemail address";
+ score = 0.0;
+ }
+
+ freemail_envrcpt {
+ type = "rcpt";
+ filter = "email:domain";
+ map = "https://rspamd.com/freemail/free.txt.zst";
+ symbol = "FREEMAIL_ENVRCPT";
+ description = "Envelope Recipient is a Freemail address";
+ score = 0.0;
+ }
+
+ freemail_from {
+ type = "header";
+ header = "from";
+ filter = "email:domain";
+ map = "https://rspamd.com/freemail/free.txt.zst";
+ symbol = "FREEMAIL_FROM";
+ description = "From is a Freemail address";
+ score = 0.0;
+ }
+
+ freemail_to {
+ type = "header";
+ header = "To";
+ filter = "email:domain";
+ map = "https://rspamd.com/freemail/free.txt.zst";
+ symbol = "FREEMAIL_TO";
+ description = "To is a Freemail address";
+ score = 0.0;
+ }
+
+ freemail_cc {
+ type = "header";
+ header = "Cc";
+ filter = "email:domain";
+ map = "https://rspamd.com/freemail/free.txt.zst";
+ symbol = "FREEMAIL_CC";
+ description = "To is a Freemail address";
+ score = 0.0;
+ }
+
+ freemail_replyto {
+ type = "header";
+ header = "Reply-To";
+ filter = "email:domain";
+ map = "https://rspamd.com/freemail/free.txt.zst";
+ symbol = "FREEMAIL_REPLYTO";
+ description = "Reply-To is a Freemail address";
+ score = 0.0;
+ }
+
+ # Disposable Addresses
+
+ disposable_envfrom {
+ type = "from";
+ filter = "email:domain";
+ map = "https://rspamd.com/freemail/disposable.txt.zst";
+ symbol = "DISPOSABLE_ENVFROM";
+ description = "Envelope From is a Disposable e-mail address";
+ score = 0.0;
+ }
+
+ disposable_envrcpt {
+ type = "rcpt";
+ filter = "email:domain";
+ map = "https://rspamd.com/freemail/disposable.txt.zst";
+ symbol = "DISPOSABLE_ENVRCPT";
+ description = "Envelope Recipient is a Disposable e-mail address";
+ score = 0.0;
+ }
+
+ disposable_from {
+ type = "header";
+ header = "from";
+ filter = "email:domain";
+ map = "https://rspamd.com/freemail/disposable.txt.zst";
+ symbol = "DISPOSABLE_FROM";
+ description = "From a Disposable e-mail address";
+ score = 0.0;
+ }
+
+ disposable_to {
+ type = "header";
+ header = "To";
+ filter = "email:domain";
+ map = "https://rspamd.com/freemail/disposable.txt.zst";
+ symbol = "DISPOSABLE_TO";
+ description = "To a disposable e-mail address";
+ score = 0.0;
+ }
+
+ disposable_cc {
+ type = "header";
+ header = "Cc";
+ filter = "email:domain";
+ map = "https://rspamd.com/freemail/disposable.txt.zst";
+ symbol = "DISPOSABLE_CC";
+ description = "To a disposable e-mail address";
+ score = 0.0;
+ }
+
+ disposable_replyto {
+ type = "header";
+ header = "Reply-To";
+ filter = "email:domain";
+ map = "https://rspamd.com/freemail/disposable.txt.zst";
+ symbol = "DISPOSABLE_REPLYTO";
+ description = "Reply-To a disposable e-mail address";
+ score = 0.0;
+ }
}
/* Example setup
@@ -48,122 +168,3 @@ url_tld_re {
}
*/
-# Freemail Addresses
-
-freemail_envfrom {
- type = "from";
- filter = "email:domain";
- map = "https://rspamd.com/freemail/free.txt.zst";
- symbol = "FREEMAIL_ENVFROM";
- description = "Envelope From is a Freemail address";
- score = 0.0;
-}
-
-freemail_envrcpt {
- type = "rcpt";
- filter = "email:domain";
- map = "https://rspamd.com/freemail/free.txt.zst";
- symbol = "FREEMAIL_ENVRCPT";
- description = "Envelope Recipient is a Freemail address";
- score = 0.0;
-}
-
-freemail_from {
- type = "header";
- header = "from";
- filter = "email:domain";
- map = "https://rspamd.com/freemail/free.txt.zst";
- symbol = "FREEMAIL_FROM";
- description = "From is a Freemail address";
- score = 0.0;
-}
-
-freemail_to {
- type = "header";
- header = "To";
- filter = "email:domain";
- map = "https://rspamd.com/freemail/free.txt.zst";
- symbol = "FREEMAIL_TO";
- description = "To is a Freemail address";
- score = 0.0;
-}
-
-freemail_cc {
- type = "header";
- header = "Cc";
- filter = "email:domain";
- map = "https://rspamd.com/freemail/free.txt.zst";
- symbol = "FREEMAIL_CC";
- description = "To is a Freemail address";
- score = 0.0;
-}
-
-freemail_replyto {
- type = "header";
- header = "Reply-To";
- filter = "email:domain";
- map = "https://rspamd.com/freemail/free.txt.zst";
- symbol = "FREEMAIL_REPLYTO";
- description = "Reply-To is a Freemail address";
- score = 0.0;
-}
-
-# Disposable Addresses
-
-disposable_envfrom {
- type = "from";
- filter = "email:domain";
- map = "https://rspamd.com/freemail/disposable.txt.zst";
- symbol = "DISPOSABLE_ENVFROM";
- description = "Envelope From is a Disposable e-mail address";
- score = 0.0;
-}
-
-disposable_envrcpt {
- type = "rcpt";
- filter = "email:domain";
- map = "https://rspamd.com/freemail/disposable.txt.zst";
- symbol = "DISPOSABLE_ENVRCPT";
- description = "Envelope Recipient is a Disposable e-mail address";
- score = 0.0;
-}
-
-disposable_from {
- type = "header";
- header = "from";
- filter = "email:domain";
- map = "https://rspamd.com/freemail/disposable.txt.zst";
- symbol = "DISPOSABLE_FROM";
- description = "From a Disposable e-mail address";
- score = 0.0;
-}
-
-disposable_to {
- type = "header";
- header = "To";
- filter = "email:domain";
- map = "https://rspamd.com/freemail/disposable.txt.zst";
- symbol = "DISPOSABLE_TO";
- description = "To a disposable e-mail address";
- score = 0.0;
-}
-
-disposable_cc {
- type = "header";
- header = "Cc";
- filter = "email:domain";
- map = "https://rspamd.com/freemail/disposable.txt.zst";
- symbol = "DISPOSABLE_CC";
- description = "To a disposable e-mail address";
- score = 0.0;
-}
-
-disposable_replyto {
- type = "header";
- header = "Reply-To";
- filter = "email:domain";
- map = "https://rspamd.com/freemail/disposable.txt.zst";
- symbol = "DISPOSABLE_REPLYTO";
- description = "Reply-To a disposable e-mail address";
- score = 0.0;
-}