[Dovecot] Re: Trash expire plugin

Timo Sirainen tss at iki.fi
Sun Jun 11 17:53:25 EEST 2006


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. :)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20060611/cb8b8840/attachment.pgp


More information about the dovecot mailing list