account-hook, imap_pass not used ?
- To: mutt-users@xxxxxxxx
- Subject: account-hook, imap_pass not used ?
- From: Nicolas KOWALSKI <nicolas.kowalski@xxxxxxxxx>
- Date: Wed, 24 Oct 2007 12:25:03 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:subject:message-id:mail-followup-to:mime-version:content-type:content-disposition:user-agent; bh=nvo0R2Ew5P6OscgBW/OswCakeSScYIqXsMxXl3ucKZA=; b=ayIFWtD1f4bZ2rrZg8GwitHDy9OYcmeci24S7or4qkb8xL0+vm1BDVkz1SoRn2jf+aRaf2k2hspoXxZjwyXYqOQSGB6ccFQsAxSS4V6EKAHvTlX0dTxxS7Jc3ucnr+KSpy0WICDtJmBLsHaLn59GQdSfB2049StN4igscnlVIAM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:subject:message-id:mail-followup-to:mime-version:content-type:content-disposition:user-agent; b=AJcxB/5G6vjOjLWZg7h5WFMIeHXWcOyUXeOg4GY9a2rUjPxZmnPxCv0XGWpjDWUKLOEkH6PDYSoRzmDwvEWlR0Itpd75BP62OS2sctiKa1ibPyzCsaTde0vBeZwL2tp7LRuqzpGz9NOBctxuxbTkujMyMEv1E7cOvrd1H3beABQ=
- 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.16 (2007-06-11)
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