On Wed, Jun 02, 2004 at 04:14:42PM +0100, Bad Apple wrote:
> Hi Group,
> 
> May be this is off-topic post but still .
> I have a qmail-ldap + qmail-scanner setup working fine
> 
> I wish to setup a Antivirus MailGateway on a seperate
> box . This could be achived by qmail + qmail-scanner &
> forwarding / using qmqp to send mails to my Mailstore
> .
> 
> But is it possible by any means that I can do
> antivirus scanning on the MailGateway only for
> selected users .
> 
> That is for say 1000 users I scan the mails for Virus
> & for the rest of the user the mails are not scanned
> at all .
> 

Do it the other way around. Setup a cluster where your 1000 customers who
pay for antivirus are on one box and the rest on the other(s).
Don't list the antivirus box in you MX entries and use the QMAILQUEUE
environment to direct all cluster-forwarded mails through the scanner.
(echo /var/qmail/bin/qmail-scanner.pl > /var/qmail/boot/qmail-qmqpd/env/QMAILQUEUE)
Now you can define via the mailHost attribute if a user is scanned or not.

-- 
:wq Claudio

Reply via email to