Article View: news.software.readers
Article #8356Re: Zero tolerance for bad Usenet software?
From: Russell Schulz
Date: Wed, 06 Apr 1994 03:21
Date: Wed, 06 Apr 1994 03:21
68 lines
3419 bytes
3419 bytes
(RFD: comp.mail.user-agents)
nelson@reed.edu (Nelson Minar) writes:
> Also, a lot of sites seem to pass on posts where the From: header is
> not even a valid email address ("From: \/aliscafo\/", for instance).
> I'm not sure how hard it is to guess whether it follows the form of a
> valid email address without checking to see if the address is
> deliverable, which is too much work.
here's what I check:
if
(numoccur('.',node)=0)
or
(numoccur('@',newsfrom)<>1)
or
(numoccur('@',mailfrom)>1)
or
(numoccur('@',replyto)>1)
or
(
(numoccur('@',mailfrom)=0) and (numoccur('!',mailfrom)=0)
)
or
(
(numoccur('(',newsfrom)>0) and
(
(numoccur('(',newsfrom)<>1)
or (numoccur(')',newsfrom)<>1)
or (numoccur('<',newsfrom)<>0)
or (numoccur('>',newsfrom)<>0)
)
)
then
begin
xwritelns('invalid node: or netmail:/netnews:/replyto: static entry');
xwritelns(' the node entry needs at least one "."');
xwritelns(' the netmail entry needs one "@" and/or at least one "!"');
xwritelns(' the netnews entry needs one "@"');
xwritelns(' the netnews entry cannot have any of ()<> inside the ()');
xwritelns(' the replyto entry (if any) can have at most one "@"');
xwriteln;
xwritelns('current settings:');
xwritelnss(' node: ',node);
xwritelnss(' newsfrom: ',newsfrom);
xwritelnss(' mailfrom: ',mailfrom);
xwritelnss(' replyto: ',replyto);
shutdown(1);
end;
note that for news, a '@' is required (to prevent B-News mangling).
I just added the checking for ()<> in the From this past week or so.
winqvt seems to do no checking, but I haven't found an email address
for the maintainer yet (that I recorded, anyway -- I don't know if
I bothered to ftp the whole package for one piece of mail).
I welcome others' comments on simple things like this I can do to
make the postings trivially compliant. is there a FBTT list
(frequently bungled trivial things) for newsreaders/mail agents?
we have news.software.readers, but no comp.mail.user-agents?
--
Russell Schulz russell@alpha3.ersys.edmonton.ab.ca ersys!rschulz Shad 86c
Technical Details
Message-ID:
<940405.212157.2K4.rusnews.w164w@alpha3.ersys.edmonton.ab.ca>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.policy.mbox.zip!gmd.de!xlink.net!sol.ctr.columbia.edu!howland.reston.ans.net!cs.utexas.edu!utnut!utcsri!newsflash.concordia.ca!canopus.cc.umanitoba.ca!tribune.usask.ca!kakwa.ucs.ualberta.ca!quartz.ucs.ualberta.ca!alberta!adec23!ersys!alpha3!russellReferences:
<940327.222416.0H9.rusnews.w164w@alpha3.ersys.edmonton.ab.ca> <2n750r$dl6@net.usuhs.mil> <2n7hf4$hbj@scratchy.reed.edu>Show Full Headers
Complete Article Headers
Message-ID: <940405.212157.2K4.rusnews.w164w@alpha3.ersys.edmonton.ab.ca> Subject: Re: Zero tolerance for bad Usenet software? Date: Tue, 5 Apr 1994 21:21:57 MDT From: russell@alpha3.ersys.edmonton.ab.ca (Russell Schulz) References: <940327.222416.0H9.rusnews.w164w@alpha3.ersys.edmonton.ab.ca> <2n750r$dl6@net.usuhs.mil> <2n7hf4$hbj@scratchy.reed.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.policy.mbox.zip!gmd.de!xlink.net!sol.ctr.columbia.edu!howland.reston.ans.net!cs.utexas.edu!utnut!utcsri!newsflash.concordia.ca!canopus.cc.umanitoba.ca!tribune.usask.ca!kakwa.ucs.ualberta.ca!quartz.ucs.ualberta.ca!alberta!adec23!ersys!alpha3!russell Newsgroups: news.admin.policy,news.software.b,news.software.readers Reply-To: russell@alpha3.ersys.edmonton.ab.ca (Russell Schulz) Organization: Private System, Edmonton, AB, Canada X-Newsreader: rusnews v1.06+ Lines: 67