[SOLVED] Outgoing mail going out on MX Record's IP, rather than Cluster IP
[SOLVED] Outgoing mail going out on MX Record's IP, rather than Cluster IP
Hello all,
I have a Hyper-v virtualized Zimbra installation. I have an IP pool from ISP. My Zimbra's external IP is xxx.xxx.xxx.203 with port forwarding/NAT to internal IP (192.168.0.53). My global Hyper-V external IP is xxx.xxx.xxx.205. The Zimbra is working fine, the mails are sending and receiving, but I recognized, that the mail headers is containing the xxx.xxx.xxx.205 IP (Hyper-V networks IP), as sender IP. My mails are going there rather than the dedicated public IP. How can I make that the mail sending is going over to the IP xxx.xxx.xxx.203 ( this is the MX record, mail.mydomain.com)
My ISP told me they are made the NAT for this, but nothing changed. What can I set in the Zimbra server to make its working? The best solution would be that the zimbra is assing to its own external IP, but if only the mail sending is going over there is also good.
I made a pic what I have to make.
Thanking in advance!
Csabi
I have a Hyper-v virtualized Zimbra installation. I have an IP pool from ISP. My Zimbra's external IP is xxx.xxx.xxx.203 with port forwarding/NAT to internal IP (192.168.0.53). My global Hyper-V external IP is xxx.xxx.xxx.205. The Zimbra is working fine, the mails are sending and receiving, but I recognized, that the mail headers is containing the xxx.xxx.xxx.205 IP (Hyper-V networks IP), as sender IP. My mails are going there rather than the dedicated public IP. How can I make that the mail sending is going over to the IP xxx.xxx.xxx.203 ( this is the MX record, mail.mydomain.com)
My ISP told me they are made the NAT for this, but nothing changed. What can I set in the Zimbra server to make its working? The best solution would be that the zimbra is assing to its own external IP, but if only the mail sending is going over there is also good.
I made a pic what I have to make.
Thanking in advance!
Csabi
Re: Outgoing mail going out on MX Record's IP, rather than Cluster IP
Nobody can help me?
Tapatalkkal küldve az én SM-G930F eszközömről
Tapatalkkal küldve az én SM-G930F eszközömről
- tonster
- Zimbra Employee
- Posts: 313
- Joined: Fri Feb 21, 2014 10:14 am
- Location: Ypsilanti, MI
- ZCS/ZD Version: Release 8.7.0_GA_1659.RHEL6_64_2016
Re: Outgoing mail going out on MX Record's IP, rather than Cluster IP
You need to set zimbraMtaLmtpHostLookup to native.
Sent from my SM-G925T using Tapatalk
Code: Select all
zmprov mcf zimbraMtaLmtpHostLookup native
Sent from my SM-G925T using Tapatalk
Re: RE: Re: Outgoing mail going out on MX Record's IP, rather than Cluster IP
Dear tonster,tonster wrote:You need to set zimbraMtaLmtpHostLookup to native.
Code: Select all
zmprov mcf zimbraMtaLmtpHostLookup native
Sent from my SM-G925T using Tapatalk
Thank you for your answer. I made it, but nothing changed.
Any other idea maybe?
Thanks,
Csabi
Tapatalkkal küldve az én SM-G930F eszközömről
- jorgedlcruz
- Zimbra Alumni
- Posts: 2782
- Joined: Thu May 22, 2014 4:47 pm
Re: Outgoing mail going out on MX Record's IP, rather than Cluster IP
Hi vargacs,
Have you restarted the MTA service right?
Best regards
Have you restarted the MTA service right?
Best regards
Re: Outgoing mail going out on MX Record's IP, rather than Cluster IP
Yes I did the:jorgedlcruz wrote:Hi vargacs,
Have you restarted the MTA service right?
Best regards
Code: Select all
zmcontrol stop
zmcontrol start
- jorgedlcruz
- Zimbra Alumni
- Posts: 2782
- Joined: Thu May 22, 2014 4:47 pm
Re: Outgoing mail going out on MX Record's IP, rather than Cluster IP
What is your Gateway? It is a router, or the same Firewall?
From Zimbra server if you do a
What is the result? Does the zimbra traffic goes to the correct GW or goes to the Hyper-V?
Best regards
From Zimbra server if you do a
Code: Select all
tracepath 8.8.8.8
Best regards
Re: Outgoing mail going out on MX Record's IP, rather than Cluster IP
The Gateway is the same Firewall, not a router.jorgedlcruz wrote:What is your Gateway? It is a router, or the same Firewall?
From Zimbra server if you do aWhat is the result? Does the zimbra traffic goes to the correct GW or goes to the Hyper-V?Code: Select all
tracepath 8.8.8.8
Best regards
The tracepath is showing only our gateway, and nothing else.
Best regards
Re: Outgoing mail going out on MX Record's IP, rather than Cluster IP
My problem is Solved!! I talked with my support who is handling my firewall, and they broke something in the NAT rules. Thank you for your help!!
Only one question: In the mail header I can see the Zimbra's local IP (192.168.0.53) also. How can I hide it? Can I do it?
Only one question: In the mail header I can see the Zimbra's local IP (192.168.0.53) also. How can I hide it? Can I do it?
- jorgedlcruz
- Zimbra Alumni
- Posts: 2782
- Joined: Thu May 22, 2014 4:47 pm
Re: [SOLVED] Outgoing mail going out on MX Record's IP, rather than Cluster IP
Hi vargacs,
I will mark this thread as solved, please search for the other question on the forum, or if not, create a new thread
Best regards
I will mark this thread as solved, please search for the other question on the forum, or if not, create a new thread
Best regards