Retry time not reached for any host after a long failure period

If you received a bounce message “retry time not reached for any host after a long failure period” or received a complaint from your user on the same problem, there might be an issue with your exim DB. So here we will help you to fix this problem.

Solution
Access through root user and run the following command :

cd /var/spool/exim/db
rm -f retry retry.lockfile
rm -f wait-remote_smtp wait-remote_smtp.lockfile
service exim restart

or use the following command :

/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

A very soft reminder, its never hurt to backup your exim db first. Incase there be any error you can rebunk it.

You may also like...

Leave a Reply

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

%d bloggers like this: