FH_DATE_PAST_20XX false positives

Christopher Fisk cfisk at qwicnet.com
Mon Jan 4 19:34:18 GMT 2010


>  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]...

Seems to me (and I'm not a programming in any sense of the word) that this fix is incomplete.  the 2-9 means anything in this decade will be considered ok.  Seems like a second rule to include 201[1-9] is needed.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list