<<< Date Index >>>     <<< Thread Index >>>

Re: Checking for new mail in IMAP folders



On Mon, Nov 01, 2004 at 10:00:02AM -0300, Andreas wrote:
> So one has to edit .muttrc everytime a new mailbox is created? Or removed?
> Bad. I asked about this problem with "mailboxes" some times on this list
> but there was no solution. What I use currently is:
> 
> mailboxes =INBOX `echo lm|cyradm --auth gssapi imap.server 2>/dev/null|sed -e 
> '1d;$d;s, (.*,,;s,^,=,'|tr '\n' ' '`
> unmailboxes =INBOX.Sent =INBOX.mbox
> 
> Ugly as hell, but works :(

Mutt should automatically set "mailboxes" to the list of subscribed IMAP 
folders, that
would be much more elegant. Or provide yet another option to toggle this.