2 msgRemote backup Postfix server
7 msgchose interface for outgoing mail
2 msgIllegal address syntax ... in MAIL command: <...
1 msgMail Infrastructure and Zertificon
1 msgsasl password
6 msgpostfix TLS (configuration/user) problem
7 msgVirtual Alias Domain
3 msgcopy of email
2 msgDNS Caching?
5 msgUsing mysql for mynetworks
5 msgBlocking e-mail from a domain, to a particular ...
5 msgprevent open relay
15 msgcannot get mail from outside to my smtp server
6 msgError connecting Postfix to LDAP
5 msgConfig ok for TLS/SASL/Client Cert via port 587?
7 msgmail flow architecture
3 msgvirtual forward + deliver
1 msgRe: RESOLVED: Using Canonical Maps as an Overri...
14 msgdual mail server

how to specify different outgoing IP
\ tom lee (12 Mar 2008)
. \ Patrick T. Tsang (12 Mar 2008)
. \ mouss (12 Mar 2008)

Subject:Re: how to specify different outgoing IP
Group:Postfix-users
From:mouss
Date:12 Mar 2008


 
tom lee wrote:
> Hello,
>
> For some users, they don't like our outgoing IP address.
> telnet mx.abcd.com 25 will have infinite time out, I assume they blocked our
> ougoing IP address. We don't have the problem to send to
> all other users.
>

the first thing is to check why. if you have an "anomaly" in your
settings (rdns, ...) you should fix it.
> I wonder if it is possible that we can specify a different IP address as
> outgoing mail address for those special user, but not other users?
> my machine has configured eth0 and eth0:0 with two IP address. both IP has
> reverse DNS settings.
> so it should not be difficult to get the second IP address.
>
>
> the document about smtp_bind_address mentions one way to do it is over
> master.cf file with the syntax.
>
> smtp ... smtp -o smtp_bind_address=11.22.33.44
>
> If the intended outgoing IP is 11.22.33.44, my client's IP address is
> 12.12.12.12 or the mail server is mx.abcd.com,
> wonder how can I make the change?
>
>

define another smtp transport:
smtp2 ... smtp -o ....

and use transport_maps:
theydontlikeus.example smtp2:



© 2004-2008 readlist.com