Ken Jones <[EMAIL PROTECTED]> writes:

> Ken Jones [mailto:[EMAIL PROTECTED] wrote:
>>
>> On Saturday 31 January 2004 9:52 am, Andy BIERLAIR wrote:
>> > Hi,
>> >
>> > is it possible to use clamav as a pipe in .qmail-default and not with
>> > qmail-scanner.pl.
>> > I would like to use it that way, in order to enable/disable some domains
>> > from virus scanning.
>>
>> Sure, you can call it like this:
>> | spamc -f -u [EMAIL PROTECTED] | /home/vpopmail/bin/vdelivermail '' delete
>>
>> Ken Jones
>
> On Saturday 31 January 2004 11:36 am, Andy BIERLAIR wrote:
>> Hello,
>>
>> Thank you for your message.
>> This is spamassassin you were talking about. I need the same solution for
>> clamav, or can you handle clamav with spamc too?
>
> I am using qscanq with clamav. Works great.

There is no reason to scan the entire queue IMO, but if you put this as the
first line of a .qmail- file:

| /usr/bin/clamdscan -; [ $? != 1 ] || exit 99

it will drop messages that clamav doesn't like, only for the local delivery.

- Erik.

Reply via email to