On 01/05/2010 12:06 PM, Jason Bertoch wrote:
Terry Carmen wrote:


/usr/share/spamassassin/72_active.cf contains
< header   FH_DATE_PAST_20XX    Date =~ /20[1-9][0-9]/ [if-unset: 2006]
< describe FH_DATE_PAST_20XX    The date is grossly in the future.

/var/lib/spamassassin/3.002005/updates_spamassassin_org/72_active.cf contains
> header   FH_DATE_PAST_20XX    Date =~ /20[2-9][0-9]/ [if-unset: 2006]
> describe FH_DATE_PAST_20XX    The date is grossly in the future.

and the rule is still triggering where it shouldn't, scoring ham as spam.

Should both of these directories exist? Is there something else I need to do to get /usr/share/ updated or should it be deleted? (or something else?)


For SA 3.2.5 and earlier, default rules are installed to /usr/share/spamassassin and are only used if none exist in /var/lib/spamassassin, typically created by using sa-update.
I'm running 3.2.5.

Since it uses sa-update can all non-customized rules be deleted from /usr/share/spamassassin?
If your installation is still seeing the old rule, it is likely that either a copy of the rule exists in /etc/mail/spamassassin,
There are no .cf files except local.cf in /etc/mail/spamassassin
which overrides rules in /var/lib/spamassassin, or that your spamd/amavisd/whatever hasn't been restarted since the rule was updated.

I just did a "find" and have:

/usr/local/share/spamassassin/72_active.cf
/usr/share/spamassassin/72_active.cf
/var/lib/spamassassin/3.002005/updates_spamassassin_org/72_active.cf

Should I have all three or can I safely delete either or both of the first two?

Thanks!

Terry







Reply via email to