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_acco...@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.
signature.asc
Description: This is a digitally signed message part