Email problems within VPS Domains
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:
test Any help and advice is greatly appreciated!
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:
Received: from localhost ([::1]:60234 helo=(IP ADDRESS HERE))
by (IP ADDRESS HERE).ip.secureserver.net with esmtpa (Exim 4.82)
(envelope-from )
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.1test Any help and advice is greatly appreciated!
-
Check localdomains to make sure the domains on the server are listed there: cat /etc/localdomains0 -
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. 0 -
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! [COLOR="silver">- - - 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 0 -
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! 0 -
I am happy to see you were able to resolve the issue. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
5 comments