Thunderbird/Maildir

From MozillaWiki
Jump to navigation Jump to search

Maildir is the first pluggable mail store to be implemented as an alternative to mbox - the traditional format used by Thunderbird. Thunderbird's maildir implementation allows a single unique filename per email (EML).

Note, Thunderbird's maildir implementation is NOT full maildir in the sense that most people know as maildir, particularly linux users or mail administrators. You cannot point a Thunderbird account to a mail server directory. For example you do not get Bug 1219781 - maildir storing message flags not implemented message flags stored with emails. You only get a single file per message, and nothing more.

Enable Maildir mailbox format

If you want to experience maildir, you need to set the string pref "mail.serverDefaultStoreContractID" to "@mozilla.org/msgstore/maildirstore;1".

We aren't sure of the side-effects of using maildir as the default store on a profile that was created on Berkeley mailbox(mbox) format, so we suggest you to create a fresh profile to work with maildir so as to avoid any dataloss that might occur.

Operations now successful with Maildir

Issues resolved or closed as no longer being an issue so far:

  • The pop3 filters work reliably with maildir. See bug 827048
  • All local folder operations are successful with maildir now. See bug 1028548
  • Movemail download now works with maildir. See bug 1027947
  • Sub folder directories are created at the expected place now. See bug 1017939
  • Quarantine filter moves now work with maildir. See bug 1044456
  • Rename of IMAP folders is in progress. See bug 857436

Operations still unsuccessful with Maildir

Issues left to be addressed:

Methods that may result in Process crash

Please don't use CopyService for any copy operations in the source code if you are using maildir. As of now, we haven't addressed this bit and copying using CopyService results in process crash.