11 Jun
2006
11 Jun
'06
5:53 p.m.
On Fri, 2006-06-09 at 14:55 -0700, Mark Nienberg wrote:
Timo Sirainen wrote:
Dovecot will soon have a plugin which allows running a nightly cronjob to expunge mails from configured mailboxes which have been in there for a configurable amount of time. For example the configuration could be:
plugin { # Trash 7d, Spam 30d expire = Trash 7 Spam 30 }
I'm looking forward to this. In the meantime, for messages in Maildir format, is it safe to delete message files using a simple cron script based on "find" with a specified mtime?
I'd use ctime instead. See the mtime vs ctime discussion in this thread. :)