retry time not reached for any host

Error : When error logs shows error “retry time not reached for any host”
2010-12-08 21:29:30 1PQRZp-0008IM-VT <= H=localhost ( []:37322 I=[]:25 P=esmtpa S=864 T=”test” from <> for
2010-12-08 21:29:30 1PQRZp-0008IM-VT == R=dk_lookuphost T=dk_remote_smtp defer (-53): retry time not reached for any host
If you are getting the above error then apply below solution to fix this issue.
First check the recipient mail server ip address blocked in exim database.

root@server[#] cd /var/spool/exim/db
root@server[#] grep * -R

Means the  server ip address blocked in exim database so it show the error. You can remove the ip by using following steps.
1) Make sure to take the backup of  “/var/spool/exim/db/” folder if in case if there is another problem arise.
Stop exim service using following command

root@server[#] /etc/init.d/exim stop
root@server[#] service exim stop

then go to

root@server[#] /var/spool/exim/db/
root@server[#] rm -rf ratelimit
root@server[#] rm -rf retry

Remove all the files from db directory

root@server[#] rm -rf  *

Then Start Exim service.

root@sever[#] /etc/init.d/exim start
root@server[#] service exim start

After starting exim service, It will rebuild exim database.
Note : Please change the ip address to your recipient mail server ip address.

Related posts

Leave a Comment