Discussion:
IMAP folders in sidebar
Michael Wagner
2018-07-16 20:34:03 UTC
Permalink
Hello folks,

is it possible in mutt to display the mailboxes in the sidebar another
way as to define every mailbox with the "mailboxes" command?

I have here at home a dovecot Server, fetch my mails with fetchmail and
sort them into mailboxes (Maildir) with procmail.

So every time I subscribe to a new mailinglist, I must make an entry in
my muttrc. What I want, is when a new mailbox is created, it's shown up
in the sidebar.

TIA Michael
Stefan Hagen
2018-07-17 07:01:52 UTC
Permalink
Hi Michael,
Post by Michael Wagner
is it possible in mutt to display the mailboxes in the sidebar another
way as to define every mailbox with the "mailboxes" command?
Yes, you can set "imap_check_subscribed" and all imap folders will show
up in the sidebar.

imap_check_subscribed
When set, mutt will fetch the set of subscribed folders from
your server on connection, and add them to the set of mailboxes
it polls for new mail just as if you had issued individual
“mailboxes” commands.

On large mailboxes, this greatly reduces the start time due to the "new
mail" poll.

Alternative solution:

If you use offlineimap as well, you can let it generate your mailboxes
file.

In the page below, search for "mbnames" for an example:
https://baptiste-wicht.com/posts/2014/07/a-mutt-journey-download-mails-with-offlineimap.html

Best Regards,
Stefan
--
Stefan Hagen
Phone: +49 (0)176 642 925 17
gopher://codevoid.de | PGP Key in Header
Michael Wagner
2018-07-17 14:21:32 UTC
Permalink
This post might be inappropriate. Click to display it.
Continue reading on narkive:
Loading...