🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
8 messages
8 total messages Started by Russell Schulz Thu, 25 Jan 1996 00:00
do PCs verify From: headers? (was Re: Do PCs bounce mail?...)
#18144
Author: Russell Schulz
Date: Thu, 25 Jan 1996 00:00
30 lines
1801 bytes
marlinf@mck.co.za (Marlin Forbes) writes:

>> This seems to be a frequent, and bloody annoying, problem with
>> Usenet.  At a guess, almost 20% of Reply-To addresses seem to
>> be "bad" -- especially when R(eplying) to News articles from nn;

>> Is it the proliferation of PCs used by individuals rather than the
>> old timeshare systems used my many that has contributed to this
>> sad state of affairs?

> The problem with most users is that they don't know how programs work.

personally, I must disagree.  the problem is mostly with programs
that accept these popular mistakes:

  From: Bob Smith
  From: bob@problem_with_etc_INEWS_DOMAIN
  From: <>
  From: andrew@spj002
  From: bob@spj002@intercom.net
  From: (null)/bob

I have seen all of these (with different alphanumerics in some cases)

no software should even let these get out the door.  the user shouldn't
even have a choice.
-- 
Russell_Schulz@locutus.ofB.ORG  Shad 86c

Re: do PCs verify From: headers? (was Re: Do PCs bounce mail?...)
#18257
Author: Tim Pierce
Date: Sun, 28 Jan 1996 00:00
29 lines
2022 bytes
In article <960125.222352.2w1.rnr.w164w_-_@locutus.ofB.ORG>,
Russell Schulz <Russell_Schulz@locutus.ofB.ORG> wrote:

>  From: Bob Smith
>  From: bob@problem_with_etc_INEWS_DOMAIN
>  From: <>
>  From: andrew@spj002
>  From: bob@spj002@intercom.net
>  From: (null)/bob
>
>no software should even let these get out the door.  the user shouldn't
>even have a choice.

In news, the news server should really be doing this checking
at injection time.  I'm not sure what should happen for mail --
perhaps mail delivery agents should be configured to refuse mail
that has a From header like this one.  But until such a time as
the transport performs those checks, it's up to the user agents to
do it themselves.

You can get some software to perform this sort of syntactical
checking from <ftp://bio-3.bsd.uchicago.edu/pub/twp/devil.shar>.

-- 
By sending unsolicited commercially-oriented e-mail to this address, the 
sender agrees to pay a $100 flat fee to the recipient for proofreading 
services.

Re: do PCs verify From: headers? (was Re: Do PCs bounce mail?...)
#18297
Author: Russell Schulz
Date: Mon, 29 Jan 1996 00:00
31 lines
1798 bytes
Tim Pierce <twpierce@midway.uchicago.edu> writes:

>> From: bob@problem_with_etc_INEWS_DOMAIN
>>
>> no software should even let these get out the door.  the user shouldn't
>> even have a choice.
>
> In news, the news server should really be doing this checking
> at injection time.

this is clearly not true.  where do you think the INEWS_DOMAIN ones
are coming from?

and what does the server do when it fails the validation?  drop the
message?  mail it back to the user (who might not be determinable
at that point)?  right now, it's `post it anyway'.

> I'm not sure what should happen for mail -- perhaps mail delivery agents
> should be configured to refuse mail that has a From header like this
> one.

again -- what do they do with it if it fails?

> But until such a time as the transport performs those checks, it's up to
> the user agents to do it themselves.

right.
-- 
Russell_Schulz@locutus.ofB.ORG  Shad 86c

Re: do PCs verify From: headers? (was Re: Do PCs bounce mail?...)
#18313
Author: Tim Pierce
Date: Mon, 29 Jan 1996 00:00
56 lines
3154 bytes
In article <960129.100453.6T0.rnr.w164w@locutus.ofB.ORG>,
Russell Schulz <Russell_Schulz@locutus.ofB.ORG> wrote:

>Tim Pierce <twpierce@midway.uchicago.edu> writes:
>
>> In news, the news server should really be doing this checking
>> at injection time.
>
>this is clearly not true.  where do you think the INEWS_DOMAIN ones
>are coming from?

If the newsreader is smart enough to know that it doesn't know its
own domain, then obviously it has no business posting a message at
all.  I take that as an axiom.

The point is that of these choices:

  * fix and upgrade some fifty or sixty different *kinds* of
    newsreaders for a dozen different platforms (or persuade the
    authors to fix where no source is freely available, or
    persuade the maintainers to fix where the original author has
    abandoned their ill-thought-out package), or

  * require the news server to check the syntax of From headers on
    injected articles, regardless of what kind of newsreader
    submitted it,

the second option is clearly the more practical way to solve the
problem.

>and what does the server do when it fails the validation?  drop the
>message?  mail it back to the user (who might not be determinable
>at that point)?  right now, it's `post it anyway'.

The server returns an error code and drops the article.  The user,
if they're using a newsreader that's smart enough to give them an
error message, sees something that says "illegal e-mail address"
and goes to fix it.  (If they're not, I'm not too worried; it's no
longer my problem that they're using brain-dead software.)

>> I'm not sure what should happen for mail -- perhaps mail delivery agents
>> should be configured to refuse mail that has a From header like this
>> one.
>
>again -- what do they do with it if it fails?

Anything they like, as far as I'm concerned.  Just don't deliver
it.  The users don't get notified?  That's what they get for being
clueless.

-- 
By sending unsolicited commercially-oriented e-mail to this address, the 
sender agrees to pay a $100 flat fee to the recipient for proofreading 
services.

the user must suffer (was Re: do PCs verify From: headers?...)
#18444
Author: Russell Schulz
Date: Thu, 01 Feb 1996 00:00
22 lines
1594 bytes
Tim Pierce <twpierce@midway.uchicago.edu> writes:

>> and what does the server do when it fails the validation?  drop the
>> message?
>
> The server returns an error code and drops the article.

>> again -- what do they do with it if it fails?
>
> Anything they like, as far as I'm concerned.  Just don't deliver
> it.  The users don't get notified?  That's what they get for being
> clueless.

we have two points of view.  one which requires effort, and gives
the users a chance at not being frustrated by their software, and
one which laughs at them and throws away their messages.

I've _got_ to think the first one is the one worth advocating.
-- 
Russell_Schulz@locutus.ofB.ORG  Shad 86c

Re: the user must suffer (was Re: do PCs verify From: headers?...)
#18485
Author: Tim Pierce
Date: Fri, 02 Feb 1996 00:00
48 lines
2926 bytes
In article <960201.231538.0t2.rnr.w164w_-_@locutus.ofB.ORG>,
Russell Schulz <Russell_Schulz@locutus.ofB.ORG> wrote:

>we have two points of view.  one which requires effort, and gives
>the users a chance at not being frustrated by their software, and
>one which laughs at them and throws away their messages.
>
>I've _got_ to think the first one is the one worth advocating.

Jesus, Russell.  What *is* your solution?

I've done code that does a complete and accurate syntax check on
an e-mail address.  You want it, come get it -- you're welcome to
use it.  I agree wholeheartedly that it could make things a lot
easier for the user if the check was made by the newsreader, and I
heartily encourage newsreader implementors to do so.

But I can't do much more than encourage people.  I can't fix every
screwy newsreader out there.  I sent Jamie Zawinski copies of this
code several weeks ago, but judging from reports I've heard about
the latest beta, he's declined to link it into Netscape News.
What can I do at this point?

People post from a newsreader that doesn't perform any checks, and
their post goes out like this:

  From: chris@PROBLEM_WITH_INEWS_DOMAIN_FILE
  Subject: help with compiling mumble v1.04 on Foonix Sys R4!

  Please email me if you can help me with this problem!!!

Is that really what you'd prefer?  Or at the very least, should
the server not alert the user that their e-mail address is invalid
and should be corrected before a post is made?  I cannot believe
that you truly think it better for their posts to go out with
unreplyable addresses -- it amounts to giving the client an extra
few feet of the proverbial rope.

At the very least, perhaps the unfriendly check on the part of the
server will motivate authors to make friendly checks on a local
basis.

-- 
By sending unsolicited commercially-oriented e-mail to this address, the 
sender agrees to pay a $100 flat fee to the recipient for proofreading 
services.

Re: the user must suffer (was Re: do PCs verify From: headers?...)
#18512
Author: John E. Davis
Date: Fri, 02 Feb 1996 00:00
28 lines
1873 bytes
On Thu, 1 Feb 1996 23:15:38 -0700, Russell Schulz <Russell_Schulz@locutus.ofB.ORG>
wrote:
 : Tim Pierce <twpierce@midway.uchicago.edu> writes:
 : 
 : >> and what does the server do when it fails the validation?  drop the
 : >> message?
 : >
 : > The server returns an error code and drops the article.
[...]
 : we have two points of view.  one which requires effort, and gives
 : the users a chance at not being frustrated by their software, and
 : one which laughs at them and throws away their messages.

There are essentually two pieces of software: the server and the client.  If
the client sends the server a message that fails to meet certain standards,
the server has the right to reject the message.  The server will return an
error code indicating why the message was rejected.  That is all it can do.
It is up to the client to check the error code and inform the user that the
message was dropped and why.  If the client does not do this and the user
gets frustrated, then that is the user's problem--- the user should look for
a client that works.

Tim is 100% correct.

--John


Re: the user must suffer (was Re: do PCs verify From: headers?...)
#20083
Author: Russell Schulz
Date: Sat, 23 Mar 1996 00:00
62 lines
3091 bytes
[I know this is old]

Tim Pierce <twpierce@midway.uchicago.edu> writes:

>> we have two points of view.  one which requires effort, and gives
>> the users a chance at not being frustrated by their software, and
>> one which laughs at them and throws away their messages.
>>
>> I've _got_ to think the first one is the one worth advocating.
>
> What *is* your solution?

putting code in agents to not generate `From: <bill>' in the first place.

> I agree wholeheartedly that it could make things a lot easier for the
> user if the check was made by the newsreader, and I heartily encourage
> newsreader implementors to do so.

this is all I am saying.  this is all I have ever said about this.

> [written it, but authors don't use it] What can I do at this point?

have your server strip them out, if you wish.

>   From: chris@PROBLEM_WITH_INEWS_DOMAIN_FILE
>   Subject: help with compiling mumble v1.04 on Foonix Sys R4!
>
>   Please email me if you can help me with this problem!!!
>
> Is that really what you'd prefer?

of course not.  my preferences in the thread have been clear -- I prefer
that the newsreader do sanity checks.  this clearly did not happen in
this case, so you're either ignoring me, or being very forgetful, or just
trying to pick a fight with someone with whom you're in agreement.

the reason I don't strip out such posts here is that I always wonder
if the body will be

  Please help me configure inews -- it's not reading my domain file!
  chris@foo.net

probably, I should just not care.

> Or at the very least, should the server not alert the user that their
> e-mail address is invalid and should be corrected before a post is made?

is that INEWS_DOMAIN_FILE error generated by the newsreader, or by
inews?  if by inews (which I view as part of the server in this case,
not as part of the newsreader), then the server clearly should not have
added it -- what was the person thinking who decided that, if there was
no such file, that it should just make something up instead of returning
an error?!?

> I cannot believe that you truly think it better for their posts to go
> out with unreplyable addresses

of course not.  anyone actually reading my articles knows that's not true.
-- 
Russell_Schulz@locutus.ofB.ORG  Shad 86c

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads