Symptoms
You are unable to send mail and you find the following message in the Exim log:
All hosts for 'recipientdomain.tld' have been failing for a long time (and retry time not reached)
Description
This message provided in the Exim log is not the actual error message that you'll need in order to diagnose the problem. You can use the following tool to find the real error.
Procedure
The easiest way to find the real error is to use the exinext command via SSH or Terminal as the root user:
[15:13:24 srv root@host ~]cPs# exinext example.tld
Transport: mx1.example.tld [111.111.111.111/NULL] error 110: Connection timed out
first failed: 10-Sep-2020 12:46:59
last tried: 31-Oct-2020 12:24:31
next try at: 31-Oct-2020 20:24:31
past final cutoff time
Transport: mx1.example.tld [111.111.111.111/NULL] error 110: Connection timed out
first failed: 10-Sep-2020 12:46:59
last tried: 31-Oct-2020 12:24:31
next try at: 31-Oct-2020 20:24:31
past final cutoff time
Notice that the exinext command provides the real error which is a connection timeout. Now you can troubleshoot the connection issue.
Once you have corrected the problem indicated by the error, you'll need to clear the hints database so that you can send messages again:
Clear Exim Retry DB to bypass "retry time not reached" after fixing an issue with delivery
If the exinext command does not provide any output for the recipient domain you should try sending your message again because the issue was probably resolved already.
Comments
0 comments
Article is closed for comments.