If you find any of the following errors below in your /var/log/exim_mainlog log file. The fix below should resolve these errors
2013-12-22 03:16:00 Failed to get write lock for /var/spool/exim/db/ratelimit.lockfile: timed out
2013-12-22 03:16:00 H=[190.235.210.104]:13468 temporarily rejected connection in "connect" ACL: ratelimit database not available
To fix these error , the exim cache database on the server needs to be flushed to stop this message.
Run the folllowing command on root:
root@lolwut [~]# rm -fv /var/spool/exim/db/*
Output:
removed `/var/spool/exim/db/ratelimit’
removed `/var/spool/exim/db/ratelimit.lockfile’
removed `/var/spool/exim/db/retry’
removed `/var/spool/exim/db/retry.lockfile’
removed `/var/spool/exim/db/wait-dk_remote_smtp’
removed `/var/spool/exim/db/wait-dk_remote_smtp.lockfile’
removed `/var/spool/exim/db/wait-remote_smtp’
removed `/var/spool/exim/db/wait-remote_smtp.lockfile’
Then run the following command on root:
root@lolwut [~]# service exim restart
If this doesn’t work , then run /scripts/upcp –force on the server and then check exim_mainlog for the changes.
Originally posted 2016-03-06 01:50:40.
thanks for this info!