Søg i 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.

Læs mere

Store messages in local folders in maildir format?

  • 8 svar
  • 0 har dette problem
  • Seneste svar af 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

Alle svar (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?

Ændret af Mapenzi den

Nyttig?

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.

Nyttig?

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

Nyttig?

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.

Nyttig?

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?

Nyttig?

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

Nyttig?

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

Ændret af Rick den

Nyttig?

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.

Nyttig?

Stil et spørgsmål

Du skal logge ind på din konto for at svare på et indlæg. Start et nyt spørgsmål, hvis du ikke har en konto endnu.