Marcin Hlybin:
> Hello,
> 
> I am trying to add the second IP address to the same Postfix
> instance. I would like to separate mail traffic not creating many
> postfix instances.

The problem that you describe is exactly what multiple instances
are supposed to solve. 

You can kludge this up with "smtpd -o content_filter=smtplist:",
but that is just a kludge, and it requires Postfix 2.7 or later.

        Wietse

> In master.cf I have:
> 
> 1.2.3.4:smtp inet n - - - - smtpd -o myhostname=mail1.domain.com 
> 1.2.3.5:smtp inet n - - - - smtpd -o myhostname=mail2.domain.com 
> 
> smtp unix - - - - - smtp -o smtp_bind_address=1.2.3.4
> smtplist unix - - - - - smtp -o smtp_bind_address=1.2.3.5
> 
> Now, I can't set up a transport map because I don't want to specify origin 
> domains.
> My postfix works as a mail server for web applications.
> 
> Every mail that goes to 1.2.3.4 (mali1.domain.com) should go out with smtp 
> transport and every mail that goes to 1.2.3.5 (mail2.domain.com) should go 
> out with smtplist transport.
> 
> That is, every mail going to specific IP should go out with the same IP.
> How can I do that?
> 
> 
> 
> 
> 
> -- 
> Marcin Hlybin
> http://twitter.com/marcinhlybin
> 
> 
> 

Reply via email to