Zhou, Yan:
> Hi there, 
> 
> How can I have one single Postfix instance routing messages differently,
> depends on which IP address they are arriving at SMTP. 
> 
> If an outside connection arrives, Postfix will deliver message to my
> customized transport, which calls a script and passes the message.
> If an internal connection arrives, Postfix will deliver message to a
> local user's maildir directory.
> 
> I know we can configure Postfix to use different content filters based
> on different IP, but this is a little different in that I wish to route
> message differently.

This is simple when you use Postfix 2.6 or later, and configure two
Postfix instances, each listening on their own IP address, and each
having their own myhostname setting.

http://www.postfix.org/MULTI_INSTANCE_README.html

        Wietse

Reply via email to