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

Wrong IP-Address shown for SMTP-Proxy

Hello,

I've got a little problem with my SMTP-Proxy.

Iv'e got 2 offical IPs on my Internet NIC (IP1 and IP2). IP1 is the primary address and used for all not defined action like http... IP2 is the mailserver address.

If our Mailserver is sending mails out by SMTP it will pass the transparent smtp proxy. I did define in "Skip source/destination networks" the the IP2. So the IP2 (right IP) will be shown to receiving smtp hosts. This all works fine.

But if i try to send a mail using the smtp proxy and connecting from outside (smtp user auth is on) the mail will be accepted and send out by this smtp proxy. But in this case IP1 will be shown to receiving smtp hosts.

How can I change this? if the smtp-proxy will deliver mail to outside, always the IP2 should be shown.

Thanks...

Paul


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

    could it be, that you define your extern gateway on your first eth? The SMTP-proxy will use the ethernet-port with the defined gateway to send mails.

    When you want to send mails over your second ethernet port, you must work wir a SNAT-rule and Policy Based Routing.

    You can find docs about at http://www.astaro.com/kb.
Reply
  • Hello Paul,

    could it be, that you define your extern gateway on your first eth? The SMTP-proxy will use the ethernet-port with the defined gateway to send mails.

    When you want to send mails over your second ethernet port, you must work wir a SNAT-rule and Policy Based Routing.

    You can find docs about at http://www.astaro.com/kb.
Children
No Data