PROBLEM
I have too many entries in the retry database and it's size is affecting performance.
ENVIRONMENT
- On-Premise Server + WebMail Installations: Version 6.0 > Current Version
CAUSE
Exim can accumulate a lot of entries in the retry DB over a long time.
RESOLUTION
You resolve this with a small script, which will clear any entries older than four days.
- Create a file called clear_retry.sh in /etc/cron.daily
>/etc/cron.daily/clear_retry.sh
- In the above file, add the following:
#! /bin/sh
echo "Clearing retry database...n" /usr/local/atmail/mailserver/bin/exim_tidydb -t 4d /usr/local/atmail/mailserver/spool retry - Save the changes and confirm the permissions are set correctly
% chmod 755 /etc/cron.daily/clear_retry.sh
Comments