Exim : retry time not reached for any host after a long failure period

The issue is because of the corrupted exim db files.

Goto /var/spool/exim/db and delete files: retry , retry.lockfile , wait-remote_smtp, wait-remote_smtp.lockfile

/etc/init.d/exim restart

25 thoughts on “Exim : retry time not reached for any host after a long failure period

  1. Peter Panic says:

    Thanks so much. That was the problem and the only solution that really helped. The Exim FAQ isn’t of any help and many forums are neither.

    Like

  2. Enas says:

    when i restart , the lockfile returns again!!!!!!!!!!!!!!!!!!!!

    i need also to know , is the problem from sender side or receiver????

    Like

  3. zebulon says:

    Thanks a lot, it’s solved my problem.

    after upgrade from lenny to squeeze I don’t receive emails on my company but for others it’s

    Like

  4. Rennix says:

    There’s a more elegant way:

    The problem is usually NOT DB corruption! Just simply force a mail to the failing domain into the mailqueue:

    “exim -odq recipient@faileddomain.com
    Testmail.
    .” (Don’t forget that last dot)

    Find out the message id:
    “exim -bpu”

    Force the delivery:
    exim -M somemessageid

    After a successful delivery exim will reset it’s retry database for that specific mailhost. No need to delete the entire DB or restart the MTA.

    Like

  5. Johne723 says:

    whoah this blog is excellent i really like reading your articles. Stay up the good work! You already know, many persons are looking around for this info, you could help them greatly. ekakedkgaace

    Like

Leave a comment