• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Qmail sending the email to a wong server?

Mao

New Pleskian
Hi,

I have the following setup/environment.
- Plesk 11.
- Qmail as the MTA
- testdomain-1.com is hosted on the server
- NS of testdomain-1.com is from Go Daddy
- MX Records of testdomain-1.com are pointed to Google Apps.
- Mail Service for testdomain-1.com is turned-off (uncheck) from Plesk.

From the server, when I do "dig mx testdomain-1.com" or "host -t mx testdomain-1.com", it returns with the correct MX Records. The 5 MX Records from Google Apps.

However when a PHP script (form) sends an email to "[email protected]", it is sent to an IP/server from Go Daddy:
Oct 23 11:09:57 server qmail: 1351004997.917151 delivery 6: success: 208.109.80.210_accepted_message./Remote_host_said:_250_2.0.0_EfA01k03L0DuoE801_mail_accepted_for_delivery/
Oct 23 11:09:57 server qmail: 1351004997.917200 status: local 0/10 remote 0/20
Oct 23 11:09:57 server qmail: 1351004997.917226 end msg 76349449

Anyone knows on what could be the reason? I've change my DNS server from /etc/resolv.conf file, but no luck.

Thanks
 
The IP/server from Go Daddy is for their shared hosting. The Dedicated Server that's hosting the script is also from Go Daddy, though it's not used for email hosting. Email service for the domain is with Google Apps.

When I do "dig @go-daddy's_NS testdomain-1.com mx" it returns with the correct records - the Google Apps MXes.

I just don't know why the emails are going to Go Daddy's server.
 
Back
Top