1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Qmail sending the email to a wong server?

Discussion in 'Plesk 11.x for Linux' started by Mao, Oct 23, 2012.

  1. Mao

    Mao New Pleskian

    19
    35%
    Joined:
    Oct 12, 2009
    Messages:
    5
    Likes Received:
    0
    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 "me@testdomain-1.com", it is sent to an IP/server from Go Daddy:
    Anyone knows on what could be the reason? I've change my DNS server from /etc/resolv.conf file, but no luck.

    Thanks
     
  2. abdi

    abdi Platinum Pleskian

    31
    18%
    Joined:
    May 14, 2006
    Messages:
    2,913
    Likes Received:
    60
    Is this the same server hosting the PHP Script?
     
    Last edited: Oct 23, 2012
  3. Mao

    Mao New Pleskian

    19
    35%
    Joined:
    Oct 12, 2009
    Messages:
    5
    Likes Received:
    0
    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.
     
  4. abdi

    abdi Platinum Pleskian

    31
    18%
    Joined:
    May 14, 2006
    Messages:
    2,913
    Likes Received:
    60
Loading...