Hi all! A co-worker stated the other day that the biggest feature that has
kept him from switching from Pine to mutt is the fact that pine supports
roles.
>From what I could gather, a role in pine basically allows you to set your
From: email address depending on who the message you're replying to was
_addressed_ to.
Everytime I ask this question (off the list, in #mutt on IRC for example),
people respond quickly by saying this can be done with a send-hook.
To give a specific example: an email comes in to [EMAIL PROTECTED]
and I want to reply to it as [EMAIL PROTECTED] instead of my personal
address.
The suggestions I've heard say to do something like:
send-hook \
'~t [EMAIL PROTECTED]' \
'my_hdr From: [EMAIL PROTECTED]'
Which doesn't work, because the ~t criteria looks at the headers of the
outgoing message I'm composing, rather than the original inbound message.
And since I'm not composing the message to [EMAIL PROTECTED], this hook
doesn't work.
I'm wondering whether there's a good way to do this, or if it's even
possible to use '~' variables but based on the headers from the original
inbound message, and not from the outbound message.
I'm assuming that this is a feature that is hardly ever used, since it's
not been implemented. Would it be handy to anyone?
--
Adrian Chung Software Engineer e-smith, Inc.
[EMAIL PROTECTED] +1 613 564 8000x4379 888 ESMITH 1
Suite 1500, 150 Metcalfe St, Ottawa, ON, K2P 1P1, Canada
www.e-smith.com (corporate) | www.e-smith.org (development)