From: Dmitriy Alekseev <1865999+dragoangel@users.noreply.github.com> Date: Sun, 30 Mar 2025 13:33:28 +0000 (+0200) Subject: Add FREEMAIL_REPLYTO_NEQ_FROM rule X-Git-Tag: 3.12.0~20^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F5413%2Fhead;p=thirdparty%2Frspamd.git Add FREEMAIL_REPLYTO_NEQ_FROM rule --- diff --git a/conf/composites.conf b/conf/composites.conf index 34a6c170e5..d6c8e37736 100644 --- a/conf/composites.conf +++ b/conf/composites.conf @@ -171,6 +171,12 @@ composites { description = "Message exhibits strong characteristics of advance fee fraud (AFF a/k/a '419' spam) involving freemail addresses"; group = "scams"; } + FREEMAIL_REPLYTO_NEQ_FROM { + expression = "FREEMAIL_REPLYTO & !REPLYTO_EQ_FROM & !REPLYTO_ADDR_EQ_FROM & !FREEMAIL_REPLYTO_NEQ_FROM_DOM"; + score = 2.0; + policy = "leave"; + description = "Reply-To is a Freemail address and it not match From header or SMTP From, also From is not another Freemail"; + } SUSPICIOUS_MDN { expression = "(FREEMAIL_MDN | DISPOSABLE_MDN) & !(FREEMAIL_FROM | FREEMAIL_ENVFROM)"; score = 2.0;