Article View: news.software.readers
Article #20763Re: whose is `perl5newspkg'?
From: Ian Phillipps
Date: Sat, 20 Apr 1996 00:00
Date: Sat, 20 Apr 1996 00:00
49 lines
2386 bytes
2386 bytes
In article <4ku2jh$ko9@xensei3.xensei.com>, <ccrlphr@xensei.com> wrote:
>In article <960414.233720.8g2.rnr.w164w@locutus.ofB.ORG>,
>Russell Schulz <Russell_Schulz@locutus.ofB.ORG> wrote:
>><garbage-headers> writes:
>>> From: ian
I confess. It was me. It was I.
>>> X-Newsreader: perl5newspkg
It isn't a newsreader, really. It's a news up/download system.
Sort of replaces INN for single-user machines.
>I guess this message was send with the inews replacement I put into my perl
>written news sucker package. because anybody is free to use the "From:" header
>he likes (news is not more secure than mail - don't blame any software who
>merely uses this protocol) I've put the following into the inews code:
> > $from=$ENV{NNTP_FROM};
> > $from="$ENV{LOGNAME}@".`hostname` unless ($from);
Hmm... the copy I downloaded from your web site only a few weeks ago has
$from=$ENV{NNTP_FROM};
$from=$ENV{LOGNAME} unless ($from);
$from="Arthur Dent" unless ($from);
$from=~s/\n//g;
Anyhow, it being perl, I hacked it, and this posting will definitely be OK.
I hope.
Oh, and `hostname` isn't a useful way of getting the real host name.
It doesn't give out the domain on the systems I've used.
>And - NNTP has the same weakness as SMTP, so don't blame the client programs
>but blame the protocol which allows this.
I go along with this. Anyone who understands Usenet will realise that
it's trivially easy for anyone to post as Dave Rhodes, or Dave Lawrence,
or some other famous net person.
Ian
--
I am confident this explanation will dispell any feelings
of certainty that may have been troubling you.
- BWHOLMES@SJSUVM1.sjsu.edu (Cabbage) in <9601221753.AA27669@spock>
Technical Details
Message-ID:
<4lbq6c$rb8@soap.news.pipex.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<960414.233720.8g2.rnr.w164w@locutus.ofB.ORG> <4ku2jh$ko9@xensei3.xensei.com>Show Full Headers
Complete Article Headers
Message-ID: <4lbq6c$rb8@soap.news.pipex.net> Subject: Re: whose is `perl5newspkg'? Date: Sat, 20 Apr 1996 00:00:00 +0000 From: ian@dial.pipex.com (Ian Phillipps) References: <960414.233720.8g2.rnr.w164w@locutus.ofB.ORG> <4ku2jh$ko9@xensei3.xensei.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 150556579 Organization: Diplex Consultants Ltd Newsgroups: comp.lang.perl.misc,news.software.readers