Local Folders: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
Line 16: Line 16:


==Getting rid of Local Folders==
==Getting rid of Local Folders==
The easiest and safest way to hide Local folders is to use the "Hide Local Folders" option in the [http://journal.mozdev.org/mailtweak.html Mail Tweak] extension. It hides it from the folder pane, but that account is still accessible from the menu.
The easiest and safest way to hide Local folders is to use the "Hide Local Folders" tweak in the [http://journal.mozdev.org/mailtweak.html Mail Tweak] extension. It hides it from the folder pane, but that account is still accessible from the menu.
Unfortunately the MailTweak add-on has been abandoned by its developer and some of its tweaks cause interoperability problems with other add-ons in recent versions of Thunderbird. You might be better off just keeping Local Folders collapsed in the folder pane.


You could also edit the [[prefs.js file]] file in your [[Profile folder|profile folder]] per [http://www.holgermetzger.de/efaqmailnews.html#1] or [http://ilias.ca/archive/mozilla/mailnewsfaq/LocalFolders] to get rid of it. That works, but it requires you to understand how account settings are stored in the prefs.js file and any mistakes can seriously mess up your profile. If you try it, be sure to [[Profile_backup | back up]] your profile first. It also has the disadvantage of being much harder to undo - at least with the Mail Tweak extension you can uncheck the "Hide Local Folders" setting if it causes problems.
You could also edit the [[prefs.js file]] file in your [[Profile folder|profile folder]] per [http://www.holgermetzger.de/efaqmailnews.html#1] or [http://ilias.ca/archive/mozilla/mailnewsfaq/LocalFolders] to get rid of it. That works, but it requires you to understand how account settings are stored in the prefs.js file and any mistakes can seriously mess up your profile. If you try it, be sure to [[Profile_backup | back up]] your profile first. It also has the disadvantage of being much harder to undo - at least with the Mail Tweak extension you can uncheck the "Hide Local Folders" setting if it causes problems.

Revision as of 01:52, 18 February 2012

In Thunderbird and SeaMonkey, "Local Folders" is the name given to the set of mail folders at the bottom of the folders pane. Many new users don't know what these Local Folders are for, or why they're called that in the first place.

Uses for Local Folders

  • If you use an IMAP e-mail account, mail is normally stored "remotely" (on the server) rather than being downloaded and stored "locally" (on your own computer). Local Folders provides a convenient place to store messages locally when desired. You could use offline folders instead, but that can cause complications and you would need to switch Thunderbird to working offline to access those folders. If you enable auto-save of drafts, it's less likely to interfere with your typing if you store them in Local Folders.
  • If you configure a POP account to use a Global Inbox, the new messages are downloaded into a Inbox folder in Local Folders.
  • When you compose a message and save it to be sent later ("File -> Send Later"), it is saved in the Unsent Messages folder in Local Folders. That folder is also used in Thunderbird 3 to send a message in the background if you set mailnews.sendInBackground true.
  • Sent newsgroups messages are saved in Local Folders by default.
  • Some people use Local Folders as a place to archive old messages, so that their actively used mail folders are smaller and less cluttered.
  • If you reconfigure several profiles to use a common directory for Local Folders outside of the profile, it's much easier for the users to share mail messages.

Renaming Local Folders

To change the name of Local Folders, just right click on "Local Folders" in the folders pane, choose "Settings", and then in the dialog that pops up, enter the new name in the "Account Name" field. Alternatively, you can go to "Tools -> Account Settings" (in Thunderbird) or "Edit -> Mail & Newsgroup Account Settings" (in SeaMonkey), then click on "Local Folders" in the left-hand pane, and type in the new name in the "Account Name" field.

Moving the storage location for Local Folders

By default, Local Folders is stored in your profile folder, as a subfolder of the "Mail" folder. See Moving your mail storage location for instructions on how to change where Local Folders is stored.

Getting rid of Local Folders

The easiest and safest way to hide Local folders is to use the "Hide Local Folders" tweak in the Mail Tweak extension. It hides it from the folder pane, but that account is still accessible from the menu. Unfortunately the MailTweak add-on has been abandoned by its developer and some of its tweaks cause interoperability problems with other add-ons in recent versions of Thunderbird. You might be better off just keeping Local Folders collapsed in the folder pane.

You could also edit the prefs.js file file in your profile folder per [1] or [2] to get rid of it. That works, but it requires you to understand how account settings are stored in the prefs.js file and any mistakes can seriously mess up your profile. If you try it, be sure to back up your profile first. It also has the disadvantage of being much harder to undo - at least with the Mail Tweak extension you can uncheck the "Hide Local Folders" setting if it causes problems.

Local Folders lost during an upgrade

If your local folders are missing after upgrading Thunderbird (and you didn't deliberately get rid of them) set the advanced folder view to All Folders using the little left and right arrows at the top of the folder pane. If they are still missing something probably deleted its account from the list of known accounts in the mail.accountmanager.accounts setting.

Type mail.accountmanager.accounts in the edit field in the Config editor and see how many account ids it lists. For example if you have two POP accounts and they're set to account4,account3, Thunderbird only knows about two accounts. It should know about three (two POP accounts and one local folders account).

If the count is wrong:

  1. Back up prefs.js in your profile.
  2. Search for Local Folders in the edit field in the Config editor.
  3. It will return about four lines. You want one that has just Local Folders in the right column (value) and looks like either mail.server.server1.hostname or mail.server.server1.name in the left column (preference name). The '1' is the server id.
  4. Enter server1 (replace the 1 with the actual id you found) in the edit field in the Config editor. Find a setting that looks like mail.account.account1.server that is set to server1. Usually the same id is used for both the server and the account.
  5. Edit mail.accountmanager.accounts to add the local folders account. You can edit it by double clicking on the value. If the account id was 1 you'd add ,account1 to that setting. For example if it was set to account4,account3 change it to account4,account3,account1
  6. Exit Thunderbird and restart it.

External links