On Sat, Apr 14, 2001 at 06:11:53PM +0100, Ailbhe Leamy wrote:
> On (14/04/01 08:07), CB wrote:
>
> > Currently, I can find new mail when I press "c" and I look at the
> > modify date/time of the list of folders. Another mutt user told me
> > that when I receive new mail, the bottom status line should tell me
> > that I have received new mail. It does not. I suspect this is
> > because I run procmail in daemon mode, so mutt cannot know (unless
> > it was constantly checking the timestamp). Is this correct?
>
> I shouldn't think so...
>
> My .muttrc contains the line
>
> # if open and idle for this long, time out and check for new mail
> set timeout=60
>
> > Also, when I press the "c" key, he told me I should get a list of
> > folders with new mail. Instead, I get the entire list. I have it
>
> I get the entire list, with folders containing new mail marked as
> N. Mutt only knows about folders you specify with "mailboxes", ie
>
> mailboxes /var/spool/mail/ailbhe
>
> If anyone does know a way of displaying only folders with new mail
> when one presses "c", I'd love to hear about it. I asked a few days
> ago, and no-one seems to know.
>
I use:
# mailboxes
mailboxes =luni-spool
mailboxes =mutt-spool
#spool hooks for default read messages
mbox-hook luni-spool =luni
mbox-hook mutt-spool =mutt
to define which folders mutt should look in for new mail. I use
procmail to put the mail in these spool files. If I have new mail in
any of my spool files, pressing 'c' pops up the first one it finds and
then if there are more with mail, pressing 'c' again goes to the next one
with mail.
This also influences what the list shows when you press <Tab>; it toggles
between the defined mail spools and all mail folders.
--
David Rock
[EMAIL PROTECTED]
PGP signature