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

reverse_name and tagged reply : bug ?



Hi,

I am a big user of alternates and reverse_name, in order to have the
correct "From: " address when I reply to a mail. I recently discovered
that if I tag two mails to make a common reply, then I get my default
"From: " address instead of the one that was used as recipient in the
two tagged messages.

Here is a minimal .muttrc and simple instructions to reproduce the
problem:

---- .muttrc ----
set reverse_name
set reverse_realname
set from="default@xxxxxxxxxxx"
set use_from
set envelope_from
set edit_headers
alternates '^(default|tom)@example\.org$'
-----------------

In /tmp/test, fake two mails with 'tom@xxxxxxxxxxx' as recipient.

Reply to one of them : the from is tom@xxxxxxxxxxx (correct).

Tag them all and hit ';r' or ';g' : the from is default@xxxxxxxxxxx
instead of tom@xxxxxxxxxxxx

Even more, tag only one of them and ';r' : the from is
default@xxxxxxxxxxx instead of tom@xxxxxxxxxxxx

I tried this on Debian/testing, Debian/sid and also a fresh build from
the hg repository.

I can test patches if it helps.

-- 
Thomas Parmelan