On 12/15/2012 08:48 PM, Wietse Venema wrote:
Ram:
Hi
I have a slightly OT question
If I have to use a single IP for a sender domain to the internet, but
yet the mails may get sent from different servers
What is the best way for doing it
The requirement is because the volumes are too large for a single
machine to handle but the client still wants to send the mails using a
dedicated IP
You want to share one dedicated external source IP address among
multiple Postfix SMTP clients. If there were only one dedicated
external source IP address, then a NAT router would suffice.
Otherwise, multiple Postfix SMTP clients have to send their mail
through an intermediate server that "owns" the dedicated external
source IP address.
1) Use one proxy server or SMTP server per dedicated external source
IP address (multiple servers may run on the same OS instance), and
configure your Postfix SMTP clients with sender_dependent_relayhost_maps.
2) Use a SOCKS server for one or more dedicated external source IP
addresses. This would require an extension of the SOCKS protocol
such that the Postfix SMTP client can specify both the local and
the remote IP address for a connection.
Option 2 seems perfect
Please is there a SMTP over socks example somewhere I can use ? I am not
able to find any