| 2541 | | When changing folders, pressing <emphasis>space</emphasis> will cycle |
| 2542 | | through folders with new mail. |
| 2543 | | </para> |
| 2544 | | |
| 2545 | | <para> |
| 2546 | | Pressing TAB in the directory browser will bring up a menu showing the files |
| 2547 | | specified by the <literal>mailboxes</literal> command, and indicate which contain new |
| 2548 | | messages. Mutt will automatically enter this mode when invoked from the |
| 2549 | | command line with the <literal>-y</literal> option. |
| | 2539 | Mutt provides a number of advanced features for handling (possibly many) |
| | 2540 | folders and new mail within them, please refer to |
| | 2541 | <xref linkend="handling-folders"/> for details (including in what |
| | 2542 | situations and how often Mutt checks for new mail). |
| 2569 | | For local folders, new mail is detected by comparing access and/or |
| 2570 | | modification times of files and folders. The interval in which Mutt |
| 2571 | | checks for new mail is defined by |
| 2572 | | <link linkend="mail-check">$mail_check</link>. |
| 2573 | | </para> |
| 2574 | | |
| 2575 | | <para> |
| 2576 | | Special care is required with Mbox and Mmdf |
| 2577 | | folders as Mutt assumes such a folder has new mail if it wasn't |
| | 2562 | For Mbox and Mmdf folders, new mail is detected by comparing access and/or |
| | 2563 | modification times of files: Mutt assumes a folder has new mail if it wasn't |
| | 4669 | <sect1 id="handling-folders"> |
| | 4670 | <title>Handling multiple folders</title> |
| | 4671 | |
| | 4672 | <para> |
| | 4673 | Mutt supports setups with multiple folders, allowing all of them to |
| | 4674 | be monitored for new mail (see <xref linkend="mailboxes"/> for details). |
| | 4675 | </para> |
| | 4676 | |
| | 4677 | <para> |
| | 4678 | When in the index menu and being idle (also see |
| | 4679 | <link linkend="timeout">$timeout</link>), Mutt periodically checks |
| | 4680 | for new mail in all folders which have been configured via the |
| | 4681 | <literal>mailboxes</literal> command. The interval depends on the folder |
| | 4682 | type: for local/IMAP folders it consults |
| | 4683 | <link linkend="mail-check">$mail_check</link> and |
| | 4684 | <link linkend="pop-checkinterval">$pop_checkinterval</link> |
| | 4685 | for POP folders. |
| | 4686 | </para> |
| | 4687 | |
| | 4688 | <para> |
| | 4689 | Outside the index menu the directory browser supports checking |
| | 4690 | for new mail using the <emphasis>check-new</emphasis> function which is |
| | 4691 | unbound by default. Pressing TAB will bring up a |
| | 4692 | menu showing the files specified by the <literal>mailboxes</literal> command, |
| | 4693 | and indicate which contain new messages. Mutt will automatically enter this |
| | 4694 | mode when invoked from the command line with the <literal>-y</literal> option. |
| | 4695 | </para> |
| | 4696 | |
| | 4697 | <para> |
| | 4698 | For the pager, index and directory browser menus, Mutt contains the |
| | 4699 | <emphasis>buffy-list</emphasis> function (bound to ``.'' by default) |
| | 4700 | which will print a list of folders with new mail in the command line at |
| | 4701 | the bottom of the screen. |
| | 4702 | </para> |
| | 4703 | |
| | 4704 | <para> |
| | 4705 | For the index, by default Mutt displays the number of mailboxes with new |
| | 4706 | mail in the status bar, please refer to the |
| | 4707 | <link linkend="index-format">$index_format</link> |
| | 4708 | variable for details. |
| | 4709 | </para> |
| | 4710 | |
| | 4711 | <para> |
| | 4712 | When changing folders, Mutt fills the prompt with the first folder from |
| | 4713 | the mailboxes list containing new mail (if any), pressing |
| | 4714 | <emphasis>space</emphasis> will cycle through folders with new mail. |
| | 4715 | </para> |
| | 4716 | |
| | 4717 | </sect1> |
| | 4718 | |