Mike Brodbelt wrote:
> Michael Dankov wrote:
> 
>>Clamd+clamav-milter are quite unstable when clamd sessions are timed out.
>>More timeouts, more unstability. Current default behavior of clamav-milter
>>is to connect to clamd as soon as sendmail receives "mail from: <[EMAIL PROTECTED]>"
>>from mail client. Some mail clients (dial-upers, spammers, overloaded mail
>>hosts) may send a message for 2 hours and more... Having timeout of 180 sec
>>is definitely too low for clamav-milter default mail scanning.
>>
>>   You have two options: (1) increase this timeout to a big value. 7200 was
>>not enough for me: I still had 1-2 timouts per 24 hours. (2) use option
>>--quarantine-dir=/var/quarantine when starting clamav-milter. Then milter
>>will pre-save message into a temporary file in that directory, and pass it
>>to clamd only after it is really ready for scan. As a side effect :)
>>infected messages will be left in that dir for your review.
> 
> 
> I've put the quarantine-dir flag in now, so hopefully that'll cure it.
> Thanks for the advice.

Following myself up, using the --quarantine-dir flag hasn't cured the
problem, as it fell over again this afternoon.

I always get a few messages like this at the time:-

Dec 11 14:08:33 castor clamav-milter[12303]: ClamAv: private data not NULL
Dec 11 14:08:33 castor clamav-milter[12301]: ClamAv: private data not NULL

Any other suggestions gratefully received. Otherwise my next step will
be to look for a new milter module - I did have someone suggest
smtp-vilter to me. Does anyone else here use that, and how well does it
work.

Mike.



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to