Re: [vchkpw] clamav in .qmail-default

2004-02-02 Thread Raboo Treed
you could pipe it to scanmail.sh

http://www.qmail.nu/files/scanmail.sh.gz

(sorry andy if you got this message twice)
On 2004-01-31 16:52, 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.
Thanks,

Andy BIERLAIR
root eSolutions sàrl
 





Re: [vchkpw] clamav in .qmail-default

2004-01-31 Thread Erik Bourget
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.



Re: [vchkpw] clamav in .qmail-default

2004-01-31 Thread 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.

Ken

>
> -Original Message-
> From: Ken Jones [mailto:[EMAIL PROTECTED]
> Sent: Saturday, January 31, 2004 18:26
> To: [EMAIL PROTECTED]
> Subject: Re: [vchkpw] clamav in .qmail-default
>
> 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



RE: [vchkpw] clamav in .qmail-default

2004-01-31 Thread Andy BIERLAIR
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?


Andy BIERLAIR

-Original Message-
From: Ken Jones [mailto:[EMAIL PROTECTED] 
Sent: Saturday, January 31, 2004 18:26
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] clamav in .qmail-default

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



smime.p7s
Description: S/MIME cryptographic signature


Re: [vchkpw] clamav in .qmail-default

2004-01-31 Thread Ken Jones
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