You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2004/01/09 20:26:43 UTC
svn commit: rev 6134 - incubator/spamassassin/trunk/rules
Author: jm
Date: Fri Jan 9 11:26:41 2004
New Revision: 6134
Modified:
incubator/spamassassin/trunk/rules/70_cvs_rules_under_test.cf
Log:
bug 2915: added rule to detect Message-ID headers that don't match Received
Modified: incubator/spamassassin/trunk/rules/70_cvs_rules_under_test.cf
==============================================================================
--- incubator/spamassassin/trunk/rules/70_cvs_rules_under_test.cf (original)
+++ incubator/spamassassin/trunk/rules/70_cvs_rules_under_test.cf Fri Jan 9 11:26:41 2004
@@ -355,3 +355,15 @@
header T_RCVD_NUMERIC_HELO X-Spam-Relays-Untrusted =~ / helo=\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3} /
describe T_RCVD_NUMERIC_HELO Received: contains an IP address used for HELO
+# If the Message-Id claims to be added by one ISP, there should be a Received
+# header which mentions that ISP.
+header __MSGID_HAS_HOTMAIL MESSAGEID =~ /hotmail\.com/
+header __RCVD_HAS_HOTMAIL Received =~ /(?:hotmail|msn)\.com/
+meta T_MID_RCVD_DIFF_HOTMAIL (__MSGID_HAS_HOTMAIL && !__RCVD_HAS_HOTMAIL)
+describe T_MID_RCVD_DIFF_HOTMAIL Message-Id does not match Received (hotmail.com)
+
+header __MSGID_HAS_AOL MESSAGEID =~ /aol\.com/
+header __RCVD_HAS_AOL Received =~ /aol\.com/
+meta T_MID_RCVD_DIFF_AOL (__MSGID_HAS_AOL && !__RCVD_HAS_AOL)
+describe T_MID_RCVD_DIFF_AOL Message-Id does not match Received (aol.com)
+