[Dovecot] Index abuse

Timo Sirainen tss at iki.fi
Mon Apr 26 23:24:36 EEST 2004


On Mon, 2004-04-26 at 22:20, Rick Jones wrote:
> To put it in context, I'm playing with server-side automatic
> maintenance scripts for things like deleting messages more than x days
> old from folders a, b, c, etc. (using Maildir layout). So far I'm just
> zapping files in the cur and new directories and nothing amiss appears
> to happen from the IMAP client's viewpoint.
> 
> I just wonder if I'm storing up trouble. Will the index files continue
> to hold references to non-existent files and get bloated, or do they
> self-clean?

They'll clean themselves up. I wouldn't call Dovecot maildir- or
mbox-compatible if it didn't.

That's actually how it internally works now, Dovecot just deletes the
mails and then calls mailbox syncing function which updates the indexes.
New indexing code does it differently though.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://dovecot.org/pipermail/dovecot/attachments/20040426/bf3976da/attachment-0001.bin>


More information about the dovecot mailing list