| |||||||||||||||||||||||||||||||
|
> Thanks, > > Really good explanation! > > That really helps me understand how Postfix works. (Been using it for > years, but never really understood the whole thing.) > > So, to set outgoing mail on a specific interface, I should be able to > just have the following in master.cf???? > > smtp unix - - n - - smtp > -o smtp_bind_address=x.x.x.11 With the "-o" option suitably indented... > Now I'm wondering if I can get "fancy" with this. This machine hosts > two domains. Each resolves to one IP. It would be really nice if > Postfix sent e-mail out from the correct corresponding IP depending > on the domain name of the sender. > i.e. > Mail from bob comes from x.x.x.10 > Mail from bob @domain2.com comes from x.x.x.11 No. This does not work correctly, because the transport is a function of the recipient address. This is a non-problem. Don't solve it. If different customers need different MTA personalities use separate Postfix instances on the same or multiple machines. -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:majordomo?body=unsubscribe%20postfix-users> If my response solves your problem, the best way to thank me is to not send an "it worked, thanks" follow-up. If you must respond, please put "It worked, thanks" in the "Subject" so I can delete these quickly.
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com