This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Store messages in local folders in maildir format?

  • 8 پاسخ
  • 0 have this problem
  • آخرین پاسخ توسّط Matt

more options

Hi,

I have my messages in IMAP folders stored in maildir format. I know how to make that happen.

I cannot find a way to have messages in local folders stored in maildir format.

Is there a way?

Rick

Hi, I have my messages in IMAP folders stored in maildir format. I know how to make that happen. I cannot find a way to have messages in local folders stored in maildir format. Is there a way? Rick

All Replies (8)

more options

Hi Rick,

there is a way to choose the maildir format for Local Folders via a manipulation in the prefs.js file but this will not transform messages already stored in the mailbox format into the maildir format. You would first have to export in the *.eml format all messages stored in Local Folders, to import them back in Local Folders once the manipulation in prefs.js file accomplished.

Are you still interested?

Modified by Mapenzi

Helpful?

more options

In the meantime I've found a much easier way for the conversion from mailbox to maildir format. Go to Settings > General > Config editor... Search for the setting "mail.store_conversion_enabled" and toggle its value from false to true. Now go to Account Settings > Local Folders > Message Store > Message Store Type and select "File per message (maildir)". Your choice made TB will ask you to restart. When you go to the profile folder > Mail you'll see a new folder called "Local Folders-maildir" containing the converted files.

Helpful?

more options

Hi Mapenzi,

Many thanks for your help!

I read that changing the format for local folders was experimental six years ago and had the potential for data loss. It is still not fully enabled in Thunderbird. Do you know how safe it is now?

Rick

Helpful?

more options

I guess you already read this article https://wiki.mozilla.org/Thunderbird/Maildir When you change the format for your Local Folders to maildir, TB will still keep the old Local Folders with the messages in mailbox format.

Helpful?

more options

I've been playing. What I have learned:

Changing mail.store_conversion_enabled and the setting for storage format for local folders seemed to work fine. Thunderbird converted many folders automatically, created a separate "local folders" folder for EML messages, and the results looked good, other than Thunderbird not knowing that all messages had already been read, which is a common problem with importing.

Then I noticed that ImportExportTools NG cannot import (while converting) mbox files into maildir/eml folders. That's a problem. I need mbox files for 1) long-term storage of mail outside Thunderbird, and 2) possible import back into Apple Mail someday. I concluded a while ago that maildir/eml is not a good interchange format, at least on the Mac or at least with Apple Mail. So using this method would require me to convert scores of e-mail folders to maildir/eml now, which I would prefer not to do.

Unless you or someone else knows of a way other than ImportExportTools NG to import mbox files into maildir/eml folders?

Helpful?

more options

This is a meta bug against all maildir like bugs should be recorded as a blocker or depending on it. So anything that is not struck through is still an open bug. It is up to you to make your own decisions. THat was why I actually wrote the original support document and offered the warning. IO was trying to get folk to at least try it and file bugs. Why is in not finished? I have no idea, it languished after the demise of Mozilla Messaging around 10 years ago and the current crop at Mzla have found other new shiny things to capture their interest is my guess, like introducing yet another language into the code base.

https://bugzilla.mozilla.org/show_bug.cgi?id=845952

Helpful?

more options

Thanks for the link, Matt.

How much has changed in the almost six years since you wrote the support article?

Do you believe that the maildir implementation for IMAP folders is stable and reliable enough for use?

I'm getting the impression that it may be, but that the maildir implementation for local folders is less stable and reliable. Is my perception accurate?

Thanks for your help.

Correct link for the support document: https://support.mozilla.org/en-US/kb/maildir-thunderbird

Modified by Rick

Helpful?

more options

I use it for one account and that is IMAP. It has been known to randomly download the 10Gb of mail in that account again. It also has some serious deficiencies in cleaning up it's own birdcage when stuff is deleted. It it fit for prime time on business critical data. Hell no! For a small private account with nothing really important in it, you take your chances. Just as you do with Alpha or Beta software. I certainly would not consider it more than Beta quality, even after 10 years of lingering.

Helpful?

یک سؤال بپرسید

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.