On Sat, May 02, 2009 at 12:24:00PM -0400, Penguin Lover James squawked: > I've recently discovered the awesomeness of mutt. (I may be a little > late, but better late than never!)
7 year user of Mutt, and I cannot agree more. > I'm use it for my work email. I have a rather complex and lengthy set > of folders, and an equally complex procmail to go along with it. Mutt > is blazing fast at opening mail folders and sorting things, but I'm > wondering how to check when a new messages comes into a folder and > skips the inbox. > Any other suggestions? Something very lightweight would be awesome -- > even text based would be okay. What are you mutt users to check email > in all your folders? In your .bashrc (if you you bash) insert unset MAIL export MAILCHECK=15 export MAILPATH='<colon separated list of Mailboxes>' This will make bash check for new mail in your MAILPATH every 15 seconds, and will display something about you having new mail before showing the next primary prompt. If you want to get fancier, try something like mine export MAILPATH='~/Mail/inbox?You have mail from unknown sender.:~/Mail/gentoo-ml?New mail from Gentoo Mailing List.:~/Mail/work?New mail from office mates.:~/Mail/family?New mail from a family member.' (I trimmed it a bit, so you don't get the names of all my friends.) The idea is simple, and I think the syntax is self-evident. Also, in your .muttrc, you should set (if you use mbox type boxes. For maildirs the syntax is similar, but your should check the mutt manual to be sure) something like the following snip set mbox_type=mbox set folder=/home/wwong/Mail set spoolfile=/home/wwong/Mail/inbox unset mbox mailboxes =gentoo-ml =work =family This way mutt will know about your mailboxes. The spoolfile will be the default box that mutt opens. If you have bash-completion enabled, you can just type 'mutt -f =<mailbox name>' for any mailbox listed under mailboxes in .muttrc to open that mailbox. While in mutt, hitting 'c' will now first check all your mailboxes listed under the mailboxes entry in order to see if there are any new mails in those boxes, if so, it will default to the box, and you can just hit <Return> to open the box and read your new mail. If no mailbox has new mail, 'c' will bring up a prompt for the mailbox you want to change to as usual. I hope my explanation is clear enough... if you need more help, feel free to ask! Best, W -- "Pages one and two [of Zaphod's presidential speech] had been salvaged by a Damogran Frond Crested Eagle and had already become incorporated into an extraordinary new form of nest which the eagle had invented. It was constructed largely of papier mache and it was virtually impossible for a newly hatched baby eagle to break out of it. The Damogran Frond Crested Eagle had heard of the notion of survival of the species but wanted no truck with it." - An example of Damogran wildlife. Sortir en Pantoufles: up 876 days, 16:33