troubleshooting Question

How do I Ignore local DNS and route email to internet

Avatar of Nacho_Man
Nacho_Man asked on
LinuxDNSLinux Distributions
8 Comments1 Solution498 ViewsLast Modified:
I have a dedicated server running Linux (CentOS)
I have two domains on the server example1.com and example2.com

example1.com has the website hosted on the server but it uses a different server for its email.  So the MX record for example1.com points to another commercial server (demon internet) who handle the email then forward it to the customers exchange server.

However the second domain example2.com needs to send emails to example1.com but these do not arrive.  After some head scratching I have come to the conclusion that the dedicated server is checking to see if example1.com is local , deciding it is because the website is hosted on the server, it is then trying to deliver the email to the dedicated server.  This fails becasue the dedicated server isn't storing the email for example1.com

Is there a way I can tell the dedicated server that when it has email for example1.com from example2.com to send the mail on to the internet where it will then pick up the correct MX record and forward it to demons mail and onto the customer.
Thanks
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 8 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros