From 4f7a6f84b2651226731d157abcd484a603143ab1 Mon Sep 17 00:00:00 2001 From: Steve Freegard Date: Mon, 21 Nov 2016 13:44:15 +0000 Subject: [PATCH] Add freemail/disposable maps --- conf/modules.d/multimap.conf | 90 ++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) 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"; +} -- 2.39.5