How to redirect mail from a domain on lan to GMAIL MX?

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
User avatar
myriad
Advanced member
Advanced member
Posts: 78
Joined: Fri Sep 12, 2014 11:51 pm
ZCS/ZD Version: Zimbra 8.7.0_GA_1659.FOSS

How to redirect mail from a domain on lan to GMAIL MX?

Postby myriad » Sat Aug 29, 2020 7:05 pm

Hey all:

This one kind of has me stumped. I recently re-located some web servers in-house from Linode and inadvertently created a conundrum on Zimbra in regards to delivering mail to one of those domains (which uses Gmail). When Zimbra does a lookup it sees the lan address of xyz.com and tries to deliver the mail, which of course gets deferred as the domain is served by Gmail. How do I tell Zimbra to deliver to that domain using Gmail's mx addresses? I changed the host file and the server pings xyz.com correctly with its external address but still tries to deliver to the local lan?! Can I set DNSmasq somehow? Any advice gratefully received.

Rick


User avatar
myriad
Advanced member
Advanced member
Posts: 78
Joined: Fri Sep 12, 2014 11:51 pm
ZCS/ZD Version: Zimbra 8.7.0_GA_1659.FOSS

Re: How to redirect mail from a domain on lan to GMAIL MX?

Postby myriad » Sun Aug 30, 2020 10:53 am

Figured it out. Just had to add 'server=/xyz.com/8.8.8.8' to dnsmasq.conf and 'service dnsmasq restart'.

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 18 guests