MailScanner

Virus Scanner problem causes MailScanner to stop processing

In the latest version of MailScanner (v4.79.11) if MailScanner cannot find the virus scanner it will stop processing mail completely and no mail will be delivered. If your virus scanner stops working, you will see the following message in your maillog:”Virus Scanning: No virus scanners worked, so message batch was abandoned and re-tried!”If you have this issue and want to get mail flowing again while you investigate the clamd issue, see this FAQ: http://www.configserver.com/techfaq/index.php?faqid=84

New MailScanner Front-End (MSFE) v4.30

Changes:

  • Include clamd init script which will be copied and initialised if missing from /etc/init.d/ and clamd exists in /usr/local/sbin/clamd on entry into WHM UI. (init script copy in /usr/mscpanel/clamd)
  • Include clamd init script on ClamAV upgrade in UI
  • Set clamd init script ulimit to 100M to cope with increasing virus database sizes
  • Updated cPanel UI front-end display

SpamAssassin FH_DATE_PAST_20XX 0.0 rule bug

There’s a bug in SpamAssassin that the developers have yet to fix in sa_update that is causing problems since the turnover to 01/01/2010:https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6269The bug causes every email sent since 01/01/2010 to receive a spam score of 3.19, whether it is spam or not.If you’re running our MailScanner package you can do the following to zero score that rule and alleviate the problem:

echo score FH_DATE_PAST_20XX 0.0 >> /etc/mail/spamassassin/configserver.cf

New MailScanner Front-End (MSFE) v4.29

Changes:

  • Moved mailwatch from:/usr/local/cpanel/whostmgr/docroot/3rdparty/mailwatchto:/usr/local/cpanel/whostmgr/docroot/cgi/mailwatch
  • Made mailwatch cPanel 11.25 Security Token aware
  • Added new option “MailScanner Update Rules” to front-end which will force an update of the MailScanner rules with end-user settings
  • “Access Mailwatch” will now launch into the _blank target rather than a specified name to allow for multiple windows

New MailScanner Script v2.76

Changes:

  • New Mailscanner v4.78.17:http://www.mailscanner.info/ChangeLog
  • Preserve during update new files:/usr/mailscanner/etc/rules/README/usr/mailscanner/etc/rules/EXAMPLES

The latest version of Archive::Zip (v1.29) breaks MailScanner

If you receive the following error while attempting to start MailScanner:

Bareword “Cwd::getcwd” not allowed while “strict subs” in use at /usr/lib/perl5/site_perl/5.8.8/Archive/Zip.pm line 552. Compilation failed in require at /usr/mailscanner/lib/MailScanner/Message.pm line 48. BEGIN failed–compilation aborted at /usr/mailscanner/lib/MailScanner/Message.pm line 48. Compilation failed in require at /usr/mailscanner/bin/MailScanner line 107. BEGIN failed–compilation aborted at /usr/mailscanner/bin/MailScanner line 107.

then it’s likely Archive::Zip has upgraded to v1.29, which causes this problem.Edit (1st July 2009 08:20): The author of Archive::Zip has now released a bugfix for this issue and you can easily fix the issue with:

/scripts/perlinstaller –force Archive::Zip

Check that it installs v1.30 of the perl module, then restart MailScannerNote that if the cpan mirror you are using is stuck on v1.29 and will not update to 1.30, you will need to manually upgrade Archive::Zip:

wget http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Archive-Zip-1.30.tar.gztar -xzf Archive-Zip-1.30.tar.gzcd Archive-Zip-1.30perl Makefile.PLmakemake install

New ClamAV v0.95.2

Changes:

This version improves handling of archives, adds support for –file-listin clamscan and clamdscan, and fixes various issues found in previousreleases.