Page 1 of 1

Mail Delivery Failed - Exim

Posted: Thu Jun 07, 2018 1:05 am
by nickk
Hi Nixtree,

I am receiving the below-stated error message while sending mail to an email address.

===============
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:

testing@yahoo.com
retry time not reached for any host after a long failure period

Please help me to fix this.

Re: Mail Delivery Failed - Exim

Posted: Thu Jun 07, 2018 1:09 am
by shaan
Hello Nick,

The above bounce back is received in most of the cases when 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

Please try sending mail after performing the above steps.

=======
Shaan N
Linux Support Engineer.
Nixtree Solutions
Managed Full Server Backups
https://www.nixtree.com/managed-backups.php
Follow us on : https://twitter.com/nixtree

Re: Mail Delivery Failed - Exim

Posted: Thu Jun 07, 2018 1:15 am
by Jackk
Hi Nick,

You can try below command as well to repair Exim retry database.


# /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

Re: Mail Delivery Failed - Exim

Posted: Thu Jun 07, 2018 1:18 am
by shaan
Hi Nick,

You can also go for the fix provided by Jackk. Both solutions works in repairing Exim retry database.

======
Shaan N
Linux Support Engineer.
Nixtree Solutions
Managed Full Server Backups
https://www.nixtree.com/managed-backups.php
Follow us on : https://twitter.com/nixtree

Re: Mail Delivery Failed - Exim

Posted: Thu Jun 07, 2018 1:20 am
by nickk
Hi Shaan/Jack,

Great... It works lol!

Thanks a lot! You are the heroes of the day!