Ticket #3014 (closed defect: invalid)
mutt-1.4.2.3i: Settings taken from wrong account-hook entry
| Reported by: | Paul Gilmartin | Owned by: | brendan |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | IMAP | Version: | |
| Keywords: | Cc: |
Description
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://PaulGBoulder@imap.aim.com \
imaps://pg187608@mail-amer.sun.com \
imap://wombat@foo.bar.com \
account-hook . 'unset imap_user imap_pass from record'
account-hook mail-amer.sun.com \
'set from=Paul.Gilmartin@sun.com \
record="imaps://pg187608@mail-amer.sun.com/Sent Messages"'
account-hook foo.bar.com \
'set from=gilmap@unix.stortek.com \
record="/home/normau/gilmap/Mail/sent"
account-hook imap.aim.com \
'set from=PaulGBoulder@AIM.com \
record="imap://PaulGBoulder@imap.aim.com/Sent Messages"'
gilmap@tolvar:277$
Thanks,
gil
Change History
Note: See
TracTickets for help on using
tickets.
