I currently have a linux webserver (18.104.22.168 = www.mywebsite.com
) and I have a windows exchange server (22.214.171.124 = mail.mywebsite.com).
Becuase of the configuration of my watchguard firebox 1000 firewall appliance, I have to create an entry on the linux webserver that will tell it to send email to the windows exchange server.
Here's what I have created in my /etc/hosts file:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 www localhost.localdomain localhost
192.168.16.3 mail mail.mywebsite.com
Well, even after I restart the linux webserver, I will go to the website's contact form (I use sendmail) and fill out the contact us form and send it. If the email address I use is: email@example.com, the email never goes through. If the email address I use is from any other domain, the email does get sent!
Any ideas on what I can do to route 'internal' email correctly??