Mail Delivery Failed - Exim

Discussions related with hosting control panels used, which include cPanel, Plesk, Directadmin etc..
Post Reply
nickk
Posts: 0
Joined: Wed Oct 26, 2016 9:38 am

Mail Delivery Failed - Exim

Post 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.



shaan
Posts: 0
Joined: Sat Apr 14, 2018 4:21 pm

Re: Mail Delivery Failed - Exim

Post 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



Jackk
Posts: 0
Joined: Fri Apr 13, 2018 7:18 pm

Re: Mail Delivery Failed - Exim

Post 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



shaan
Posts: 0
Joined: Sat Apr 14, 2018 4:21 pm

Re: Mail Delivery Failed - Exim

Post 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



nickk
Posts: 0
Joined: Wed Oct 26, 2016 9:38 am

Re: Mail Delivery Failed - Exim

Post by nickk »

Hi Shaan/Jack,

Great... It works lol!

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



Post Reply