Link to home
Create AccountLog in
Avatar of G2020
G2020

asked on

Exim error T=remote_smtp: retry time not reached for any host after a long failure period

Hi there,

I have Linux Mail Server using Exim to send email. All the while, I can send mail to the domain @domainAAA.com ( I use an alias domain name here). I suspect someone change the firewall configuration on this server and now cause us cannot send to this domain any more. Every time I will get this error below from the mail log and the email will be frozen in the mail queue.

2013-12-29 03:29:49 1Vwza1-0004y1-It ** lala@domainAAA.com F=<test@eximserver.com> R=lookuphost T=remote_smtp: retry time not reached for any host after a long failure period

When I verified the email address, it can be verified.

[root@eximserver]# exim -bvs lala@domainAAA.com
lala@domainAAA.com verified

The exim is install from the installer of DirectAdmin
Kindly advise how to rectify this issue and how the error happen. Because I need to find out who make the mistake and prevent this case happen in the future.

Thanks!

Regards,
G2020
Avatar of Gregory Miller
Gregory Miller
Flag of United States of America image

exim -bvs does not verify communication with the email address nor if the address is a real address on the recipient server, it only verifies that it is properly formatted as an email address that Exim can understand.

the thing you might want to try from the server where Exim is installed is the following command:
telent domainAAA.com 25

Open in new window

If you get a response back, then great, it is not a firewall issue.
But, if you do not get a response back, it could be a firewall issue, it could be your Internet provider blocking port 25 traffic. You might try using th etelnet trick on other well known ports that might answer at the same domain like 80 or 443 because there is usually always a web server on a mail server. If you get a response back from the port 80 test but not port 25, I would look more at the ISP. If you do not get any response from any port, I would look internally at firewalls on the router, iptables, etc.
Avatar of G2020
G2020

ASKER

Hi Technodweed,

The telnet to mail.domainAAA.com 25 is successful. So meaning that the connection and routing between these two servers has no issue. Please correct me if I am wrong.

What will be the cause or possibilities, these emails have been frozen in the mail queue?


Thanks!

Regards,
G2020
Have you considered the receiving end is the problem, not your side?
Avatar of G2020

ASKER

I have another exim server. Exaxtly same. But This server can send out to mail server of domainAAA.com. i suspect the problem is from sending server.
can you send a test email and capture the local server log for the entire attempt and post it?
yes to me also it seems problem with sending server so check the DNS settings and if possible create caching only name server to get better results

TY/SA
ASKER CERTIFIED SOLUTION
Avatar of G2020
G2020

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
DNS was something suggested already here in comment id#39876112

TY/SA
Avatar of G2020

ASKER

Vendor not sure the root cause but they have fixed the sending issue with this solution.