Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Jun 2001 19:55:01 -0700
From:      Dima Dorfman <dima@unixfreak.org>
To:        Mikhail Teterin <mi@aldan.algebra.com>
Cc:        peter@wemm.org, ue@nathan.ruhr.de, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/gnu/usr.bin/send-pr send-pr.sh 
Message-ID:  <20010604025501.2C4883E31@bazooka.unixfreak.org>
In-Reply-To: <200106040222.f542MfP37672@aldan.algebra.com>; from mi@aldan.algebra.com on "Sun, 3 Jun 2001 22:22:40 -0400 (EDT)"

next in thread | previous in thread | raw e-mail | index | archive | help
Mikhail Teterin <mi@aldan.algebra.com> writes:
> On  3 Jun, Peter Wemm wrote:
> >> >> On  2 Jun, Dima Dorfman wrote:
> >> > [...]
> >> >> >   Put  the  originator's full  name  in  the From  and  Reply-to
> >> >> >   fields,  and stick  their username  (which sendmail  will make
> >> >> >   into an e-mail address) inside  '<>'. Sendmail will still DTRT
>> >> >   with this, and  it conveniently puts the  submitter's name and
> >> >> >   e-mail  address on  one line,  just  like it  should be  after
> >> >> >   "Submitted by" in a commit message.
> >> >>
> >> >> But will all mailwrap-able MTAs DTRT?
> >> >
> >> > They better DTRT or they don't  belong on the Internet in the first
> >> > place. If  you read the  various standard documents,  starting with
> >> > RFC 821/822, you  will find that <> are defined  as delimiters of a
> >> > machine-parseable  address and  that  the mailer  is  to use  their
> >> > content; ignoring all other parts of the line in question.
> >> 
> >> Well, I was referring to  the "conveniently puts the submitter's name
> >> and e-mail address on one line" part. Will other MTAs do that?
> >
> > They must in order  to be RFC compliant. If somebody  feeds it a local
> > address "From:  John Smith  <jsmith>" or  "From: jsmith  (John Smith)"
> > then  the MTA  *MUST* qualify  it with  a fully-qualified  domain name
> > before it leaves  the local machine/domain. ie: it MUST  convert it to
> > either "From:  John Smith  <jsmith@foo.org>" or  "From: jsmith@foo.org
> > (John Smith)".
> 
> No way, my English can not be THAT bad. Let me rephrase it, will another
> MTA _conveniently put the submitter's name_ there? If I put 
> 	From: <mi>
> *MUST* an MTA expand it into
> 	From: Mikhail Teterin <mi@foo.org>
> or can it just do
> 	From: <mi@foo.org>
> to remain compliant?

It only has to expand it to "mi@foo.org"; it's send-pr which puts your
name there.  Look at the diff.

> 
> That  said,  it   is  not  really  that  important,   but  this  lasting
> misunderstanding is amusing...
> 
> 	-mi
> 
> 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010604025501.2C4883E31>