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!

Email problems within VPS Domains

Discussion in 'E-mail Discussion' started by ipinchevskiy, Aug 22, 2014.

  1. ipinchevskiy

    ipinchevskiy Member

    Joined:
    Aug 22, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello All,

    I have a VPS with Cpanel installed and so far its been working great! I have 5 domains running on it, and so far the only issue I'm running into is sending & receiving emails between domains that are hosted on this VPS. I can send to and receive from any other domain except for the ones that are hosted on the same VPS. I'm not sure if its a setting in Cpanel or misconfiguration.

    Here is the error:
    Code:
    This message was created automatically by mail delivery software.
    
    A message that you sent could not be delivered to one or more of its
    recipients. This is a permanent error. The following address(es) failed:
    
    user@domain.com (I removed the real email address)
    No Such User Here
    
    ------ This is a copy of the message, including all the headers. ------
    
    Return-path: <user@domain.com (I removed the real email address)>
    Received: from localhost ([::1]:60234 helo=(IP ADDRESS HERE))
    by (IP ADDRESS HERE).ip.secureserver.net with esmtpa (Exim 4.82)
    (envelope-from <user@domain.com (I removed the real email address)>)
    id 1XKgMc-0001Z4-7Y
    for user@domain.com (I removed the real email address); Thu, 21 Aug 2014 21:22:10 -0700
    MIME-Version: 1.0
    Content-Type: text/plain; charset=US-ASCII;
    format=flowed
    Content-Transfer-Encoding: 7bit
    Date: Thu, 21 Aug 2014 21:22:10 -0700
    From: user@domain.com (I removed the real email address)
    To: user@domain.com (I removed the real email address)
    Subject: test
    Message-ID: <35c60c57872bee962a45d2cfdcd81462@domain.com (I removed the real email address)>
    X-Sender: user@domain.com (I removed the real email address)
    User-Agent: Roundcube Webmail/1.0.1
    test

    Any help and advice is greatly appreciated!
     
  2. kernow

    kernow Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    920
    Likes Received:
    13
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Check localdomains to make sure the domains on the server are listed there:
    Code:
    cat /etc/localdomains
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,884
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Yes, check to make sure the domain names exist in /etc/localdomains and that you have created the email accounts you are sending to/from.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. ipinchevskiy

    ipinchevskiy Member

    Joined:
    Aug 22, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    Thank you for the suggestions.

    I connected to the VPS via SSH and copied the command that you gave, however I got an error message:

    cat: /etc/localdomains: Permission denied

    I have my VPS with GoDaddy and they don't allow to login as a root, I can only login with the username that I created for the server.

    Or do I need to check the /etc/localdomains/ through Cpanel/WHM?

    Please advice.

    Thank you!

    - - - Updated - - -

    I also found this article: http://forums.cpanel.net/f43/etc-localdomains-101017.html

    I don't have those options in my cpanel, its a bit outdated so maybe the newer versions of cpanel don't have those options anymore
     
  5. ipinchevskiy

    ipinchevskiy Member

    Joined:
    Aug 22, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I think I solved it.
    For each domain under EDIT MX ENTRY, I selected whether this is a LOCAL or REMOTE MAIL EXCHENGER (as I use some that are local and some remote) and now I'm able to send and receive between domains that are hosted on VPS and all others.

    Thank you!
     
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,884
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    I am happy to see you were able to resolve the issue. Thank you for updating us with the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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