Exim rejecting mail from other domain other than hostname

nistor.andrei

Member
Jun 5, 2014
17
0
1
Iasi
cPanel Access Level
Root Administrator
I looked over the logs and made some tests and it appears that the mail server is rejecting every mail to other domain other than hostname and I get the following error:

2014-06-09 08:10:37 H=mail-qg0-f44.google.com [209.85.192.44]:56894 F=<*@gmail.com> temporarily rejected RCPT <*@*>: remote host address is the local host

I checked /etc/localdomains and /etc/remotedomains and they are both ok.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,229
463
Hello :)

To clarify, were the domain names with email handled by the cPanel server in the /etc/localdomains file? Also, are the MX records for your domain names properly configured to point to the cPanel server?

Thank you.
 

nistor.andrei

Member
Jun 5, 2014
17
0
1
Iasi
cPanel Access Level
Root Administrator
Hello,

I was using the cpanel user email, did not create a new e-mail address.
After I talked with my provider I found why it was not working.
Why is the cpanel user listed in the email accounts if it can't be used?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,229
463
The default address is designed to catch unrouted email by default. It's advised to create email accounts for addresses that you want to send email from to ensure remote mail servers accept the messages.

Thank you.