|Main Archive Page > Month Archives > postfix-users archives|
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
I noticed the following two "smtp" entry in master.cf. What do they
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?
220.127.116.11:smtp inet n - n - - smtpd
(which deliver messages in local maildir)
18.104.22.168:smtp inet n - n - -
smtpcustomized (which uses my customized transport)
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 (postmaster@MedPlus.com). After replying, please erase it from your computer system.