Cannot send from behind NAT with private IP
-
Hello,
Post SMTP is installed on a backend server with only private IP, which connects to a gateway that is a Firewall, which holds the public IP that sends the email, using 1:1 NAT with the above server.
My problem is that the relay server is configured to accept outbound emails only from the public NAT IP of the FW (and cannot be set to accept from private IPs), but the plugin sends the email using the private IP, hence being rejected from sending by the relay server.
It sends:
“
250-Server-FQDN Hello Sending-Domain-Name [the-numeric-private-ip]
“Is there a way to control the IP used by the Hello command? either set it manually or let the plugin check what is the actual public IP and then use it?
- The topic ‘Cannot send from behind NAT with private IP’ is closed to new replies.