You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by km...@apache.org on 2017/04/22 16:37:19 UTC

svn commit: r1792300 - /spamassassin/trunk/rules/20_meta_tests.cf

Author: kmcgrail
Date: Sat Apr 22 16:37:19 2017
New Revision: 1792300

URL: http://svn.apache.org/viewvc?rev=1792300&view=rev
Log:
Bug 7411 FORGED_MUA_MOZILLA

Modified:
    spamassassin/trunk/rules/20_meta_tests.cf

Modified: spamassassin/trunk/rules/20_meta_tests.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rules/20_meta_tests.cf?rev=1792300&r1=1792299&r2=1792300&view=diff
==============================================================================
--- spamassassin/trunk/rules/20_meta_tests.cf (original)
+++ spamassassin/trunk/rules/20_meta_tests.cf Sat Apr 22 16:37:19 2017
@@ -46,7 +46,9 @@ header __MSGID_COMMENT		MESSAGEID =~ /\(
 meta INVALID_MSGID		__HAS_MSGID && !(__SANE_MSGID || __MSGID_COMMENT)
 describe INVALID_MSGID		Message-Id is not valid, according to RFC 2822
 
-header __MOZILLA_MUA		X-Mailer =~ /\bMozilla\b/
+#See Bug 7411
+#header __MOZILLA_MUA		X-Mailer =~ /\bMozilla\b/
+header __MOZILLA_MUA            User-Agent =~ /^mozilla\b/i
 header __MOZILLA_MSGID		MESSAGEID =~ /^<[A-F\d]{8}\.[A-F1-9][A-F\d]{0,7}\@\S+>$/m
 meta FORGED_MUA_MOZILLA		(__MOZILLA_MUA && !__UNUSABLE_MSGID && !__MOZILLA_MSGID)
 describe FORGED_MUA_MOZILLA	Forged mail pretending to be from Mozilla