🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #18661

Re: signcontrol and inews (INN 1.5.1)

#18661
From: Simon Lyall
Date: Tue, 24 Jun 1997 00:00
49 lines
1852 bytes
Michael Grubb <mg@duke.edu> wrote:
>The article is posted fine but the PGP verification fails because 
>INN's inews always changes the date, and signcontrol (intelligently, 
>I think) wants to use the Date header for the PGP signature.  I can 
>fix this by changing signcontrol not to use the Date header (removing
>'Date' from @signheaders), but I'd like to know if anyone else has a 
>different approach.

I use the script below instead of inews. You just have to make sure that
you are in the hosts.nntp of the server you are aiming at (I think
news.uu.net still works, it doesn't say much when I connect to it)

--cut-here--
#! /bin/sh
## Post an article via IHAVE.
## args: filename server

if test "$2" = "" ; then
  echo usage: $0 filename server
  exit 1
fi
if test ! -f $1 ; then
  echo $1: not found
  exit 1
fi

# suck msg-id out of headers, keep the brackets
msgid=`sed -e '/^$/,$d' $1 | egrep '^[Mm]essage-[Ii][Dd]: ' | \
  sed 's/.*-[Ii][Dd]: //'`
echo $msgid

( sleep 5
  echo IHAVE $msgid
  sleep 3
  cat $1
  sleep 1
  echo "."
  sleep 1
  echo QUIT ) | telnet $2 119
--cut-here--


-- 
Simon Lyall. | Looking for Work | Mail: simon@darkmere.gen.nz
"Inside me Im Screaming, Nobody pays any attention."  |  MT.


Technical Details
Message-ID: <5oneds$nrs@darkmere.gen.nz>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <vw14tapqeps.fsf@cambot.oit.duke.edu>

Show Full Headers
Complete Article Headers
Message-ID: <5oneds$nrs@darkmere.gen.nz>
Subject: Re: signcontrol and inews (INN 1.5.1)
Date: Tue, 24 Jun 1997 00:00:00 +0000
From: Simon Lyall <simon@darkmere.gen.nz>
References: <vw14tapqeps.fsf@cambot.oit.duke.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 252155730
Organization: Darkmere Private access Internet, Hamilton, NZ
Newsgroups: news.software.nntp