We have a Redhat Linux Enterprise version 5.0 webserver hostname zzz at www.xxx123.com
. We also have an email server mail1.xxx123.com located at a different location. We are running a PHP application which uses sendmail to send out email from a feedback page. Some email servers check the message header which states email@example.com. The foreign mail servers find that zzz.xxx123.com is not a vaild DNS name.
For reasons which I cannot explain here I cannot create a DNS entry for zzz.xxx123.com.
I would like the webserver to send out emails using the mail server mail1.xxx123.com so that message headers only bear the name mail1.xxx123.com
All help apreciated