#3620: folder list does not respect current folder setting
--------------------+-------------------------------------------------------
Reporter: yminus | Owner: mutt-dev
Type: defect | Status: new
Priority: major | Milestone:
Component: mutt | Version: 1.5.21
Keywords: |
--------------------+-------------------------------------------------------
I am using folder-hooks to manager multiple mail accounts.
{{{
# Switch to default account on startup.
source $my_mutt_dir/identity_server1
# folder hooks to load custom configuration
folder-hook 'imap.server1' 'source $my_mutt_dir/identity_user1'
folder-hook 'imap.server2' 'source $my_mutt_dir/identity_user2'
# bind the accounts to fn keys
macro index <f2> '<change-folder>imaps://imap.server1<enter>'
macro index <f3> '<change-folder>imaps://imap.server2<enter>'
}}}
When I start mutt and type 'c' to change-folder and '?' to get the folder
list, the folders of the current account are displayed correctly.
However, if I change to the server2 using the <f3> key and type 'c' + '?'
again, mutt tries to retrieve the folder list from server1 and fails since
it does not use the correct settings for imap_user/imap_pass.
My identity_userN files contain these values (all imap account settings
are defined for the corresponding server):
{{{
# basic identity
set realname = ""
set from = ""
alternates ""
set hostname = ""
set signature = ""
# IMAP account settings
set imap_user = ""
set imap_pass = ""
set folder = ""
set spoolfile = ""
mailboxes = ""
set mbox = ""
set record = ""
set postponed = ""
# SMTP mailing configuration (for sending mail)
set smtp_url = ""
}}}
Expected behaviour: after hitting 'c' + '?' the folders on the current
server are shown.
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3620>
Mutt <http://www.mutt.org/>
The Mutt mail user agent