[Mimedefang] Problem running virus scanner:

Philip Goisman goisman at physics.arizona.edu
Mon Jan 28 16:59:10 EST 2008


The latest mimedefang update (2.64-1 for el4) caused the following
errors in the maillog:

mimedefang.pl Could not connect to clamd daemon at /var/spool/MIMEDefang/clamd.sock
mimedefang.pl Problem running virus scanner: code=999, category=cannot-execute, action=tempfail

This never occurred in the previous version (2.63-1 for el4).
It apparently found /tmp/clamd.socket in the default location specified in
/etc/clamd.conf.

Nevertheless, I entered the following line:

$ClamdSock  = "/tmp/clamd.socket";

in mimedefang-filter right above the lines for CLAMAV and CLAMD as follows:

$Features{'Virus:CLAMAV'}="/usr/bin/clamscan";
$Features{'Virus::CLAMD'}="/usr/sbin/clamd";

After this change, the errors are now as follow:

mimedefang.pl Clamd returned error: lstat() failed.
mimedefang.pl Problem running virus scanner: code=999, category=swerr, action=tempfail

Any way to overcome this, or should I reinstall mimedefang-2.63-1.el4.rf?

Philip



More information about the MIMEDefang mailing list