summaryrefslogtreecommitdiffstats
path: root/doc/wiki/MailboxFormat.mbx.txt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:51:24 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:51:24 +0000
commitf7548d6d28c313cf80e6f3ef89aed16a19815df1 (patch)
treea3f6f2a3f247293bee59ecd28e8cd8ceb6ca064a /doc/wiki/MailboxFormat.mbx.txt
parentInitial commit. (diff)
downloaddovecot-f7548d6d28c313cf80e6f3ef89aed16a19815df1.tar.xz
dovecot-f7548d6d28c313cf80e6f3ef89aed16a19815df1.zip
Adding upstream version 1:2.3.19.1+dfsg1.upstream/1%2.3.19.1+dfsg1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'doc/wiki/MailboxFormat.mbx.txt')
-rw-r--r--doc/wiki/MailboxFormat.mbx.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/wiki/MailboxFormat.mbx.txt b/doc/wiki/MailboxFormat.mbx.txt
new file mode 100644
index 0000000..c5d76a2
--- /dev/null
+++ b/doc/wiki/MailboxFormat.mbx.txt
@@ -0,0 +1,24 @@
+mbx
+===
+
+A high performance mbox-replacement created by Mark Crispin while at University
+of Washington for UW-IMAP. Each message in the file is preceded by a record
+carrying all the metadata that IMAP-protocol needs. This allows changing the
+metadata easily by modifying the fixed-size header, rather than moving data
+around in a file like with mbox.
+
+File locking is handled more intelligently (only appends may need to wait for
+locks), making this format a good choice for shared mailboxes.
+
+Downsides contain:
+
+ * Messages don't get deleted from disk until there's only one client accessing
+ the mailbox, so you may need to add some forced downtime to get it done.
+ * Works only in local filesystem.
+ * Expunging is still as costly and as fragile as with mbox.
+ * At least on 32 bit systems, mailboxes are limited to 2GB size. (A mailbox
+ can't be accessed anymore without manual fixing if it reached 2GB (minus 1B)
+ of size on disk.) This is probably UW-IMAP -specific implementation problem
+ rather than actual mailbox format issue.
+
+(This file was created from the wiki on 2019-06-19 12:42)