[exim] Clearing out old spool files

Etusivu
Poista viesti
Vastaa
Lähettäjä: John Horne
Päiväys:  
Vastaanottaja: Exim users
Aihe: [exim] Clearing out old spool files
Hello,

We are running exim 4.69 on CentOS 5.3, and I have been looking through
the '/var/spool/exim/input' and '/var/spool/exim/msglog' directories on
one of our mailhubs and can see some quite old files in there (the
oldest was from 2007).

It is no problem to just delete them using something like
'find ... -type f -mtime +6 -exec /bin/rm ...', but it is possible that
something could be on the queue for 6 days or more I guess (in our case
this is an inbound mailhub and there is nothing on the queue).

Perhaps there could be a sort of cleanup utility that could see what is
supposed to be on the queue, and remove anything that has been 'left'
for some reason in these directories? Or is there another way to get
exim to clear out these old files automatically?



Thanks,

John.

-- 
---------------------------------------------------------------
John Horne, University of Plymouth, UK  Tel: +44 (0)1752 587287
E-mail: John.Horne@???       Fax: +44 (0)1752 587001