Maildir in Thunderbird

Revision Information
  • Revision id: 111147
  • Created:
  • Creator: Wayne Mery
  • Comment: pretty much total rewrite of the description - shorter, and add what maildir is NOT with link to wiki
  • Reviewed: Yes
  • Reviewed:
  • Reviewed by: buluma_michael
  • Is approved? Yes
  • Is current revision? No
  • Ready for localization: Yes
  • Readied for localization:
  • Readied for localization by: buluma_michael
Revision Source
Revision Content

Thunderbird 38 introduces optional Maildir which allows a single unique filename per email (EML), unlike the default monolithic single file format of one file per folder known as mbox. NOTE - this is NOT full maildir in the sense that most users, particularly linux or mail administrators, know maildir. You cannot point Thunderbird accounts to a mail server directory, nor do you get message flags stored with emails. See wiki for more details.

Maildir is disabled by default because there are still many bugs. It is not 100% ready for users.

WARNING: We suggest you leave Maildir disabled unless you are an advanced user, willing to risk your data, and know how to back up your email before turning on Maildir and how to restore it if you run into problems.

The remainder of this article explains the format change and how to test Maildir starting in Thunderbird 38.

Maildir is a major change for Thunderbird because it changes the mail storage mechanism. The single file per email storage format has significant benefits:

  • Backups are easier and shorter because the amount of data to be backed up is reduced to only emails that have changed since the last backup.
  • It is easier for anti-virus to scan emails in individual files, and infected mails can be removed without the loss of all the other mail in the folder, as often occurs today with anti-virus software which cannot handle multiple emails in one file.

How to turn on Maildir

WARNING: Again, this feature is experimental and we recommend that you know how to file bugs and how to back up and restore your email before turning on Maildir.

To turn on Maildir:

  1. Back up your email. If you don't know how to back up and restore your email and how to set an about:config variable, then you are not qualified to test Maildir.
  2. Set the about:config variable documented in the Maildir wiki page.

Any email account created from now on will use Maildir. Existing accounts will continue to use mbox. If you want to use mbox again for new accounts, just reset the config variable.

Please file a bug if you encounter any Maildir issues. See also already filed bug reports.