<<< Date Index >>>     <<< Thread Index >>>

account-hook, imap_pass not used ?



Hello,

I am trying to use multiple IMAP accounts. Following the Wiki, I use
these settings:

account-hook . 'unset imap_pass'
account-hook imap://niko@xxxxxxxxxxxxxxxxx/ 'set imap_pass="secret"'
account-hook imap://admin@xxxxxxxxxxxxxxxxx/ 'set imap_pass="anothersecret"'

set spoolfile="imap://niko@xxxxxxxxxxxxxxxxx/INBOX"


But when I start mutt, it always asks for a password. The "imap_pass" 
variable does not seem to be used.

What am I doing wrong ?

Thanks.


PS: 

if I remove the above hooks, to only use my primary account, it works 
well. This is with these settings:

set spoolfile="imap://petole.dyndns.org/INBOX"
set imap_user=niko
set imap_pass=secret


-- 
Nicolas