[Dovecot] deleting maildir files

Timo Sirainen tss at iki.fi
Tue Jul 17 22:17:16 EEST 2007


On Tue, 2007-07-17 at 15:11 -0400, Charles Marcus wrote:
> Timo Sirainen, on 7/17/2007 2:40 PM, said the following:
> > On Tue, 2007-07-17 at 14:34 -0400, Charles Marcus wrote:
> >>> Or just delete .Trash/cur and mkdir it back. That way UIDVALIDITY 
> >>> doesn't change (although I think TB is able to handle it, but at least 
> >>> Mail.app broke really badly last time I did that).
> 
> >> Hmmm... but will that take care of /tmp as well? 
> 
> > tmp should be empty usually.
> 
> >> drwx------   2 postfix postfix 32388568 Jul 17 12:04 tmp
> 
> > Looks like Courier has crashed in the middle of copying/saving if it has
> > this many files. :)
> 
> I know... so - I should delete it as well, then recreate it, same as 
> /cur?

Yea. Or I mean in both cases you can just delete the files inside the
directory, but I'm pretty sure rm tmp/* will give you an error. :)

> What about the courierimapuiddb file? (Also, sorry for asking 
> something about courier, but I've already asked on the courier list and 
> no one has responded yet)...

Courier's courierimapuiddb file is pretty much the same as
dovecot-uidlist file. You don't have to worry about it.

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


More information about the dovecot mailing list