Christopher X. Candreva wrote:

On Fri, 24 Oct 2003, Marc Cuypers wrote:


How can I do that?  Would it be enough to pipe the mail-message to
clamscan in the following way:


I don't think so. I posted this a week or so ago, working fine for me:


VIRUS=`/usr/local/bin/clamdscan --mbox --disable-summary --stdout -`


:0 D
* VIRUS ?? FOUND
Virus

Hi,

I put the following in my procmailrc.

VIRUS=`/usr/local/bin/clamdscan --mbox --disable-summary --stdout -`

:0 D
* $VIRUS ?? FOUND
/home/disk1/vpopmail/domains/publivandyck.be/marc.cuypers/Maildir/.virus/

but it doesn't seem to detect viri.

When I manually run
/usr/local/bin/clamdscan --mbox --disable-summary --stdout - < inputfile
it sometimes gives me output that a virus file in found, sometimes nothing, sometimes stream is OK on stdout (all with the same file).
In /var/log/clamd.log it always tells me that a virus is found, but not on stdout.


Somebody who knows the reason for this?

Marc



-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to