[Dovecot] Questions regarding dbox migration

Timo Sirainen tss at iki.fi
Fri Oct 16 01:34:09 EEST 2009


On Fri, 2009-10-16 at 00:24 +0200, Mikkel wrote:
>  > It doesn't matter what the user's full mailbox size is. It matters how
>  > many of these max. ~2 MB dbox files have expunged messages. Typically
>  > users would expunge only new mails, so typically there would be only a
>  > single file that needs to be recreated.
>  >
> 
> That way it seems pretty clever. But if the number of messages in each 
> mdbox file (we are talking about multi-dox and not single-dbox right?) 
> is configurable via mdbox_rotate_size (ranging from 1 to infinity I 
> guess) then how can you assume that each file is no more than ~2 MB?

The default is 2 MB, and whoever sets it larger deserves what they get
(for better or worse).

>   >> dovecot: Oct 01 15:13:57 Error: IMAP(another_account at domain): 
> Corrupted
>  >> transaction log file /local/another_homedir/Maildir/dovecot.index.log
>  >> seq 229: duplicate transaction log sequence (229) (sync_offset=32860)
>  >
> Anyway do you think that dovecot would be able to recover from that kind 
> of error without loss of information if dbox/mdbox where used instead of 
> Maildir?

Well, it marks it corrupted so it loses some state. But I guess I could
change the code to not mark it corrupted but instead just fail. Then it
wouldn't lose anything.
-------------- 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/20091015/d59d16a4/attachment.bin 


More information about the dovecot mailing list