Subject: | |
From: | |
Reply To: | |
Date: | Sat, 9 Jan 2010 13:37:24 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Hi Keith,
I can't say that I understand spamassassin rules, but it appears to me
that you will trigger the rule, i.e., incur the penalty, if the match
succeeds? Your change means that all dates 2000 through 2099 will
match. Isn't the correct change something like (assuming regex):
Date =~ /20[2-9][0-9]|201[1-9]/
I believe that this will only match 2011 through 2099. Although this
will run into problems next December. Probably a better solution is to
work with a time window from "now".
Thanks,
doug
>
> OK, so I haven't upgraded spamassassin for a while, just distro updates.
> I just learned it has been throwing out many emails dated 2010 .
> Fortunately, there is an easy fix:
>
> In /usr/share/spamassassin/72_active.cf :
>
> -----------------------------------------------------------------------
> ##{ FH_DATE_PAST_20XX
> header FH_DATE_PAST_20XX Date =~ /20[1-9][0-9]/ [if-unset: 2006]^M
> describe FH_DATE_PAST_20XX The date is grossly in the future.^M
> ##} FH_DATE_PAST_20XX
> -----------------------------------------------------------------------
>
> The header line should be:
> -----------------------------------------------------------------------
> header FH_DATE_PAST_20XX Date =~ /20[0-9][0-9]/ [if-unset: 2006]^M
> -----------------------------------------------------------------------
>
> No time to do much more with that; if someone else wants to track this
> down, see how prevalent it is, submit a bug report, etc. that would
> help us all. I've got about 8 days of unanswered emails to deal with!
>
> Keith
>
> --
> Keith Lofstrom [log in to unmask] Voice (503)-520-1993
> KLIC --- Keith Lofstrom Integrated Circuits --- "Your Ideas in Silicon"
> Design Contracting in Bipolar and CMOS - Analog, Digital, and Scan ICs
>
----------------------------------------------------------------------------
Doug Johnson email: [log in to unmask]
B390, Duane Physics (303)-492-4506 Office
Boulder, CO 80309 (303)-492-5119 FAX
http://www.aaccchildren.org
Some men's world is only hate and money
Afraid of everything and they laugh at nothing
And they only live to criticize
----------------------------------------------------------------------------
|
|
|