On 07/05/2015 12:45 PM, Gordon Messmer wrote:
With mbox, any time you remove a message from a folder (either deleting
it or moving it to another folder), the entire mbox file has to be
re-written. If you delete/move a message from a very large folder, that
can generate a lot of disk activity, and creates a long window in which
an interruption can corrupt the folder. With Maildir, all operations
should be atomic. An interruption should never destroy an entire folder.
Not so. The message is still there, but it's marked in the index as
deleted. The file isn't re-written until it's compacted.