You really have two options for this. Because of qmail-scanner's location in the chain of all things qmail, it doesn't distinguish between incoming and outgoing, and there's good reason for this. Mail sent to qmail-smtpd and sub-sequentially to qmail-scanner can have both local and remote targets, so at this level there is no such thing as outgoing mail. You do have the option of not scanning mail received from your RELAY mail zones, but this is a bad idea because it would allow one customer of your server to send to another unfiltered. The ideal solution is to run two copies of qmail on different IPs. Set the MX record of your domain to copy A with qmail-scanner and leave smtp.domain.com or whatever your "outgoing" mail server is without qmail-scanner. This dualistic qmail has drastically positive performance implications as well. Your outgoing mail server will no longer be burdened with sending the thousands of "user not found" messages to unanswering spammers.
That said, I would consider outgoing messages just as important to scan for viruses, unless you're serving an entirely UNIX network, or have a situation where you're mass mailing. Thank you, Cody [EMAIL PROTECTED] ----- Original Message ----- From: "Vpopmail Mailinglist" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 11, 2004 10:03 AM Subject: [Qmail-scanner-general]only outgoing mail (smtp) trogh qmailscanner > Hi guys, > > anyone know how i can set qmailscanner so that it only test outgoing > mail ( smtp) = > Or that incoming mail not put to qmailscanner ? > > BYe > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Qmail-scanner-general mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general > ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general