2 msgDuplicate messages with always_bcc
14 msg[OT] Saving outgoing email Gmail style
3 msg451 error
10 msgPostfix 2.5 release candidate (and 2.6 snapshot...
2 msgpostfix errors when sending smtp auth via yahoo
4 msgDocumentation enhancement: Adjusting DB file pe...
11 msgI don't want Postfix to confirm users via telnet
3 msgQuestion on Earthlink and dnsbl.sorbs.net
36 msgRe: Enforced Outbound TLS (part deux)
6 msgsmtpd_proxy_filter to unix: problem
4 msgAgain troubles with postfix and cyrus-sasl
3 msgExclude local host from smtpd_proxy_filter
4 msgtransport nexthop nexthop
3 msgTLS has been selected, but TLS support is not c...
2 msgWhich documentation to read for this..
4 msgExchange 2003 to Postfix maildir migration
7 msgvirtual_mailbox_base & LDAP
12 msgEnforced Outbound TLS
2 msgpostfix+maildrop error

Outgoing IP address
\ Noah Silverman (14 Jan 2008)
. \ Victor Duchovni (14 Jan 2008)
. \ Noel Jones (14 Jan 2008)
. . \ Noah Silverman (14 Jan 2008)
. . \ Noah Silverman (14 Jan 2008)
. . . \ Noel Jones (14 Jan 2008)
. . . \ mouss (14 Jan 2008)
. . . . \ Victor Duchovni (14 Jan 2008)
. . . . . \ Noah Silverman (14 Jan 2008)
. . . . . . \ Victor Duchovni (14 Jan 2008)

Subject:Re: Outgoing IP address - CONTINUED - IGNORE PREVIOUS
Group:Postfix-users
From:Victor Duchovni
Date:14 Jan 2008


 
On Mon, Jan 14, 2008 at 01:13:44PM -0800, Noah Silverman wrote:

> 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