Re: large mbox files

Joseph Tam via dovecot <[email protected]> Thu, 23 Apr 2026 13:02:49 -0700 (PDT)
Newsgroups gmane.mail.imap.dovecot
Message-ID <2d8e12ac-f192-603d-cacb-e42fada33295@nodomain>
On Wed, 22 Apr 2026, Marc wrote:

> How are messages deleted from large mbox files, are these files
> completely rewritten? I can't really believe that as some are bigger
> than the free disk space available.

I think it's a little better than that: bytes are shuffled up to fill
the deleted message hole.  I gather this from noting the difference
in operation time from deleting a message from the top vs bottom of
a large mailbox.

Joseph Tam <[email protected]>
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]