I'm having trouble trying to access two IMAP accounts on the same server. 
I'm trying to do it using account-hook.

my .muttrc looks like:

set record=imap://jennyw@localhost/INBOX.Sent
set imap_pass=password
set spoolfile=imap://jennyw@localhost/INBOX
set folder=imap://jennyw@localhost/
account-hook imap://jennyw2@localhost 'set imap_pass=password2'

I also tried adding:

account-hook . 'unset imap_pass'

since it was in the manual, even though I'm not really sure when it's 
invoked (I figured it was used as an example because it referred to the 
local Maildir?).

Anyway, thanks in advance!

Jen

Reply via email to