问题原文
原帖链接 · olympe26 · CC BY-SA 4.0
Although I understand the basics of the two storage formats (1 file per email under Maildir vs. 1 single file per mailbox under mbox), I am wondering what the practical implications are here -
- Is one storage format more scalable than the other?
- Are there data integrity concerns / differences?
- Are there clearly defined situations where you should use one format over the other?
社区高分解答
原帖链接 · Kondybas · CC BY-SA 3.0
Don't manage mailboxes from postfix. Never. Redirect messages for delivery via POP/IMAP server that has appropriate functionality. In case of dovecot there is dovecot-lda aka deliver that do everything and much more, like user-controlled message filtering, quota management, autoreplying and so on.
Anyway maildir is newer and preferrable format due to the lot of improvements comparatively to maibox. Maildir has an index for each folder that allow to control duplicates, expiration times and even full-text search. Also, maildir is significantly faster on a huge pile of messages. Dovecot can easily operate maildir with 300k messages in it without any visible slowdown. Mailbox such big is a problem itself. Also, most modern POP/IMAP servers has a lot of utilities for common tasks in large infrastructure.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
