Before you start coding, check out couriertcpd from the Courier package. It's based on tcpserver, but may be what you're after. It allows you to tell the couriertcpd process what IP addresses to bind to. So you can have two instances running on the same host - one setting QMAILQUEUE and one not.
couriertcpd -access=/etc/tcp/qs-access.db -pid=/var/run/smtp1.pid 1.2.3.4.25 couriertcpd -access=/etc/tcp/null-access.db -pid=/var/run/smtp2.pid 1.2.3.5.25 Let me know if that's what you're after - it'd be worth documenting. Also, under Qmail-Scanner v2, it will be able to change it's configuration based on the IP address of the server - so you could set all domains to be SpamAssassin'ed [oh look! I've created a new word! ;-)], and only some domains to be virus scanned/etc. The two in combination may cover almost every possible want [yeah, right] Don't ask when it's due. I'm rewriting the locale support - it had turned into a pig :-) -- Cheers Jason Haar Information Security Manager, Trimble Navigation Ltd. Phone: +64 3 9635 377 Fax: +64 3 9635 417 PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1 _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
