commit 0660e7f: [Enhancement] Detect freemail and disposable e-mail usage for MDN
twesterhever
40121680+twesterhever at users.noreply.github.com
Mon Jul 29 17:55:20 UTC 2024
Author: twesterhever
Date: 2024-04-09 11:13:15 +0000
URL: https://github.com/rspamd/rspamd/commit/0660e7f17ee74f9bf4cbc677155b424be6100276
[Enhancement] Detect freemail and disposable e-mail usage for MDN
---
conf/modules.d/multimap.conf | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/conf/modules.d/multimap.conf b/conf/modules.d/multimap.conf
index b707ddfb1..0b43b6ca9 100644
--- a/conf/modules.d/multimap.conf
+++ b/conf/modules.d/multimap.conf
@@ -85,6 +85,16 @@ multimap {
score = 0.0;
}
+ freemail_mdn {
+ type = "header";
+ header = "Disposition-Notification-To";
+ filter = "email:domain";
+ map = "https://maps.rspamd.com/freemail/free.txt.zst";
+ symbol = "FREEMAIL_MDN";
+ description = "Disposition-Notification-To is a Freemail address";
+ score = 0.0;
+ }
+
# Disposable Addresses
disposable_envfrom {
type = "from";
@@ -147,6 +157,16 @@ multimap {
score = 0.0;
}
+ disposable_mdn {
+ type = "header";
+ header = "Disposition-Notification-To";
+ filter = "email:domain";
+ map = "https://maps.rspamd.com/freemail/disposable.txt.zst";
+ symbol = "DISPOSABLE_MDN";
+ description = "Disposition-Notification-To is a disposable e-mail address";
+ score = 0.5;
+ }
+
.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"
More information about the Commits
mailing list