Schwartz Consultores Associados / Suporte wrote:

René Bellora wrote:

clamscan and clamdscan have different options. If you have ScanMail option enabled, then:
clamdscan mailbox_file

is enough


Thanks for your reply, René. The reason behind this question is that "Open WebMail" uses the following default line to work with ClamAV (as stated at http://openwebmail.org/openwebmail/download/redhat/howto/virus/ClamAV/HOWTO-clamav.txt) :

/usr/bin/clamdscan --mbox --disable-summary --stdout -

Which is not working for me, of course. And that's what I would have solved.

Do you have any suggestions?

yes; reading 'man clamdscan', it turns out that clamdscan has not such options; so:
* --mbox is implied by clamd.conf
* --disable-summary seems to be --no-summary
* the rest (--stdout -) is fine

if it works, you could drop a line to the people of openwebmail
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to