]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Add freemail/disposable maps
authorSteve Freegard <steve@stevefreegard.com>
Mon, 21 Nov 2016 13:44:15 +0000 (13:44 +0000)
committerSteve Freegard <steve@stevefreegard.com>
Mon, 21 Nov 2016 13:44:15 +0000 (13:44 +0000)
conf/modules.d/multimap.conf

index 347bdf18501c0db5cc06d54828130dabd5a6f2bd..2c879ca864516bc36344e1ba991aec51498e27cb 100644 (file)
@@ -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";
+}