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

Alternative Identities



I'm trying to set up mutt so that I can use it with two different email
accounts.  Right now I'm using screen and two instances of mutt, but I'm
looking for a more elegant solution.  I'm on the trail of one now, but
it has some bugs.

I have the following in my .muttrc:

set status_format="-%r-JL@xxxxxxxx: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o?
Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Pos
t:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---"

macro index \e1 ":set from=JL@xxxxxxxx\n:set
signature=~/.sigs/personal_signature\n:set
status_format=\"-%r-JL@xxxxxxxx: %f 
[Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t?
Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-
(%P)---\"\n" "Switch to JL@xxxxxxxx"

macro index \e2 ":set from=jlg@xxxxxxxxxxxxxxx\n:set
signature=~/.sigs/fac_signature\n:set status_format=\"-%r-jlg@xxxxxxxxx
ss.edu: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F?
Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---
(%s/%S)-%>-(%P)---\"\n" "Switch to jlg@xxxxxxxxxxxxxxx"

macro index I "c=mbox\n" "Switch to mbox"

folder-hook =mbox 'macro index I "c=umass_mbox\n" "Switch to
umass_mbox"'

folder-hook =umass_mbox 'macro index I "c=mbox\n" "Switch to mbox"'

folder-hook =mbox 'push \e1'

folder-hook =umass_mbox 'push \e2'

I'm trying to get the from address to update when I write an email while
I'm in one or the other of the "formats," but it doesn't seem to be
working.  Can anyone help me debug this?  Also, when I switch "formats"
the spoolfile and mbox don't change.  That is, when I type c in the
index and then ! I don't get the right mailbox.

Thanks for any help.

        JL

-- 
Jorge Luis <lists@xxxxxxxx>