#3014: mutt-1.4.2.3i: Settings taken from wrong account-hook entry

 If I have multiple IMAP mailboxes in my .muttrc, mutt
 uses only the account-hook for the last mailbox appearing
 in .muttrc.

 For example, mutt uses only the "from" address corresponding
 to "foo.bar.com", regardless which account in the following
 .muttrc I connect to:

 {{{
 # experimental mutt initialization file

 color indicator  black  yellow
 color normal     black  white
 color index      black  cyan .

 set delete=ask-no
 set move=no
 set certificate_file=~/work/.mutt/certificates
 set sort=reverse-date-sent

 # IMAP settings
 #
 mailboxes \
     /proj/sysadmin/mail/gilmap \
     imap://[EMAIL PROTECTED] \
     imaps://[EMAIL PROTECTED] \
     imap://[EMAIL PROTECTED] \

 account-hook . 'unset imap_user imap_pass from record'

 account-hook mail-amer.sun.com \
     'set [EMAIL PROTECTED] \
          record="imaps://[EMAIL PROTECTED]/Sent Messages"'

 account-hook foo.bar.com \
     'set [EMAIL PROTECTED] \
          record="/home/normau/gilmap/Mail/sent"

 account-hook imap.aim.com \
     'set [EMAIL PROTECTED] \
      record="imap://[EMAIL PROTECTED]/Sent Messages"'
 [EMAIL PROTECTED]:277$
 }}}

 Thanks,[[BR]]

 gil

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3014>

Reply via email to