Exim error while sending email to a specific e-mail address...

palav0s

Well-Known Member
Jul 15, 2011
55
0
56
Hello,

I receive the following error while sending email(s) to a specific address.

From exim_mainlog:
Code:
DATE/TIME ** [email protected] R=fail_remote_domains: The mail server could not deliver mail to [email protected] The account or domain may not exist, they may be blacklisted, or missing the proper dns entries.
However I can receive e-mails from this address/mail server.

Digging a bit more I found out that the mail server responses Hello as a different domain name, that also points to a different address.

I found this option --below in the exim.conf file but I don't want to whitelist a domain name.
Code:
check_recipient:
accept  hosts = :
My question is why I cannot send e-mail(s) from my server to this email address, although this email address is getting email(s) from other servers without problem.
 

linux-image

Well-Known Member
Jun 8, 2004
1,190
1
168
India
cPanel Access Level
Root Administrator
i would suggest.

dig MX recepient_domain_name
-----------------------------------------------

you will get an mail server here. If there are multiple entries, get the one that is near "0"

recepient_domain_name 1440 IN MX 0 xxxx.recepient_domain_name

ping xxxx.recepient_domain_name

Does it give an ip ?

if yes,

telnet ip 25

check the response.

you should try this from your server which has the mailing issue.
 

palav0s

Well-Known Member
Jul 15, 2011
55
0
56
I have already tried this and as I mentioned in my post everything seems correct except from the response of the mail server that point to another host.

However this shouldn't be a problem (or not?) as I receive mails normally from this host.

What can I do other than whitelisting to resolve this problem?
 

linux-image

Well-Known Member
Jun 8, 2004
1,190
1
168
India
cPanel Access Level
Root Administrator
from your post, I understood that you are able to receive the mail, while the problem is with sending mails.

however, i cannot understand what you meant by "response of the mail server that point to another host."

If you did get an IP after the dig, and subsequent ping ; you could try :

host <IP>

to check if an RDNS is set for the IP to another name. If the ip is having a different rdns, it is possible that it might show as replying from a different host via telnet or even from the mail server.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
You will need to whitelist the domain because it isn't passing the sender verification that is required for it to deliver. That's due to the MAILHELO mismatch with the PTR of the IP.