Hello all,

I have multiple IMAP accounts (configuration is below) and mutt does not
reread remote directory list when I switch between mailboxes. For example:

- I open personal mailbox, press <change-dir> TAB and mutt shows remote folders
for that account

- then I swith to second account, again do <change-dir> TAB, but still see
remote folders from first account

So basically mutt caches first opened remote folder list and displays it every
time. Any ideas on how to fix this?

# ------------

mailboxes = imaps://[email protected]:993/
mailboxes = imaps://[email protected]:993/

account-hook imaps://[email protected]:993/ \
    'set imap_user = "[email protected]"'

account-hook imaps://[email protected]:993/ \
    'set imap_user = "[email protected]"'

folder-hook imaps://[email protected]:993 \
    'set folder = "imaps://[email protected]:993/" \
    smtp_url = "smtps://[email protected]:465" \
    from = "[email protected]"'

folder-hook imaps://[email protected]:993/ \
    'set folder = "imaps://[email protected]:993" \
    smtp_url = "smtps://[email protected]:465" \
    from = "[email protected]"'

set folder = "imaps://[email protected]:993/"

set spoolfile = "=INBOX"
set postponed = "=[Gmail]/Drafts"
unset record

macro index <f1> <change-folder>imaps://[email protected]:993/<enter>
macro index <f2> <change-folder>imaps://[email protected]:993/<enter>

Reply via email to