Sendmail problem (mail hosted elsewhere)
I have a web server set up for a domain (let's call it mydomain.com). Email for this domain is hosted elsewhere, and run by a 3rd party (who control the DNS and MX records for this domain). It all works just fine.
On the web server, I have a PHP script that uses mail() to send out email in specific situations. This all works just fine, except when the script is sending email to another @mydomain.com email address (i.e. email hosted externally, but carries same mydomin.com domain as used on the web server).
In this case, I get the email returned with a 5.1.1 error (no such email account).
Of course, the email address does exist, just not on the machine I'm sending from. It appears that Sendmail is only looking locally for the to address, instead of looking up the MX record remotely and attempting to send.
NOTE: This only happens when sending to an @mydomain.com. Email to other domains work just fine.
This appears to be a sendmail configuration error. Anybody have any suggestions (or the solution) for this problem?
The system is running Fedora Core 7. Sendmail version is sendmail-8.13.7.
Last edited by 60s TV Batman; 01-29-2008 at 09:06 AM.