FH_DATE_PAST_20XX false positives
Laskie, Norman
NWL002 at shsu.edu
Mon Jan 4 22:41:57 GMT 2010
Is there an easy way to tell what directory SpamAssassin / MailScanner is using for rules? I have two copies of that particular rule file with the version under /var/lib/spamassassin/3.002004/updates_spamassassin_org being updated and a version under /usr/share/spamassassin not being updated. MailScanner services have been restarted, SpamAssassin caches dumped and multiple sa-updates have been run.
-Norman
-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Kevin Miller
Sent: Monday, January 04, 2010 1:15 PM
To: 'MailScanner discussion'
Subject: RE: FH_DATE_PAST_20XX false positives
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--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner
Before posting, read http://wiki.mailscanner.info/posting
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list