NODE 513c4875REMAIL: pasting
nobody@Menudo.UH.EDUTue, 7 Sep 93 10:12:34 PDT
-----BEGIN PGP SIGNED MESSAGE-----
Earlier, a question about pasting arose.
The cypherpunks remailers to support an outgoing pasting token: the
double hash (##). It will paste text into the outgoing mail header.
For example, this message was sent through the remailer
elee9sf@menudo.uh.edu:
- --------------------
::
Request-Remailing-To: cypherpunks@toad.com
##
X-Pasted-By: Karl Barrus
<text of this message>
- --------------------
So there should be an "X-Pasted-By:" in the header somewhere!
I'm not sure about pasting in reply fields to override behavrior.
That dependes on precedence between "From:" and "Reply-To:", etc.
Basically, I'm not real familiar with the appropriate RFC :-)
-----BEGIN PGP SIGNATURE-----
Version: 2.3a
iQCVAgUBLIy/G4OA7OpLWtYzAQHbGgP/alyO+uY6pkzEr9nPKVzYKiB0DcopcKDJ
3tV937CjldyC48K0g3iJ9San6bk6KGLstALQwMSvWIW5kSq1GRxFAgxBuZ9vnT/X
3gN+vn+8jao/H7H20tRilz5nzIW/AhRhc//46Xr4QafPcXI6BXRvsEY0SkzHEkYV
9D5xakEYhiM=
=kf83
-----END PGP SIGNATURE-----
NODE 41c702c2REMAIL: pasting
hughes@ah.com (Eric Hughes)Wed, 8 Sep 93 11:17:57 PDT
>I'm not sure about pasting in reply fields to override behavrior.
>That dependes on precedence between "From:" and "Reply-To:", etc.
>Basically, I'm not real familiar with the appropriate RFC :-)
In short, if there's a Reply-To: field present, the mailer is supposed
to reply to that address. Some mailers don't, unfortunately. Some
reply to the From: line in the mail, and some reply to the out of band
sender information, usually seen in the "From " line at the top of the
mail.
Let's face it, header pasting is a hack. A very nice hack, in certain
ways, but still a hack. As currently implemented, header pasting, be
it incoming (::) or outgoing (##), is a syntactic operator, not a
semantic one.
The relevant RFC is 822, "STANDARD FOR THE FORMAT OF ARPA INTERNET
TEXT MESSAGES". This RFC has several holes in it, however.
The syntactic structure of the header fields indicates that the only
fields which may appear multiple times are receiver fields (To, cc,
bcc, and the Resent-* version of these), Received, and the optional
fields. (I avoid a too-long discussion of the Resent-* fields, whose
description seems to contradict this definition.) Therefore, it is
possible to make syntactically counter-spec mail using header pasting.
It is also possible to make such counter-spec mail in emacs mail mode,
for example, but it doesn't seem to bother anybody much.
Yet RFC-822 is followed as much in the breach as in the observance.
In particular, 822 seems to specify that the recipient of the mail be
contained in one of the destination fields. Yet sendmail takes
parameters on the command line for the destination and ignores the To:
field inside the message. Now there is a flag for sendmail to parse
the mail and determine addresses, but this is not the default, much
less required. I think this behavior of sendmail is good, but it does
appear to be counter to the semantic interpretation of the destination
fields as specified in 822.
My own philosophy on this is that one should never flagrantly violate
822 syntactically, and to take it semantically with a grain of salt.
What are the implications for header pasting? I think it ought to
remain only syntactic, since the semantics that would need to be
defined do not have a solid base in specification, much less in
implementation.
Yet this pasting does not allow 'overriding' of an existing header
field. One could write an operator that removes header fields in the
context of header pasting. In the current remailer situation, this
operator would allow one to remove the "From:" field and substitute
another--instant in-band forgery.
Whether the operators of remailers want to do this is left for
discussion.
Eric