[clamassassin-announce] Problems with ClamAV 0.90 and clamassassin 1.2.3

James Lick jlick at jameslick.com
Sat Feb 17 08:50:53 PST 2007


Dear clamassassin users,

    There is a compatibility problem when using clamassassin 1.2.3 with 
the new ClamAV 0.90 release.  The new ClamAV release has changed some of 
the command line options, and one of these changes makes clamassassin 
not work correctly when using clamscan.  However, using clamassassin 
with clamdscan doesn't seem to have any problems.

    The problem is that clamscan has removed the --mbox option which was 
required in old versions of ClamAV when scanning an email message.  Now 
clamscan can scan email messages without any special options and the 
--mbox option was removed.  In ClamAV 0.90, running clamscan with this 
option will no longer work.  clamassassin had used this option for 
compatibility with older versions of ClamAV, so clamassassin will fail 
to work with ClamAV's clamscan.

    I am testing a version which fixes this problem.  In the meantime 
you have two options:

1) Configure your system to run clamd and using clamdscan in 
clamassassin.  (This will give you better performance too!)

2) If you want to remain using clamscan, edit the clamassassin script 
and search for the line reading:

CLAMSCANOPT="--no-summary --stdout --mbox"

Change this to:

CLAMSCANOPT="--no-summary --stdout"

    I will post a follow up when the updated version is available.  
Thanks to Paul Taylor and Michael Ossmann for sending in bug reports 
about this problem!

    Happy Chinese New Year (February 18, 2007) to everyone!

-- 
James Lick -- 黎建溥 -- jlick at jameslick.com -- http://jameslick.com/


More information about the clamassassin-announce mailing list