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. I noticed the following two "smtp" entry in master.cf. What do they mean? smtp inet n - n - - smtpd smtp unix - - n - - smtp If I want to accomplish what I wanted, would my master.cf look like the following, i.e., I have to create my own smtpd deamon process? 1.2.3.4:smtp inet n - n - - smtpd (which deliver messages in local maildir) 1.3.5.7:smtp inet n - n - - smtpcustomized (which uses my customized transport) Thanks, Yan Confidentiality Notice: The information contained in this electronic transmission is confidential and may be legally privileged. It is intended only for the addressee(s) named above. If you are not an intended recipient, be aware that any disclosure, copying, distribution or use of the information contained in this transmission is prohibited and may be unlawful. If you have received this transmission in error, please notify us by telephone (513) 229-5500 or by email (postmas...@medplus.com). After replying, please erase it from your computer system.