Maildir in Thunderbird

Thunderbird Thunderbird Last updated: 70% of users voted this helpful

Optional support for Maildir allows a single unique file per email (using the EML data format), 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 the 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.

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.
  2. In the menu bar, click the Thunderbird menu and select Settings.Click the menu button Fx89menuButton and choose Settings.
  3. Select the Advanced panel, followed by the General tab.
  4. Next to Message Store Type for new accounts, select File per message (maildir).

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.

To change an existing account to use maildir, see this blog post.

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

Was this article helpful?

Please wait...

These fine people helped write this article:

Illustration of hands

Volunteer

Grow and share your expertise with others. Answer questions and improve our knowledge base.

Learn More