On 2009-03-20 17:48, TAN BUI wrote:
> We recently use ClamAV on our mail servers (Linux Slamd64 12.0.0).
> Even though clamd seems to be catching viruses, we are getting a lot of 
> "Input/Output" errors on all our mail servers:
>
> Mar 20 11:09:33 dillinger sm-mta[23292]: n2KF9Ahj023292: 
> from=<[email protected]>, size=1093213, class=0, nrcpts=1, 
> msgid=<messageID>, proto=ESMTP, daemon=MTA, relay=relayserver
> Mar 20 11:09:33 dillinger mimedefang.pl[19707]: n2KF9Ahj023292: Clamd 
> returned error: Input/Output error
> Mar 20 11:09:33 dillinger mimedefang.pl[19707]: n2KF9Ahj023292: clamd 
> error: code=999, category=swerr, action=tempfail
> Mar 20 11:09:33 dillinger mimedefang.pl[19707]: filter: n2KF9Ahj023292: 
> tempfail=1
> Mar 20 11:09:33 dillinger mimedefang[18284]: n2KF9Ahj023292: Tempfailing 
> because filter instructed us to
> Mar 20 11:09:33 dillinger sm-mta[23292]: n2KF9Ahj023292: Milter: data, 
> reject=451 4.3.0 error: problem running ClamAV virus scanner
> Mar 20 11:09:33 dillinger sm-mta[23292]: n2KF9Ahj023292: 
> to=<[email protected]>, delay=00:00:02, pri=1123213, stat=error: problem 
> running ClamAV virus scanner
>
> (I have redacted the value of "from", "to", "msgid" and "relay")
>   

Can you save some of those messages causing Input/Output errors, and
feed them
to clamscan --debug to see exactly why it fails?

You can also try 0.95rc2, which has more fine grained I/O error messages,
instead of CL_EIO there is now:
CL_EOPEN, CL_ECREAT, CL_EUNLINK, CL_ESTAT, CL_EREAD, CL_ESEEK, CL_EWRITE,
CL_EDUP, CL_EACCESS, CL_ETMPFILE, CL_ETMPDIR, CL_EMAP.


Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to