FH_DATE_PAST_20XX false positives
Derek Chee
dchee at uci.edu
Mon Jan 4 23:05:26 GMT 2010
"MailScanner --debug-sa" will tell you what SpamAssassin is up to. You can also run --debug with spamassassin command-line tool, but to be really sure what MailScanner is doing, use the MailScanner command. I just found out that I had messed up my MailScanner config and it was doing things differently than the command-line issued spamassassin command.
-- Derek
On Jan 4, 2010, at 2:41 PM, Laskie, Norman wrote:
> 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!
> --
> 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