Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Hosting subdomain only: how to send mail to main domain??

Discussion in 'E-mail Discussion' started by dhecker, Jul 23, 2006.

  1. dhecker

    dhecker Well-Known Member

    Dec 3, 2003
    Likes Received:
    Trophy Points:
    Hello -

    I am hosting a sudomain for a client, while the main domain is hosting with Yahoo! business hosting. They are using a 3rd party anti-spam mail system so their mx records point to a totally different server.

    I set up the domain on my server, then the subdomain. Then I edited the MX record so that it points to the same mail server as the dns settings on Yahoo! hosting.

    The problem is: when my users use my server to send email to their accounts, it returns a message:
    "The following recipient(s) could not be reached:
          '[email protected]***.com' on 7/23/2006 10:37 AM
                503 valid RCPT command must precede DATA"
    I understand that my server probably doesn't realize that it needs to communicate with the real mail server. But this message really surprised me! Is it saying expecting pop-before-smtp or something? I can't imagine why my local server would give this msg, so I'm gussing that maybe it is reaching the actual server.

    Very confusing! Any advice appreciated !!! :)
  2. sfxx

    sfxx Member

    May 31, 2003
    Likes Received:
    Trophy Points:
    I don't know what this 503 error actually means, but if you need to use external mailserver,

    remove the domain from /etc/localdomains


    add it to /etc/remotedomains (if it doesn't exist, create a new one).

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice