I'm sorry if that's not a very descriptive title, let me try to explain in more detail and perhaps someone can help me figure out what the problem is and of course, resolve the issue!
We have an OpenSuse server which can happily send out emails using /usr/bin/mail to external addresses - for example @hotmail.com or @gmail.com. The problem comes when we try to send to our own domain (for this thread, I will call it @home.com).
The computers / network is configured like so:-
DNS Server 192.168.1.1
Suse box 192.168.1.5
Exchange server 192.168.1.10
We thought that because mails were going "out" OK that we needed to edit the /etc/hosts on the Suse box to include:
By performing a PING/Traceroute/Telnet onto mail.home.com, we get replies from 192.168.1.10 as expected.
Now, I'm not a mail expert by any long shot but I wonder if someone's come across this before and can help us find a solution to why /usr/sbin/mail refuses to send to email@example.com
(which is a valid address as I am getting emails OK from everyone else!)
Thanks for reading, hope someone can help us find a solution!!