Koichi Nakatani wrote:
Hello,
May I propose a small change of v2.1.1?
I think $fields{'from'} should be referred before $fields{'reply-to'}.
Some lists add a line `Reply-To: <List Address>' automatically,
so it is possibly better to look at From: lines first to identify the author.
No, no, no. There are also quite a lot of people out
there where one should/has to the Reply-To: to reach them!
It's also the sense of Reply-To: to to override the setting
of From:. So as long as the order is hardcoded in mhonarc
one has to check reply-to before from.
For lists that insist adding/replacing list address with their
own list address it's much better to introduce a an ordered list
of Headers to check that can be set on a archive by archive version,
e.g., say
<FindFromAddr>
original-reply-to
x-reply-to
from
-default-
</FindFromAddr>
Achim
Let me show my idea as a patch:
---------------------------------------------------------------------
diff -urN MHonArc2.1.1/mhonarc MHonArc2.1.1patched/mhonarc
--- MHonArc2.1.1/mhonarc Thu Feb 19 09:29:19 1998
+++ MHonArc2.1.1patched/mhonarc Thu Feb 19 17:01:16 1998
@@ -924,8 +924,8 @@
##----------##
## Get From ##
##----------##
- $from = $fields{'reply-to'} ||
- $fields{'from'} ||
+ $from = $fields{'from'} ||
+ $fields{'reply-to'} ||
$fields{'apparently-from'} ||
'No Author';
---------------------------------------------------------------------
--
Koichi Nakatani
Graphic Arts Center, Konica Corporation