PDA

View Full Version : qmail-scanner and multiple domains


andresuy
06-15-2006, 02:01 PM
Hi,

Is it possible to select with qmail-scanner the domain to scan?

I have three domains in the same server, but I need to scan messages delivered only to one of the domains.

Thanks for your help,

Andrés

andresuy
06-15-2006, 02:23 PM
I read the faq of qmail-scaner......... another solution?

How do I make Qmail-Scanner only scan mail for some local domains?. 2 words: "MX records" :-) Put two IP addresses on your mail server, change the MX records for those domains you want scanned go to one IP address, and the rest to the other. Then you simply have an instance of qmail-smtpd running on each address - one with QMAILQUEUE defined and one without. This is *majorly* better than coding Qmail-Scanner to ignore certain addresses - this way Qmail-Scanner isn't called at all for the domains you don't want to protect.