[comp.mail.mh] repl---From and Return-path

tutiya@russell.STANFORD.EDU (Syun Tutiya) (04/14/88)

for reply
Expires: 
Sender: tutiya@russell.stanford.edu
Reply-To: tutiya@russell.stanford.edu (Syun Tutiya)
Followup-To: 
Distribution: na
Organization: Center for the Study of Language and Information, Stanford U.
Keywords: repl,from, return-path, reply-to, oversea mail

In reconstructing the address/route for a reply message, repl does not
seem to parse the From: field in an invariable manner.  Ie sometimes
it fails to give the proper To: field.  I enclose three files, two
typescripts and my replcomps, which only says to look at From field.
Incidentaly I do not use this replcomps, but another which looks at
Return-path and Reply-to fields, with -query, just to know what
addresses the reply message gets before getting a returned-message.

The first typescript is a session in which to read and reply to a
message from Kyoto, Japan. Look at the last couple lines which comes
after whom command.  "junichinakamura" can be nothing but a result of
repl's efforts to parse the From: field, I guess.

Strangely enough though the same replcomps produces the proper To:
field in the reply to a message from another user on campus.  This is
shown in the second typescrip enclosed.

The third is the replcomps I used to get these typescript.

As I said I am living with this feature/bug but would appreciate if
anyone could suggest a once-for-all solution or if the next version is
free from such a complaint.
--------
Syun
(tutiya@csli.stanford.edu)
------------------
1.  Typescript with strange parsing

Script started on Wed Apr 13 01:10:50 1988
RUSSELL:/usr/user/tutiya/Mail
% more inbox/50
Return-Path: @RELAY.CS.NET:nakamura%nagao4.kuee.kyoto-u.junet@UTOKYO-RELAY.CSNETReceived: from RELAY.CS.NET by russell.stanford.edu (3.2/4.7); Tue, 12 Apr 88 23:42:28 PDT
Received: from relay2.cs.net by RELAY.CS.NET id aa01587; 13 Apr 88 2:05 EDT
Received: from utokyo-relay by RELAY.CS.NET id ar02555; 13 Apr 88 1:59 EDT
Received: by ccut.cc.u-tokyo.junet (5.51/6.3Junet-1.0/CSNET-JUNET)
        id AA22939; Wed, 13 Apr 88 14:32:26 JST
Received: by nttlab.ntt.jp (4.12/6.2NTT.h) with TCP; Wed, 13 Apr 88 13:12:56 jstReceived: from nova.kuis.kyoto-u.junet by kuis.kuis.kyoto-u.junet (2.0/6.3Junet-1.0)
        id AA02213; Wed, 13 Apr 88 10:51:10 jst
Received: by nova.kuis.kyoto-u.junet (1.00/6.3Junet-1.0)
        id AA04861; Wed, 13 Apr 88 10:50:51 jst
Received: by nagao4.kuee.kyoto-u.junet (4.12/6.3Junet-1.0)
        id AA00719; Wed, 13 Apr 88 10:42:42+0900
Date: Wed, 13 Apr 88 10:42:42+0900
From: Junichi NAKAMURA <nakamura%nagao4.kuee.kyoto-u.junet%utokyo-relay.csnet@RELAY.CS.NET>
Return-Path: <nakamura@nagao4.kuee.kyoto-u.junet>
Message-Id: <8804130142.AA00719@nagao4.kuee.kyoto-u.junet>
To: tutiya@RUSSELL.STANFORD.EDU
In-Reply-To: Syun Tutiya's message of Mon, 11 Apr 88 14:43:40 PDT

<<<<<<<<<message deleted>>>>>>>>>>------syun
RUSSELL:/usr/user/tutiya/Mail
% repl -editor prompter
To: Junichi NAKAMURA
    <nakamura%nagao4.kuee.kyoto-u.junet%utokyo-relay.csnet@RELAY.CS.NET>
Fcc: +outbox
Subject: Re: Dr. Kay's tel. no. 
In-reply-to: Your message of Wed, 13 Apr 88 10:42:42 U.
             <8804130142.AA00719@nagao4.kuee.kyoto-u.junet> 
Address: CSLI, Stanford University, Stanford, CA94305  (415)723-2030
--------
testtest
^D--------

What now? whom
  junichinakamura
  nakamura%nagao4.kuee.kyoto-u.junet%utokyo-relay.csnet@relay.cs.net

What now? quite  -d
RUSSELL:/usr/user/tutiya/Mail
% exit
RUSSELL:/usr/user/tutiya/Mail
exit

script done on Wed Apr 13 01:12:30 1988

script done on Wed Apr 13 01:12:30 1988
--------------------------------------
2.  Typescript with normal parsing

Script started on Wed Apr 13 10:27:24 1988
RUSSELL:/usr/user/tutiya
% repl -query -editor prompter
Reply to Jeffrey Goldberg <goldberg@csli.stanford.edu>? y
To: Jeffrey Goldberg <goldberg@csli.stanford.edu>
Fcc: +outbox
Subject: Re: MH reply 
In-reply-to: Your message of Wed, 13 Apr 88 09:20:03 PDT.
Address: CSLI, Stanford University, Stanford, CA94305  (415)723-2030
--------
test
^D--------

What now? whom
  goldberg@csli.stanford.edu

What now? quit -d
RUSSELL:/usr/user/tutiya
% exit
RUSSELL:/usr/user/tutiya
exit

script done on Wed Apr 13 10:36:35 1988

script done on Wed Apr 13 10:36:35 1988

-----------------------------------------------------------------
3.  My test replcomps

%(lit)%(formataddr %<{from}%|%{reply-to}%>)\
%<(nonnull)%(void(width))%(putaddr To: )\n%>\
%(lit)%(formataddr{to})%(formataddr{cc})%(formataddr(me))\
%<(nonnull)%(void(width))%(putaddr cc: )\n%>\
%<{fcc}Fcc: %{fcc}\n%>\
%<{subject}Subject: Re: %{subject}\n%>\
%<{date}In-reply-to: Your message of \
%<(nodate{date}){date}%|%(pretty{date})%>.%<{message-id}
             %{message-id}%>\n%>\
Address: CSLI, Stanford University, Stanford, CA94305  (415)723-2030
--------