aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorSteve Freegard <steve@stevefreegard.com>2016-11-21 13:44:15 +0000
committerSteve Freegard <steve@stevefreegard.com>2016-11-21 13:44:15 +0000
commit4f7a6f84b2651226731d157abcd484a603143ab1 (patch)
tree6838cf5c0a9b54c9b3d0c174cc7fbb1460d6d095 /conf
parent919cbd477d499804b17c87656a435db6067ca31e (diff)
downloadrspamd-4f7a6f84b2651226731d157abcd484a603143ab1.tar.gz
rspamd-4f7a6f84b2651226731d157abcd484a603143ab1.zip
Add freemail/disposable maps
Diffstat (limited to 'conf')
-rw-r--r--conf/modules.d/multimap.conf90
1 files changed, 90 insertions, 0 deletions
diff --git a/conf/modules.d/multimap.conf b/conf/modules.d/multimap.conf
index 347bdf185..2c879ca86 100644
--- a/conf/modules.d/multimap.conf
+++ b/conf/modules.d/multimap.conf
@@ -47,3 +47,93 @@ url_tld_re {
symbol = "URL_MAP_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";
+}
+
+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";
+}
+
+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";
+}
+
+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";
+}
+
+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";
+}
+
+# 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";
+}
+
+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";
+}
+
+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";
+}
+
+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";
+}
+
+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";
+}