Change folder
- To: mutt-users@xxxxxxxx
- Subject: Change folder
- From: Prendick <saftseckel@xxxxxxxxxxxxxx>
- Date: Fri, 20 Feb 2009 10:02:04 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mail-followup-to:mime-version:content-type :content-disposition:user-agent; bh=faUWD1Kq4lFuMrTrH1qjDB/oVUrP7bkMjxkif0sF0/k=; b=Q1G9xtSnZ6GwahsOJCQCexvLkwXqk4z29eityRiRR/+/Zo25+YAmjxgC5L6dISwG5Q kfJYLJeV0+kSw/YC3d8jSAjAPkCbzUvsy3DvZYdNZWWM86tRuAREr7rJTZEvjwurxozu lBoFFbT+6aTd8x0MMFsDx3O7TUbqui5R2rlMk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:mime-version :content-type:content-disposition:user-agent; b=vvs01pFe7Esg6EweMr5ON5qPtk7y9bukBXtZqcttXYXb+BWv1SE58y1daxrMmIDV9q wv4mJSL2jDLPL5DxW6LNt3WiJ+ZmtcM1ZCzP98PVaBE7bknonwl5l40Lyjtw0ypFQLxl BatuFkbAUeNqC3eyGQR/7CHOcN0u7UHrewwpQ=
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.18 (2008-05-17)
Hi all.
I use multiple IMAP-accounts and switch between them via 'account-hook'
(to set the imap_user and imap_pass) and 'folder-hook' to set all the
rest. The important lines look like this:
account-hook . 'unset imap_user; unset imap_pass;'
account-hook imaps://server.com 'set imap_user=... imap_pass=...'
folder-hook imaps://server.com 'set folder=imaps://server.com
record=imaps://server.com/inbox/sent ... and so on'
Lets say I'm logged in on account1. If I press 'c' followed by '?' I can
select any folder on account1. Then I switch to account2. If I then
press again 'c' and '?' I still see the folders of account1. It does not
matter if I start with account1 or ~2 or whatever. The first time I want to
change the folder it works, then I always see the folders of this first
account.
I assume my folder-hook line is not correct, but I cannot figure out
whats the problem.
Thanks in advance,
Prendick