2 messages in net.sourceforge.lists.courier-maildrop[maildropl] maildrop, xfilter and cla...
FromSent OnAttachments
Charles SprickmanSep 2, 2004 1:03 pm 
Charles SprickmanSep 9, 2004 12:32 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] maildrop, xfilter and clamd-stream-clientActions...
From:Charles Sprickman (spo@bway.net)
Date:Sep 2, 2004 1:03:14 pm
List:net.sourceforge.lists.courier-maildrop

Hi,

I'm trying to do some clamav scanning over the network, and I found this nice program that can handle that:

ftp://victor.teaser.fr/pub/lwa/clamd-stream-client

In many ways it is similar to spamc; it takes a message on STDIN and can be directed to a remote clamav scanner. However, it does not pass the message back to STDOUT; instead it is silent if there's no virus and echos the virus name if on is found. Exit code is 0 if the message is clean.

Since it doesn't pass the message back out, xfilter doesn't work.

I want to avoid executing any additional scripts (perl, sh or other) since this is a fairly busy mail server.

Any ideas how to get the message to this program then make a decision based on the exit code in maildrop?

Thanks,

Charles