26 May
2004
26 May
'04
10:42 p.m.
Timo Sirainen tss@iki.fi wrote:
Anyway, it might be useful to check tmp/ once in a while and delete the files that could have possibly been left there (especially because of crashes), but I'm not sure if it's Dovecot's job. It shouldn't anyway be done too often to avoid useless extra I/O. Maybe a daily cronjob with something like:
find /var/mail -path 'tmp/*' -cmin +60 -print0|xargs -0 rm
see http://www.qmail.org/man/man5/maildir.html
The reader is also expected to look through the tmp directory and to clean up any old files found there. A file in tmp may be safely removed if it has not been accessed in 36 hours.
-- http://reboot.animeirc.de http://sylpheed-claws.sourceforge.net/