Checking for new messages in other folders - Thunderbird: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
No edit summary
 
m (added bug report, some rewording)
 
(23 intermediate revisions by 7 users not shown)
Line 1: Line 1:
You can only check for new messages in the inbox folder on a POP server. You can have Thunderbird check for new messages in any remote folder in a IMAP account but it defaults to only checking the inbox, forcing you to manually check for new mail in each remote folder by clicking on it. There are two ways to avoid this:
==POP==
You can only check for new messages in the Inbox folder on a POP server. However, some webmail add-ons can be [[Download_messages_from_other_folders | configured]] to check for new mail in other folders. Any of those messages are downloaded to the inbox and a special header added so that a [[Message_Filters | message filter]] can test what folder they came from.


* Goto each remote folder, right click on it, select properties, and check the checkmark for "check this folder for new messages".  
==IMAP==
Thunderbird only checks the Inbox for new mail in [[IMAP]] accounts by default. But you can configure Thunderbird to automatically check for new messages in other folders. There are two ways to do this but adding more folders [https://bugzilla.mozilla.org/show_bug.cgi?id=680181#c2  may affect Thunderbird and/or server performance]:


* Add the ''user_pref("mail.check_all_imap_folders_for_new", true);'' preference to [[Modify_Thunderbird_settings | prefs.js or user.js]] . This will make Thunderbird check every remote folder for new mail. The downside is there is no way to exclude a specific folder such as a junk mail folder. This preference broke around v0.6 and started working again in v1.0.2.
* Right-click on remote folder, select Properties, and check the box for "Check this folder for new messages". If you need to do this for many folders, either install the [https://addons.mozilla.org/en-US/thunderbird/addon/4936 FolderCheck] addon (it adds "Check this folder for new messages" to the folders context menu), or do the following...


You may want to also check the checkmark for ''tools -> options -> advanced -> show expanded columns in the folder pane'' and then click on unread and/or total in the small column control at the upper right corner of the folder pane.
* Thunderbird used to support setting '''mail.check_all_imap_folders_for_new''' to '''true''' to make it check every remote folder for new mail. The downside was there is no way to exclude a specific folder (such as a junk mail folder). However, that setting was replaced in version 5.0 with server-specific ones.  Set '''mail.server.default.check_all_folders_for_new''' to '''true''' instead to make it effective for all accounts [[Modify Thunderbird settings | using the Config Editor]].
 
If you are the admin for the IMAP server you may be able to [http://edseek.com/~jasonb/articles/exim4_courier/courierimap.html configure it] to check for new mail in all folders and notify the email client using the IDLE command.  For example you could do this with a Courier IMAP server by setting IMAP_CHECK_ALL_FOLDERS=1 and IMAP_ENHANCEDIDLE=1 in the IMAPD file and installing the File Alteration Monitor (FAM) package. This would effect every email client using that IMAP server regardless of whether or not the user wanted to check all folders.
 
If Thunderbird doesn't recognize that a folder contains unread messages try setting '''mail.imap.use_status_for_biff''' '''true'''. It causes Thunderbird to explicitly select each folder to update the message summaries, rather than using the STATUS command. It has more overhead, but some IMAP servers don't return STATUS correctly.
 
==Folder Pane==
The [https://addons.mozilla.org/en-US/thunderbird/addon/extra-folder-columns/?src=ss Extra Folder Columns] add-on restores the Unread, Total and Size columns in the folder pane that Thunderbird used to have. It might make it easier to see what fodlers have new mail.
 
If you don't like how Thunderbird indicates a folder has new mail you could add something like the following to a [http://www.mozilla.org/support/thunderbird/edit#css userChrome.css] file in the chrome directory in the profile to make it easier to see which folders have new mail.
 
<pre>
/* Turn the font red and bold if folder has unread mail */
treechildren:-moz-tree-cell-text(hasUnreadMessages-true) {
color: red !important;
}
</pre>
 
==Views==
The Advanced Folder View list box on top of the folder pane defaults to "All Folders". It can be set to "Unread Folders" using the left or right arrows. This will display only folders that Thunderbird knows has new messages. It "knows" about any new messages stored in POP accounts or Local Folders, any remote folders that you've opened, and any remote folders that its configured to check for new mail in that folder. It doesn't know about any new messages in webmail folders unless you used a webmail add-on and checking for new mail downloaded them to the Inbox folder.
 
You could also create a virtual folder using [[Saved Search | saved search]] that tests [Status] [is] [New] for all of the folders you're interested in. It can test folders across multiple accounts, and is displayed with a special icon in the folder pane. You could also have it test [Status] [isn't] [Read] - not all unread messages are necessarily new messages.
 
==See also==
*[[Download messages from other folders]]
*[[Saved Search]]
*[[Window_layout_-_Thunderbird | Window layout]]
 
==External links==
* [https://addons.mozilla.org/en-US/thunderbird/addon/4936 Folder Check] extension tries to make it easier to check for new mail in many folders.
* [https://addons.mozilla.org/en-US/thunderbird/addon/mailbox-alert/ MailBox Alert] extension lets you specify for each folder a sound, system command or message when new mail is detected in that folder.
* [https://addons.mozilla.org/en-US/thunderbird/addon/1396 Sync On Arrival] extension
 
==Bugs==
* [https://bugzilla.mozilla.org/show_bug.cgi?id=693204  Long delay of emails within Thunderbird when the emails are read from another device/location]
[[Category:Sending and receiving mail (Thunderbird)]]
[[Category:Issues (Thunderbird)]]
[[Category:IMAP]]

Latest revision as of 21:29, 13 January 2015

POP

You can only check for new messages in the Inbox folder on a POP server. However, some webmail add-ons can be configured to check for new mail in other folders. Any of those messages are downloaded to the inbox and a special header added so that a message filter can test what folder they came from.

IMAP

Thunderbird only checks the Inbox for new mail in IMAP accounts by default. But you can configure Thunderbird to automatically check for new messages in other folders. There are two ways to do this but adding more folders may affect Thunderbird and/or server performance:

  • Right-click on remote folder, select Properties, and check the box for "Check this folder for new messages". If you need to do this for many folders, either install the FolderCheck addon (it adds "Check this folder for new messages" to the folders context menu), or do the following...
  • Thunderbird used to support setting mail.check_all_imap_folders_for_new to true to make it check every remote folder for new mail. The downside was there is no way to exclude a specific folder (such as a junk mail folder). However, that setting was replaced in version 5.0 with server-specific ones. Set mail.server.default.check_all_folders_for_new to true instead to make it effective for all accounts using the Config Editor.

If you are the admin for the IMAP server you may be able to configure it to check for new mail in all folders and notify the email client using the IDLE command. For example you could do this with a Courier IMAP server by setting IMAP_CHECK_ALL_FOLDERS=1 and IMAP_ENHANCEDIDLE=1 in the IMAPD file and installing the File Alteration Monitor (FAM) package. This would effect every email client using that IMAP server regardless of whether or not the user wanted to check all folders.

If Thunderbird doesn't recognize that a folder contains unread messages try setting mail.imap.use_status_for_biff true. It causes Thunderbird to explicitly select each folder to update the message summaries, rather than using the STATUS command. It has more overhead, but some IMAP servers don't return STATUS correctly.

Folder Pane

The Extra Folder Columns add-on restores the Unread, Total and Size columns in the folder pane that Thunderbird used to have. It might make it easier to see what fodlers have new mail.

If you don't like how Thunderbird indicates a folder has new mail you could add something like the following to a userChrome.css file in the chrome directory in the profile to make it easier to see which folders have new mail.

/* Turn the font red and bold if folder has unread mail */
treechildren:-moz-tree-cell-text(hasUnreadMessages-true) {
color: red !important;
}

Views

The Advanced Folder View list box on top of the folder pane defaults to "All Folders". It can be set to "Unread Folders" using the left or right arrows. This will display only folders that Thunderbird knows has new messages. It "knows" about any new messages stored in POP accounts or Local Folders, any remote folders that you've opened, and any remote folders that its configured to check for new mail in that folder. It doesn't know about any new messages in webmail folders unless you used a webmail add-on and checking for new mail downloaded them to the Inbox folder.

You could also create a virtual folder using saved search that tests [Status] [is] [New] for all of the folders you're interested in. It can test folders across multiple accounts, and is displayed with a special icon in the folder pane. You could also have it test [Status] [isn't] [Read] - not all unread messages are necessarily new messages.

See also

External links

  • Folder Check extension tries to make it easier to check for new mail in many folders.
  • MailBox Alert extension lets you specify for each folder a sound, system command or message when new mail is detected in that folder.
  • Sync On Arrival extension

Bugs