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

account-hook and user@imap



Hi,

################################################################################
the problem:
################################################################################

The IMAP namespace (c TAB TAB) mixes my different accounts. If I login to
account 1 and 2, go to Account 1's IBOX then want to browse the namespace it
browses the other one's

################################################################################
my config:
################################################################################
Using Mutt 1.5.6+20040907i (CVS)

muttrc:
-------
account-hook . 'unset imap_user; unset imap_pass; unset tunnel; unset from;
unmy_hdr From; unmy_hdr Reply-to; unmy_hdr Organization; unset folder; set
spoolfile=/var/mail/fwernli; unset pop_user; unset pop_pass'

account-hook "imap.removed.domain" 'source ~/.mutt/removed.domain'
account-hook "imap.deleted.domain" 'source ~/.mutt/deleted.domain'
-------

~/.mutt/???????.domain:
-----------------------
set imap_user=username
set folder=imaps://map.???????.domain/
set record=imaps://imap.???????.domain/Sent
set from=username@???????.domain
my_hdr From: username@???????.domain
my_hdr Reply-to: username@???????.domain
my_hdr Organization: /DEV/NULL
-----------------------

Do any of you have a solution to this?
I unsuccessfully tried with folder hooks...