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

Re: account-hook, imap_pass not used ?



On Wed, Oct 24, 2007 at 12:25:02PM +0200, Nicolas KOWALSKI wrote:
> 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 ?

Cough cough... :-(

The above hooks are fine, as long as they are not squeezed later in the 
configuration by an "unhook *" ! 

Sorry for the noise, and 
Thanks to the two Patrick for their help.

-- 
Nicolas