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
[email protected]:/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
Thanks a lot for the workaround 🙂
ISPConfig 2 and mail traffic is now perfectly working 😀
[email protected]:~# cpan -i Device::USB
CPAN: Storable loaded ok (v2.20)
+
+
Going to read ‘/home/image/.cpan/Metadata’
+
+
Database was generated on Wed, 04 May 2011 17:29:02 GMT
+
+
Running install for module ‘Device::USB’
CPAN: YAML loaded ok (v0.72)
Running make for G/GW/GWADEJ/Device-USB-0.35.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
CPAN: Compress::Zlib loaded ok (v2.02)
Checksum for /home/image/.cpan/sources/authors/id/G/GW/GWADEJ/Device-U
+SB-0.35.tar.gz ok
CPAN: Archive::Tar loaded ok (v1.52)
Device-USB-0.35/
Device-USB-0.35/Changes
Device-USB-0.35/dump_usb.pl
Device-USB-0.35/Makefile.PL
Device-USB-0.35/MANIFEST.SKIP
Device-USB-0.35/MANIFEST
Device-USB-0.35/README
Device-USB-0.35/USB.pm
Device-USB-0.35/t/
Device-USB-0.35/t/17-usb_dev_endpoint.t
Device-USB-0.35/t/00-load.t
Device-USB-0.35/t/07-list_devices_if.t
Device-USB-0.35/t/05-find_device_if.t
Device-USB-0.35/t/02-find_busses_devices.t
Device-USB-0.35/t/15-usb_dev_configuration.t
Device-USB-0.35/t/06-list_devices.t
Device-USB-0.35/t/09-usb-bus.t
Device-USB-0.35/t/16-usb_dev_interface.t
Device-USB-0.35/t/14-bus_list_devices_if.t
Device-USB-0.35/t/11-usb-device-methods.t
Device-USB-0.35/t/boilerplate.t
Device-USB-0.35/t/04-find_device.t
Device-USB-0.35/t/pod-coverage.t
Device-USB-0.35/t/03-list_busses.t
Device-USB-0.35/t/08-get_busses.t
Device-USB-0.35/t/10-usb-device-accessors.t
Device-USB-0.35/t/13-bus_find_device_if.t
Device-USB-0.35/t/pod.t
Device-USB-0.35/t/TestTools.pm
Device-USB-0.35/t/12-constants.t
Device-USB-0.35/t/18-usb_device-configurations.t
Device-USB-0.35/t/01-create-usb.t
Device-USB-0.35/META.yml
Device-USB-0.35/lib/
Device-USB-0.35/lib/Device/
Device-USB-0.35/lib/Device/USB/
Device-USB-0.35/lib/Device/USB/DevConfig.pm
Device-USB-0.35/lib/Device/USB/FAQ.pod
Device-USB-0.35/lib/Device/USB/Device.pm
Device-USB-0.35/lib/Device/USB/DevInterface.pm
Device-USB-0.35/lib/Device/USB/DevEndpoint.pm
Device-USB-0.35/lib/Device/USB/Bus.pm
Device-USB-0.35/lib/Device/USB.pm
CPAN: File::Temp loaded ok (v0.22)
CPAN.pm: Going to build G/GW/GWADEJ/Device-USB-0.35.tar.gz
ERROR: Can’t find usb.h header.
If the library is not installed, you will need to install it. If it is
installed somewhere other than /usr or /usr/local, you need to set the
following environment variables:
LIBUSB_LIBDIR should contain the path to the libusb libraries
LIBUSB_INCDIR should contain the path to the libusb include files
Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=s
+ite]
GWADEJ/Device-USB-0.35.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site — NOT OK
Running make test
Make had some problems, won’t test
Running make install
Make had some problems, won’t install
Installed without problem, Cpanel is a security
Thanks
try this:
The current version of Archive::Zip on CPAN comes as a zip file. The CPAN module on my server and/or the version of gzip (v. 1.2.4; Aug 93) does not seem to be able to handle the installation.
cpan> install Archive::Zip Running install for module Archive::Zip Running make for N/NE/NEDKONZ/Archive-Zip-0.11.zip Fetching with LWP: ftp://carroll.cac.psu.edu/pub/CPAN/authors/id/N/NE/NEDKONZ/Archive-Z +ip-0.11.zip Scanning cache /root/.cpan/build for sizes Deleting from cache: /root/.cpan/build/Bundle-libnet-1.00 (10.1>10.0 M +B) Deleting from cache: /root/.cpan/build/XML-Parser-2.30 (10.1>10.0 MB) CPAN: MD5 loaded ok Fetching with LWP: ftp://carroll.cac.psu.edu/pub/CPAN/authors/id/N/NE/NEDKONZ/CHECKSUMS Checksum for /root/.cpan/sources/authors/id/N/NE/NEDKONZ/Archive-Zip-0 +.11.zip ok gzip: /root/.cpan/sources/authors/id/N/NE/NEDKONZ/Archive-Zip-0.11.zip + has more than one entry–rest ignored Cannot unzip, no unzip program available cpan>
try this:
The current version of Archive::Zip on CPAN comes as a zip file. The CPAN module on my server and/or the version of gzip (v. 1.2.4; Aug 93) does not seem to be able to handle the installation.