Re: account-hook, imap_pass not used ?
- To: mutt-users@xxxxxxxx
- Subject: Re: account-hook, imap_pass not used ?
- From: Nicolas KOWALSKI <nicolas.kowalski@xxxxxxxxx>
- Date: Wed, 24 Oct 2007 16:01:17 +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:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=dlMJ0bG+k4Ii9fBrgPZ48JwRvqw0xWQijRBvpYxdias=; b=VhgsJOsS0kZHXjZfsYVDMobF0SYdCfg/TZMJsnXzfsyng+uA6hcx1B5YDED2cyC6GDWr2QPCjLAf9QmJ5CZZ5KpbY/2LJQ+vP9tMXGrpq+xEWI47ru7vcJmMBxhAaM7sEhTaCdLHQJ0uO98G14QkQaBwEKqnxyTC/39hjQXoNuA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=F5FfV0A2VdyYSGEVNtAV17cvcQwYg5EYvUMzsKFR4JHz7j4WbUW+hHEQ5jOZ+A+M6LLtdrRRYmvHgUGF//nd3WMasPCKsbGZkTVR8jDEhLg1Ovii1E0lhn/77a/O7wLXa3ilL9bCHqKQAeN+yAxO/819HKS54zlF846J1yF2nb0=
- In-reply-to: <20071024102502.GA7150@xxxxxxxxxxxxxxxxx>
- 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
- References: <20071024102502.GA7150@xxxxxxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.16 (2007-06-11)
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