🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #54072

Re: mail-copies-to Issue

#54072
From: J. Moreno
Date: Mon, 15 Nov 1999 00:00
89 lines
5494 bytes
Jochem Huhmann <joh@gmx.net> wrote:

>  * planb@newsreaders.com (J. Moreno) wrote:
>  > As for mixing up keywords and addresses...
>  > 
>  > nobody/never  -- keywords
>  > poster/always -- keywords
>  > other  -- should be a full internet address, and as with the other
>  > things that are supposed to be full internet addresses (From, Reply-to),
>  > it should be examined before use; there are a lot of idiots out there
>  > and you have to keep an eye out for them.
> 
> I understand what you mean. But - should newsreader implement RFC
> correct parsing of *addresses* at all? Isn't that up to a MTA actually?

If the newsreader is going to allow sending mail, then it is up to it to
do some sanity checking.

And it doesn't need to do full 822 parsing.

>  > I've not actually coded this myself, but I have helped other people do
>  > so -- and IMO it isn't complex.
> 
> Yes, but every newsreader developer has to do that then and so has a
> chance to get it wrong. In all other cases a newsreader can just hand
> over a mail to a Mail Transport Agent and if the address happens to be
> invalid, it bounces. With MCT the newsreader has to understand all this
> address stuff to see if there is a magic word (so it can act
> accordingly) or a somehow valid address, which it can put in a Cc field.

No, this came up several years ago -- the keywords are keywords, they
should be looked for outside of any parsing.

Also -- and I believe I mentioned this a couple of times; recognition of
an address is option.  MessengerPro doesn't handle addresses for
instance, and AFAIK isn't going to.

If the newsreader wants to handle MCT then it should do some sanity
checks, just like he does for other headers.

Hmn, let me give you an example of what I mean:

From: "Pedro Larios" <l a r i o s at m e t r o w e r k s dot c o m>

This could quite easily happen, the above From header is invalid, but is
being used -- if he adds MCT poster then things still go wrong.  As the
sender, the newsreader should do some sanity checking before trying to
pass it off to the MTA.  Parsing the address is simply a good idea, and
while newsreaders can and are used on a local network, I'd not recommend
that they assume that addresses retrieved from the headers were local,
at least not without a option to make sure that was the case.

> MCT is supported by: AdBuster, Gnus, Hogwasher, Internews, MacSOUP,
> Messenger Pro, MT-NewsWatcher, NewsHound, NewsReader.Com, NewsWatcher,
> rnr, Slrn, YA-NewsWatcher. Don't get me wrong, there are a few very nice
> newsreaders amongst these, but statistically these surely don't make up
> the majority of used newsreaders. MCT makes only sense if it is widely
> supported and to reach this, it has to be plain and simple. If it is
> necessary to do RFC correct parsing of the address to not to break in
> funny ways under certain circumstances, MCT will either stay a quite
> exotic thing or it will be unbelievable buggy in practice. 

It is plain and simple.  RFC correct parsing isn't necessary. Checking
for a keyword is quite simple, and not prone to producing bugs.  The
switch from 'never' to 'nobody' has pretty much already happened, this
won't be a problem in the future for new clients adding support for it.


> Why don't make it as simple as it actually is by saying: This string in
> Mail-Copies is a keyword, one of "yes" and "no". If it is "yes", look at
> Mal-Copies-To and put the address there into Cc. If there is no
> Mail-Copies-To, take the address from Reply-To or From. This is a
> no-brainer.

Because it requires changing those programs that already do it, and
doesn't do anything except add another header.

You aren't making it less complex you are making it more -- it requires
that now instead of checking for one header and acting, they have to
check 1 header, then check to see if another header exist, and then
check to make sure it follows the "current" usage, and then act.

Face it, if everybody that was using Gnus or slrn, was using the latest
version, this wouldn't be a problem.

-- 
John Moreno

Technical Details
Message-ID: <1e1bk4s.1bnboxb1g2scimN%planb@newsreaders.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.mac.comm.mbox.zip!not-for-mail
References: <w3qn1sjfu9z.fsf@shell.tsoft.com> <greg-1211991435420001@xana.war-of-the-worlds.org> <w3qln8349t2.fsf@shell.tsoft.com> <greg-1211991836240001@xana.war-of-the-worlds.org> <m3so2aky4s.fsf@nova.revier.com> <greg-1411990249380001@oshar.war-of-the-worlds.org> <1e19gby.1nlcb01r4dqwfN%planb@newsreaders.com> <1e19l32.rkq2wn1d79u6N%planb@newsreaders.com> <m3ogcwohcg.fsf@nova.revier.com> <80nkes$mnq$1@eve.enteract.com> <m366z4o4bj.fsf@nova.revier.com> <1e1b6lm.ge0v8k7swqdiN%planb@newsreaders.com> <m34senmw5m.fsf@nova.revier.com>

Show Full Headers
Complete Article Headers
Message-ID: <1e1bk4s.1bnboxb1g2scimN%planb@newsreaders.com>
Subject: Re: mail-copies-to Issue
Date: Mon, 15 Nov 1999 00:00:00 +0000
From: planb@newsreaders.com (J. Moreno)
References: <w3qn1sjfu9z.fsf@shell.tsoft.com> <greg-1211991435420001@xana.war-of-the-worlds.org> <w3qln8349t2.fsf@shell.tsoft.com> <greg-1211991836240001@xana.war-of-the-worlds.org> <m3so2aky4s.fsf@nova.revier.com> <greg-1411990249380001@oshar.war-of-the-worlds.org> <1e19gby.1nlcb01r4dqwfN%planb@newsreaders.com> <1e19l32.rkq2wn1d79u6N%planb@newsreaders.com> <m3ogcwohcg.fsf@nova.revier.com> <80nkes$mnq$1@eve.enteract.com> <m366z4o4bj.fsf@nova.revier.com> <1e1b6lm.ge0v8k7swqdiN%planb@newsreaders.com> <m34senmw5m.fsf@nova.revier.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.mac.comm.mbox.zip!not-for-mail
X-Deja-AN: 549016702
Mail-Copies-To: nobody
X-ACLA-Charter: <http://www.deja.com/msgid.xp?MID=%3Cphenix-121119981748546229@roxboro0-023.dyn.interpath.net%3E&ST=&AH=1>
X-Face: ]lUBtDImSD_`E"<*ZgyJUoCT\=CdRLFX4qCMLK[xy^L7v|uX|f8`cFDd*PaH8 N*x>d^h
Organization: NetNews BOFH wannabe
User-Agent: MacSOUP/2.4.2
Newsgroups: comp.sys.mac.comm,news.software.readers