Exim Retry Database repair

Tags: cPaneleximretry time

Published on: August 23, 2014 by George K.

Exim Retry Database repair


Exim Retry Database Repair:

This is cPanel enabled server with Exim as the mail server. When sending an email to AOL address, email bounced with the below message, however it didn’t happen with other domains, like gmail, hotmail etc.

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
retry time not reached for any host after a long failure period


Solution would be to reset the retry times.

The Exim Retry Database has likely become corrupt and would need to be fixed before they could retry sending mail to your email address/domain.

If using cPanel with CentOS, as root user run the following:
cd /var/spool/exim/db
mv retry retry.lockfile /tmp
mv wait-remote_smtp wait-remote_smtp.lockfile /tmp
service exim restart
Or, use the following commands:
/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
See the log difference below after the fix.
2013-03-07 11:42:34 1UDZDW-003RL7-03 ** R=lookuphost T=remote_smtp: retry time not reached for any host after a long failure period
2013-03-07 11:49:28 1UDZKA-003Tuh-Pd => R=lookuphost T=remote_smtp []



Category : cPanel, Howtos, Troubleshooting

George K.

George K.

George started his career in web hosting and Linux technical support in the year 2004 and is with SupportSages since 2009. He has keen interest in server optimizations, custom security solutions, hacked server recovery, cyber forensic and high availability fail over system design and implementation. George loves long drives and is passionate about art and literature.

You may also read:


Add new commentSIGN IN

Let's Connect


Your Cart

Cart is empty.

Send this to a friend