This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SMTP Proxy and NAT

I have 2 IP addresses on my network. The first (call it IP 1) is used for masquerading while the second is for my mail server.

I have three NAT rules:
internal lan > masquerade on public IP 1
smtp traffic from internal mail server > send as public IP 2
smtp traffic to public IP 2 > send to internal mail server

I'm using ASL's SMTP proxy and it is always sending mail as coming from public IP 1 even though it should send as public IP 2. Funny thing is the host name configured in the smtp proxy is resolving to the masquerading IP even though DNS says it is IP 2.

This is causing a lot of problems as most domains think mail from my domain is spoofed. How do i get the SMTP proxy to send mail as public IP 2, something in NAT rules, network definations, some one help...

Thanks in advance  [:)]


This thread was automatically locked due to age.
Parents
  • Supi,

    since you use the SMTP relay the source address for sent messages is not the internal mail server but the primary IP address of your external interface. Please add a SNAT rule FROM: external IP SERVICE: SMTP TO: ANY CHANGE SRC: alias IP
Reply
  • Supi,

    since you use the SMTP relay the source address for sent messages is not the internal mail server but the primary IP address of your external interface. Please add a SNAT rule FROM: external IP SERVICE: SMTP TO: ANY CHANGE SRC: alias IP
Children