aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authortwesterhever <40121680+twesterhever@users.noreply.github.com>2024-04-09 11:13:15 +0000
committertwesterhever <40121680+twesterhever@users.noreply.github.com>2024-04-09 11:13:15 +0000
commit0660e7f17ee74f9bf4cbc677155b424be6100276 (patch)
tree842ee23a773a16cb8ba5dc8a9fb85e56b634b0c0 /conf
parent748f80fdfe4076488442aecf418fa8ac30bce72e (diff)
downloadrspamd-0660e7f17ee74f9bf4cbc677155b424be6100276.tar.gz
rspamd-0660e7f17ee74f9bf4cbc677155b424be6100276.zip
[Enhancement] Detect freemail and disposable e-mail usage for MDN
Diffstat (limited to 'conf')
-rw-r--r--conf/modules.d/multimap.conf20
1 files changed, 20 insertions, 0 deletions
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"