Local Folders: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(Eliminated a forum link as it was overkill)
(20 intermediate revisions by 4 users not shown)
Line 1: Line 1:
In Thunderbird and the Mozilla Suite, "Local Folders" is the name given to the set of mail folders at the bottom of the folders pane. Many newcomers to Thunderbird or the Mozilla Suite don't know what these Local Folders are for, or why they're called that in the first place.
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 "Local Folders". It's called a "special" account because it doesn't have any instructions for how to communicate with a mail server.


==Uses for Local Folders==
==Uses for Local Folders==
* For people who have an [[IMAP]] e-mail account, where mail is 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. If you select a remote folder for offline use Thunderbird stores a copy in Local Folders. If you enable auto-save of drafts its less likely to interfere with your typing if you store it 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, and the POP accounts folders are hidden in the folder pane.
* If you use Thunderbird's [[Thunderbird : FAQs : Global Inbox|Global Inbox]] for your POP3 e-mail accounts, your mail for those accounts will be downloaded into 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 to send a message in the background if you set '''mailnews.sendInBackground true'''.  
* When you compose a message and save it to be sent later ("File -> Send Later"), it will be saved in the Unsent Messages folder in Local Folders.
* Sent newsgroups messages are saved in Local Folders by default.
* Sent newsgroups messages are saved in Local Folders by default.
* Some people use Local Folders as a place to [[archiving your e-mail | archive]] old messages, so that their actively used mail folders are smaller and less cluttered.
* You can use Local Folders as a place to [[archiving your e-mail | archive]] old messages, so that the actively used mail folders are smaller and less cluttered.
* If you [[Moving_your_mail_storage_location_-_Thunderbird | reconfigure]] several profiles to use a common directory for Local Folders outside of the profile, it's much easier for those users to share mail messages.
* Conversely, if you use an [[IMAP]] e-mail account, mail is 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.


==Renaming Local Folders==
==Renaming Local Folders==
To change the name of Local Folders, just right click on "Local Folders" in the folders pane, choose "Properties", 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 Mozilla Suite), then click on "Local Folders" in the left-hand pane, and type in the new name in the "Account Name" field.
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==
==Moving the storage location for Local Folders==
By default, Local Folders is stored in your [[Profile folder|profile folder]], as a subfolder of the "Mail" folder. To change this storage location, see [[Moving your mail storage location (Thunderbird) | Moving your mail storage location]] for instructions.
By default, Local Folders is stored in your [[Profile folder|profile folder]], as a subfolder of the "Mail" folder. See [[Moving your mail storage location (Thunderbird) | Moving your mail storage location]] for instructions on how to change where Local Folders is stored.


==Getting rid of Local Folders==
==Getting rid of Local Folders==
The easiest and safest way to hide Local folders is to use an option in the [http://journal.mozdev.org/mailtweak.html Mail Tweak] extension. However, hiding Local Folders might cause problems with unsent messages (which normally get stored in Local Folders) or other program behavior. Thunderbird doesn't handle surprises well. It's usually better to ignore Local Folders instead of trying to hide them. You can collapse it to one line in the folder pane.
The best solution is to keep Local Folders collapsed in the folder pane and ignore it.


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 | backup]] 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 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. Hiding it using an add-on such as [https://addons.mozilla.org/en-US/thunderbird/addon/hide-local-folders/ Hide Local Folders] would be much safer than deleting it.
 
==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 View -> Folders -> All. 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 [[About:config | 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:
#Back up prefs.js in your [[Profile_folder_-_Thunderbird | profile]].
#Search for ''Local Folders'' in the edit field in the Config editor.
#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.server'''1'''.hostname or mail.server.server'''1'''.name in the left column (preference name). The '1' is the server id.
#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.account'''1'''.server that is set to ''server1''. Usually the same id is used for both the server and the account.
#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''
#Exit Thunderbird and restart it.
 
==External links==
* Bug report about [https://bugzilla.mozilla.org/show_bug.cgi?id=548735  Local Folders "account" has disappeared from the left hand pane  ]
* Enhancement request to [https://bugzilla.mozilla.org/show_bug.cgi?id=297793 remove Local Folders]


[[Category:Organizing and finding messages (Thunderbird)]]
[[Category:Organizing and finding messages (Thunderbird)]]
[[Category:Visual customizations (Thunderbird)]]
[[Category:Visual customizations (Thunderbird)]]
[[Category:Mozilla Suite]]
[[Category:Mail (Mozilla Suite)]]

Revision as of 12:35, 23 July 2018

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 "Local Folders". It's called a "special" account because it doesn't have any instructions for how to communicate with a mail server.

Uses for 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, and the POP accounts folders are hidden in the folder pane.
  • 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 to send a message in the background if you set mailnews.sendInBackground true.
  • Sent newsgroups messages are saved in Local Folders by default.
  • You can use Local Folders as a place to archive old messages, so that the 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 those users to share mail messages.
  • Conversely, if you use an IMAP e-mail account, mail is 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.

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 best solution is to keep Local Folders collapsed in the folder pane and ignore it.

You could 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. Hiding it using an add-on such as Hide Local Folders would be much safer than deleting it.

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 View -> Folders -> All. 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