Return-Path: Delivered-To: apmail-spamassassin-users-archive@www.apache.org Received: (qmail 55461 invoked from network); 1 Jan 2010 14:04:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Jan 2010 14:04:20 -0000 Received: (qmail 91142 invoked by uid 500); 1 Jan 2010 14:04:16 -0000 Delivered-To: apmail-spamassassin-users-archive@spamassassin.apache.org Received: (qmail 91088 invoked by uid 500); 1 Jan 2010 14:04:16 -0000 Mailing-List: contact users-help@spamassassin.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@spamassassin.apache.org Received: (qmail 91080 invoked by uid 99); 1 Jan 2010 14:04:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jan 2010 14:04:16 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [209.86.89.64] (HELO elasmtp-curtail.atl.sa.earthlink.net) (209.86.89.64) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jan 2010 14:04:08 +0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=LrY6pYualXO1T1O4dYAZYJzZSX+ZQtCD1AEX9p4iasLboX7p/FBceQt++aYdnCk4; h=Received:Message-ID:From:To:References:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE:X-ELNK-Trace:X-Originating-IP; Received: from [208.127.17.245] (helo=wednesday2) by elasmtp-curtail.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1NQi6V-0001zT-AU for users@spamassassin.apache.org; Fri, 01 Jan 2010 09:03:47 -0500 Message-ID: From: "jdow" To: References: <4B3D4881.7060100@lists.grepular.com> <4b3dbdaa.0702d00a.33b2.1bb4@mx.google.com> Subject: Re: FH_DATE_PAST_20XX Date: Fri, 1 Jan 2010 06:03:46 -0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5843 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-ELNK-Trace: bb89ecdb26a8f9f24d2b10475b57112085659e21d2d0fa9808136d7edbaf1f508a4b8a4ee4b2abb2350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 208.127.17.245 X-Virus-Checked: Checked by ClamAV on apache.org From: "Herbert J. Skuhra" Sent: Friday, 2010/January/01 01:17 > At Thu, 31 Dec 2009 17:53:24 -0800 (PST), > John Hardin wrote: >> >> On Fri, 1 Jan 2010, Mike Cardwell wrote: >> >> > I just received some HAM with a surprisingly high score. The following >> > rule triggered: >> > >> > * 3.2 FH_DATE_PAST_20XX The date is grossly in the future. >> > >> > Yet the date header looks fine to me: >> > >> > Date: Fri, 1 Jan 2010 00:46:45 GMT >> > >> > In /usr/share/spamassassin/72_active.cf I find: >> > >> > header FH_DATE_PAST_20XX Date =~ /20[1-9][0-9]/ [if-unset: 2006] >> > >> > Doesn't look particularly sane to me... I have given that rule a score >> > of 0 in my local.cf for now. >> >> Agree, that should probably be [2-9][0-9]. > > What about > > header FH_DATE_PAST_20XX Date =~ /(201[1-9])|(20[2-9][0-9])/ > > and > > ##{ FH_DATE_IS_200X > header FH_DATE_IS_200X Date =~ /200[0-9]/ [if-unset: 2006] > describe FH_DATE_IS_200X The date is not 200x. > ##} FH_DATE_IS_200X How about simple arithmetic expressions? Then it will not need yearly updates. Oh yeah, TPTB don't have arithmetic expressions in SA. {o.o}