[FIXED] T=remote_smtp defer (-53): retry time not reached for any host

Google

Hello Friends,

Today, I am going to explain a new issue that you might have faced sometimes.

 

Error Message:

~~~~~~~~~

retry_defer MAIN
== test@domain.com R=lookuphost T=remote_smtp defer (-53): retry time not reached for any host

~~~~~~~~~

 

Issue:

When you try to send a mail, you may get the above error.

 

Reason:

The Exim Retry Database has likely become corrupted ( corrupted exim db files ).

 

Resolution:

Go to the location “/var/spool/exim/db” and there you will see a list of files. Refer the below snapshot for your reference:

Now delete the below files and restart exim service:

retry, retry.lockfile,
wait-remote_smtp, wait-remote_smtp.lockfile

Command to delete above files and to restart exim service

~~~~~~~~~

rm -f retry retry.lockfile
rm -f wait-remote_smtp wait-remote_smtp.lockfile
service exim restart

~~~~~~~~~

Or, use the following commands to fix the issue:

~~~~~~~~~

/usr/sbin/exim_tidydb -t 1d /var/spool/exim retry > /dev/null
/usr/sbin/exim_tidydb -t 1d /var/spool/exim reject > /dev/null
/usr/sbin/exim_tidydb -t 1d /var/spool/exim wait-remote_smtp > /dev/null
/scripts/courierup -- force
/scripts/eximup --force

~~~~~~~~~

Now try to send mail and you will see you are now able to send mails without any issue.

If you still get any error, feel free to comment here. I will try to resolve it. 🙂

Powered by Facebook Comments

Be the first to comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.