[Dovecot] Repair/Cleaup Maildir

Timo Sirainen tss at iki.fi
Mon Jan 10 20:21:37 EET 2005


On Sun, 2005-01-09 at 09:46 +1300, Glen Eustace wrote:
> I now have a maildir hierarchy with lots of crud in it. I need a utility
> to go through and deleted all the files that shouldn't be there anymore
> and to ensure that the subscriptions files are correct.
> 
> Does such a utility exist ?

I'm not aware of such.

> If not, can anyone tell me where I can find a good description of what
> Dovecot expects to find in maildirs so I can write one myself.

I'd rather delete only the known useless files than leave only the known
good files.. But Dovecot uses:

.subscriptions
.customflags
.imap.index*
dovecot-uidlist

There may also be temporarily .temp.* files.

-------------- 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/20050110/8b99fcfc/attachment-0001.bin>


More information about the dovecot mailing list