Carsten --

I don't have an answer for why mutt crashes, but it's easy to send
mail as though from another account.

There is a variable/command called "my_hdr" which allows you to
specify any header you wish -- including "From: ".  Many folks use
send-hooks or folder-hooks to set different values; take a look at
these examples from my .muttrc:

.muttrc:        send-hook .     unmy_hdr From:
.muttrc:        send-hook .     my_hdr From: [EMAIL PROTECTED] (David 
Thorburn-Gundlach)
.muttrc:        folder-hook =F.madison  source $HOME/.muttrc.madi
.muttrc:        folder-hook =F.choice   source $HOME/.muttrc.choice
.muttrc.madi:   send-hook .     my_hdr From: [EMAIL PROTECTED] (Madison 
Thorburn-Gundlach)
.muttrc.choice: send-hook .     my_hdr From: [EMAIL PROTECTED] (Choice 
Consulting)

As you can see, I typically reset my From: header with every mail
message I send (pattern matches ".", or anything), and then set it to
my bigfoot address.  When I'm in my Madison folder (=F.madison),
however, I reset my From: value to that of Madi (at only two years
old, she doesn't type too well yet :-)  When I'm in my consulting
folder, I reset the address similarly.

I chose to go with a folder-hook that sourced a separate rc file
because there are other settings in there as well; you might have
something like

        send-hook some-special-addr my_hdr From: news@gateway
or
        folder-hook =NewsFolder my_hdr From: news@gateway


HTH

:-D
-- 
David Thorburn-Gundlach         * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]      * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]         Helping out at Pfizer
http://www.bigfoot.com/~davidtg/
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*

PGP signature

Reply via email to