Can you elaborate how different smtpd can have different transport
settings?  I won't want to create my own SMTPD process.

The following won't work, because the "transport" cannot distinguish IP
address. I tried this but does not work. I wonder if only smtp process
can vary based on different IP.

Seen in master.cf:


1.2.3.4:smtp      inet  n       -       n       -       -       smtpd

1.3.5.7:smtp      inet  n       -       n       -       -       smtpd
  
......

#
# I want to route messages to different endpoints based on which IP it
is from.
#

1.2.3.4:connector     unix  -       n       n       -       -       pipe
   flags=D user=yan argv=python /usr/local/bin/test2.py
1.3.5.7:connector     unix  -       n       n       -       -       pipe
   flags=D user=yan argv=python /usr/local/bin/test1.py











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.



Reply via email to