On 2/8/2012 9:24 PM, Joe Wong wrote:
> Hello Noel,
>
> The IP I mentioned was not the remote IP, but the IP address in the
> oubound MTA machine.
>
> - Joe
[please don't top post]
Indeed. Use sender_dependent_default_transport_maps to select a
transport defined in
master.cf that is bound to a specific IP with
"... -o smtp_bind_address=0.1.2.3"
a brief example (you can find other examples in the archives):
#
master.cf
#(these are copies of the smtp...smtp default transport)
out_joe unix - - n - - smtp
-o smtp_bind_address=192.0.1.10
out_bob unix - - n - - smtp
-o smtp_bind_address=192.0.1.20
#
main.cf
sender_dependent_default_transport_maps =
hash:/etc/postfix/sender_transport
# sender_transport
@
joe.example.com out_joe:
@
bob.example.com out_bob:
-- Noel Jones