Zhou, Yan: > Hi there, > > This is I wish to accomplish with one single instance of Postfix that > has two different IPs. Having traffic coming to one IP be processed > differently than the other, and use LDAP to validate domain & > recipients.
I recommend that you don't waste time, and set up two separate Postfix instances. See http://www.postfix.org/MULTI_INSTANCE_README.html. What you want is possible with content_filter, but only when all domains are listed in relay_domains and all recipients in relay_recipient_maps. This means no Postfix email delivery to local mailboxes. It just is not worth the trouble unless you are running everything on a 80386 CPU with 4GB of memory. Wietse