summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-11-26 14:29:25 +0000
committerGitHub <noreply@github.com>2016-11-26 14:29:25 +0000
commit50a7a68c9531fdc27d20b45c61ce32a29cd41479 (patch)
treea703e33e90aec911f071ebdf48b9cf7f881e9d14 /conf
parentbe11f4753874e92f2f42787cdfa3875fd43af327 (diff)
parent33ad58c5f75fe7e624b4dce32c59ec33fb7339cd (diff)
downloadrspamd-50a7a68c9531fdc27d20b45c61ce32a29cd41479.tar.gz
rspamd-50a7a68c9531fdc27d20b45c61ce32a29cd41479.zip
Merge pull request #1157 from smfreegard/freemail_maps
Add freemail/disposable maps
Diffstat (limited to 'conf')
-rw-r--r--conf/modules.d/multimap.conf108
1 files changed, 108 insertions, 0 deletions
diff --git a/conf/modules.d/multimap.conf b/conf/modules.d/multimap.conf
index 347bdf185..44a5d9f1d 100644
--- a/conf/modules.d/multimap.conf
+++ b/conf/modules.d/multimap.conf
@@ -47,3 +47,111 @@ 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_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";
+}
+
+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_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";
+}
+
+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";
+}