[Dovecot] Can expire-tool skip folders with "expire time in future" errors?

Timo Sirainen tss at iki.fi
Mon Jun 1 21:04:57 EEST 2009


On Mon, 2009-06-01 at 13:09 -0400, Charles Marcus wrote:
> On 6/1/2009 12:40 PM, Timo Sirainen wrote:
> >>> Were the messages moved there before expire plugin was loaded? Those
> >>> aren't tracked.
> 
> >> Is there a simple way to fix this? Ie, maybe a script that could be run
> >> the first time a folder is added to the list, to add all of the current
> >> messages as of that date?
> 
> > Does it really matter if it just takes a couple of weeks to start
> > working? Seems like too much extra work for little gain. :)
> 
> I'm thinking about when expire is enabled on a folder that already has
> lots of mail in it...

But does it matter if they're deleted immediately or only 2 weeks from
now? It gets done eventually anyway.

> But I guess this could just be scripted by the local admin when
> needed... but what would be the proper way to do this? Would a simple
> 'touch' do it without breaking anything?

Expire plugin won't add old mails to the database no matter what you do.
Admin could of course just manually delete those old mails.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090601/b804fe29/attachment.bin 


More information about the dovecot mailing list