I have folder “xxx_mail” on two different IMAP accounts. I want to use Sidebar feature. The problem is there are two “xxx_mail” items. How can I change names shown in the sidebar?

Mailboxes im my .muttrc:

mailbox imap://foo@imap.example.org/xxx_mail 
mailbox imap://bar@imap.example.org/xxx_mail

If you consider switching to neomutt, then instead using mailboxes command you could use named-mailboxes

named-mailboxes "description1" mailbox1 "description2" mailbox2

and than you can use %D (description) in sidebar-format string.

Please refer to named-mailboxes and sidebar-format in neomuttrc manpage.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.