Exim Error: Ratelimit database not available

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:

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:

service exim restart

If this doesn’t work , then run /scripts/upcp –force on the server and then check exim_mainlog for the changes.

Was this answer helpful?

 Print this Article

Also Read

Fixed: Parameter 1 to modMainMenuHelper::buildXML() expected to be a reference

Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a reference, value given...

Virtuozzo : RTNETLINK: Operation Not Supported

Here is a new bug which I faced on virtuozzo 4 and 4.6 for Centos 6 VPS.   VPS fails to...

Cara Reset Password Adminitrator Joomla

Normally, you can add, edit and delete users and passwords from the back-end User Manager. To do...

Disable MySql Strict Mode di cPanel/WHM

sebelum melakukan sesuatu alangkah baiknya membackup mysql configrasi nya terlebih dahulu: cp...

Replace a failed harddisk in Linux software RAID

Ini adalah contoh anda memiliki 2 hard disk, /dev/sda dan /dev/sdb, dengan partisi /dev/sda1 dan...