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 2009/07/01 00:33:44 UTC
svn commit: r789992 - in /spamassassin/trunk: rules/20_head_tests.cf
t.rules/SUBJ_ILLEGAL_CHARS/ t.rules/SUBJ_ILLEGAL_CHARS/fp-bug4352-att2882
Author: jm
Date: Tue Jun 30 22:33:44 2009
New Revision: 789992
URL: http://svn.apache.org/viewvc?rev=789992&view=rev
Log:
bug 4352: fix SUBJ_ILLEGAL_CHARS to whitelist yahoo.com webmail, which seems common enough to make a special case for their bugs
Added:
spamassassin/trunk/t.rules/SUBJ_ILLEGAL_CHARS/
spamassassin/trunk/t.rules/SUBJ_ILLEGAL_CHARS/fp-bug4352-att2882
Modified:
spamassassin/trunk/rules/20_head_tests.cf
Modified: spamassassin/trunk/rules/20_head_tests.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rules/20_head_tests.cf?rev=789992&r1=789991&r2=789992&view=diff
==============================================================================
--- spamassassin/trunk/rules/20_head_tests.cf (original)
+++ spamassassin/trunk/rules/20_head_tests.cf Tue Jun 30 22:33:44 2009
@@ -428,7 +428,8 @@
# might want to exempt users using languages that don't use Latin
# alphabets, but do it in the eval
-header SUBJ_ILLEGAL_CHARS eval:check_illegal_chars('Subject','0.00','2')
+header __SUBJ_ILLEGAL_CHARS eval:check_illegal_chars('Subject','0.00','2')
+meta SUBJ_ILLEGAL_CHARS (__SUBJ_ILLEGAL_CHARS && !__FROM_YAHOO_COM)
describe SUBJ_ILLEGAL_CHARS Subject: has too many raw illegal characters
header FROM_ILLEGAL_CHARS eval:check_illegal_chars('From','0.20','2')
Added: spamassassin/trunk/t.rules/SUBJ_ILLEGAL_CHARS/fp-bug4352-att2882
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t.rules/SUBJ_ILLEGAL_CHARS/fp-bug4352-att2882?rev=789992&view=auto
==============================================================================
--- spamassassin/trunk/t.rules/SUBJ_ILLEGAL_CHARS/fp-bug4352-att2882 (added)
+++ spamassassin/trunk/t.rules/SUBJ_ILLEGAL_CHARS/fp-bug4352-att2882 Tue Jun 30 22:33:44 2009
@@ -0,0 +1,39 @@
+Received: from web42104.mail.yahoo.com (web42104.mail.yahoo.com [66.218.93.197])
+ by mildly.forged.fi (Postfix) with SMTP id 488A567CD3
+ for <er...@iki.fi>; Fri, 20 May 2005 15:26:14 +0300 (EEST)
+Received: (qmail 66005 invoked by uid 60001); 20 May 2005 12:26:12 -0000
+Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
+DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
+ s=s1024; d=yahoo.com;
+ b=IhjkLOoqWQawwSDQN8tjXr4n6nJV+Qku9Rl2suKTuPntOneQaPUvjJvzWQPYd0UEJrCvXMMeAnnhvzf+CRu+b7hR0LHBKYM62dmtSBSctK4a2cHY4ilgCLZiry41UFKzxFVVQaxnbp1oexYx+XTv4xVL7oduQ5mva3/rD4DJfx8= ;
+Message-ID: <20...@web42104.mail.yahoo.com>
+Received: from [62.78.201.221] by web42104.mail.yahoo.com via HTTP; Fri, 20 May 2005 05:26:12 PDT
+Date: Fri, 20 May 2005 05:26:12 -0700 (PDT)
+From: Forged Example <ex...@yahoo.com>
+Subject: tässä on jotain skandeja ööö
+To: era@iki.fi
+MIME-Version: 1.0
+Content-Type: text/plain; charset=us-ascii
+
+tEkStivIEsti
+
+öäöäöäöäöä ruåtsalainen åå.
+
+
+
+
+
+
+
+Yahoo! Mail
+Stay connected, organized, and protected. Take the
+tour:
+http://tour.mail.yahoo.com/mailtour.html
+
+
+
+
+__________________________________
+Do you Yahoo!?
+Yahoo! Mail - You care about security. So do we.
+http://promotions.yahoo.com/new_mail