Re: [Exim] exim_tidydb usage

Top Page
Delete this message
Reply to this message
Author: Edgar Lovecraft
Date:  
To: exim-users
Subject: Re: [Exim] exim_tidydb usage
Kevin Reed wrote:
>
> I am currently using the script below daily to clear entries from the
> Exim Db's...
>

..[snip]..
--
I do not remember what the default 'timeout' is when exim_tidydb, but I
believe that it is fairly high, if you are running a script daily then
you should use it with the -t option of "-t 24h" to clear out entries older
than 1 day. You can also use the exim_dumpdb to see what is there.

So I checked the manual....
http://www.exim.org/exim-html-4.30/doc/html/spec_46.html#SECT46.10

The exim_tidydb utility program is used to tidy up the contents of the
hints databases. If run with no options, it removes all records from a
database that are more than 30 days old. The cutoff date can be altered by
means of the -t option, which must be followed by a time. For example, to
remove all records older than a week from the retry database:

exim_tidydb -t 7d /var/spool/exim retry

--EAL--