FH_DATE_PAST_20XX false positives

Kevin Miller Kevin_Miller at ci.juneau.ak.us
Mon Jan 4 19:15:25 GMT 2010


Anthony Cartmell wrote:
> Dear all,
> 
> Happy New Year!
> 
> Just a quick note about a bug noted on the SpamAssassin list: you
> might want to set FH_DATE_PAST_20XX to have a score of zero, or edit
> the rule, as it currently applies to all mail sent in 2010. The rule
> adds a score of   
> 3.19 to messages by default, so could easily cause false positives
> for slightly-spammy messages sent this year. 

As noted, sa_update will cure those ills, but a manual fix is easy too.  Just cd to
/var/lib/spamassassin/3.002005/updates_spamassassin_org/ then in 72_active.cf change:
  72_active.cf:header   FH_DATE_PAST_20XX Date =~ /20[1-9][0-9]/ [if-unset: 2006]
To:
  72_active.cf:header   FH_DATE_PAST_20XX Date =~ /20[2-9][0-9]/ [if-unset: 2006]

Watch the line wrap.  In short, change the [1-9] to [2-9]...


...Kevin
-- 
Kevin Miller                Registered Linux User No: 307357
CBJ MIS Dept.               Network Systems Admin., Mail Admin.
155 South Seward Street     ph: (907) 586-0242
Juneau, Alaska 99801        fax: (907 586-4500


More information about the MailScanner mailing list