False envelope From saved via fcc when using envelope_from_adress
Hi,
I am using the following configuration (real domains masked) :
set from="tom@friendlydomain"
set use_from
set use_envelope_from
send-hook . 'unmy_hdr from'
send-hook . 'set from="tom@friendlydomain"; set realname="Thomas Parmelan"
send-hook . 'unset envelope_from_address'
[here, other send-hooks possibly modifying from or
envelope_from_address, then : ]
send-hook '~C "@workdomain"' 'set
envelope_from_address=tom@friendlydomain'
send-hook '~C "@workdomain"' 'my_hdr From: "PARMELAN, Thomas"
<thomas.parmelan@workdomain>'
It works as I want : when sending mail to a coworker, the From: is my
work adress, but the enveloppe from is my "friendlydomain" address.
(Yes, this is somewhat a bizarre configuration, but it works and is my
only want to send work mail from mutt instead of the outlook/exchange
nightmare).
The problem I have is that in this case the saved copy of my sent mails
have not the real enveloppe from, but the one derived from the From:.
I am using Mutt 1.5.18 (more precisely mutt 1.5.18-4 on a lenny
(testing) Debian/GNU Linux amd64 host.
Am I doing something wrong, or is this a real bug ?
Thanks in advance,
Tom
--
Thomas Parmelan