On Tue, Sep 08, 2015 at 08:22:17PM +0300, Jayson Willson wrote: > Hello! > I have the following configuration (two IMAP and SMTP accounts): > > cat .mutt/muttrc > pastebin.com/NN7EJF8E > > cat .mutt/user1 > http://pastebin.com/w19fSTqh > And user2 is configured in the same way. > With such configuration, when I launch mutt, I get to user1 mailbox and > everything is fine. If I press F3, I get to user2 mailbox and everything > is fine again, but if I press F2, I do not get to user1 mailbox, but > instead stay in user2 and there is not way to get to user 1. > Could you please help me to organize multiple accounts with mutt? Thank > you very much. > -- > Yours sincerely, Jayson Willson
Hi Jayson, Your .muttrc looks very similar to mine. The only visible differences I can see is that I do not have those folder-hooks in mine. Additionally, I do not have the account-hooks in each of my user profiles: account-hook $folder "set imap_user=$my_user imap_pass=$my_pass" Perhaps remove each of these lines in the user profile files and try switching again? -- Am Jam