How to fix the spamassassin bug with the FH_DATE_PAST_20XX rule
Monday, January 4, 2010 posted by Till
Since january 1 2010, spamassassin is falsely marking non spam emails as spam due to an error in the regular expression of the FH_DATE_PAST_20XX rule.
Description of the bug:
https://secure.grepular.com/blog/index.php/2010/01/01/spamassassin-2010-bug/
To fix this, run the following command on the shell as root user:
sa-update
If you use the software ISPConfig 2 on your server, run this command:
/home/admispconfig/ispconfig/tools/spamassassin/usr/bin/sa-update
root@pcsask:/home/admispconfig/ispconfig/tools/spamassassin/usr/bin# /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/sa-update
Can’t locate Archive/Tar.pm in @INC (@INC contains: /home/admispconfig/ispconfig/tools/spamassassin/usr/share/perl/5.8.8 /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl) at /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/sa-update line 81.
BEGIN failed–compilation aborted at /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/sa-update line 81.
FAILS
The perl package “Archive::Tar” is missing in your installation. Install either the perl Archive::Tar package from your linux distribution or install it from cpan with:
perl -MCPAN -e ‘install Archive::Tar’
perl -MCPAN -e ‘install Archive::Tar’
gives me an error:
Can’t locate object method “install” via package “Archive::Tar” at -e line 1
Using Debian Lenny.
Ok I have this what here stay
/home/admispconfig/ispconfig/tools/spamassassin/usr/bin/sa-update
then comes a Error
/home/admispconfig/ispconfig/tools/spamassassin/usr/bin/sa-u pdate
gpg: WARNING: unsafe ownership on homedir `/home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin/sa-update-keys’
error: GPG validation failed!
The update downloaded successfully, but the GPG signature verification
failed.
channel: GPG validation failed, channel failed
how can I update the GPG signature
Best Regards Alex
Use the sa-update option:
–no-gpg