🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #24492

tin/inews posting problems

#24492
From: Michael S. Weiner
Date: Sat, 27 Jul 1996 00:00
155 lines
6029 bytes

PROBLEM:
As one can tell from my bogus 'From: <address> 
in the header to this post,
I am having trouble getting any of several
news reading programs to post correctly under
under SCO UNIX OSR5
and Skunk5 tin 1.2PL2 --
(and for other reasons detailed below also for
Lynx 2.5FM (7-12-96), Skunk5 inews, and netscape for SCO OSR5).
(I am not in a position to recompile the programs
from source -- and am using the precompiled SKUNK5 versions
for SCO instead.)

QUESTIONS:
1) How can I get tin to use the right
(fully qualified domain address - 'mgcave.docw.com') in the
From: <header line>
instead of just the node (machine name).

2)How can I get the Skunk5 mini inews
(whether called by Lynx-2.5 or run independantly)
to know what server to contact?

WHAT HASN'T WORKED:
-searching all scohelp, the SSL's, comp.unix.sco.misc.FAQ,
-reading man tin (skunk5).
-looking hard at all the files in $HOME/.tin for something
to redefine.
-greping and changing any occurances of mgcave in
$HOME/.tin and /usr/mmdf and /usr/mmdf/table
(and runnning dbmbuild).
- checking that /etc/systemid had a valid domain
on the first line and mgcave on the second.
- checking /etc/hosts to have no occurrences of 
'mgcave' unless in the form 'mgcave.docw.com'
-putting either (or both) NNTP_INEWS_GATEWAY
and NNTP_INEWS_DOMAIN in my enviroment and exporting them
as possibly suggested in 'man tin' and the skunk2/src/Tools/tin
instructions -- apparently these are left undefined
in the SCO build.  
-putting a FROMHOST definition in a $HOME/.tin/headers
file as suggested by someone in news.software.readers newsgrp
(but there is no documentation of this or of the
format of the definition line).

WHAT DOES HELP A LITTLE:
I finally have determined that I can change the
'From: mgcave...' entry to 'From: no_cigar...'
with the  command:
/bin/uname -S no_cigar
However, both the documentation (and error message)
from uname -S are clear that this is a machine name
(upto 8 lowercase alphanumeric,'-','_' --
definately no '.' which means definately no
fully qualified domain stuff so I can change it to
'no_cigar' but not 'nocigar.com'.

My C is a little rusty but I've looked at the
skunk5/src/Tools/tin-1.2/post.c (and tin.h) and
I can't find any place else that its looking for
a domain except by opening a pipe to uname -a.
ALTHO GET THIS: after root does:
uname -S no_junk
chmod a-rx /bin/uname
mv /bin/uname /bin/uname.bac
Then when I login out and in as the user,
connect with tin to the news server and post to the test
group -- somehow tin finds (and posts) the totally
bogus and suppposedly unfindable new node name: 'no_junk'!
Also of interest, when I run
inews -h -D itest     # on reasonable proto news post,
inews puts on a from field "From: msw@docw.com"
which is fine, but also gives a line:
Sender: msw@no_cigar.docw.com
This means it is finding the node from uname
_and_ correctly constructing the FQDN which tin
is failing to do (proving this post doesn't belong in this
group -- its a tin problem.
So much for tin.

OTHER NEWS POSTING PROBLEMS:

Netscape (for SCO): Nice for reading but won't let me post --
possibly for same reasons.  However, I'm not interested
in struggling with netscape as a poster because I can't
find any documentation that would tell me I can
use a real editor (like ex, vi, emacs).

INEWS and LYNX (v 2.5PL(7.12.96) [thanks Bela]:
I really like this program but I can't get it to post.
Lynx depends on an inews to post, but I can't even get
inews -h good.news.file    to post.
I use the lynx posting mechanism to get a tmp file
that looks like this:

From: msw@docw.com
Subject: inews_test
Newsgroups: alt.test.group
Summary: 
Keywords: 

testing inews

Then, I give the command
inews -h -D itest
(without the -h i get nothing) and I get this:

Path: not-for-mail
From: msw@docw.com
Newsgroups: alt.test.group
Subject: inews_test
Date: 26 Jul 1996 17:30:51 -0500
Lines: 4
Sender: msw@no_cigar.docw.com
Message-ID: <4tbgur$cni@no_cigar.docw.com>

testing inews
-- 
Michael S. Weiner      msw@docw.com
Austin, Tx             voice: 512-266-1188

Then when I give a inet -h itest (while on the net)
despite all I've done below to define the news server,
I get a "What is the server?  spooling for later" error.

Here is what I have done to get inews to find the server.
In the lynx.cfg file (in the unix
section to define inews I have the line:
INEWS:file://localhost/u/local/inews -h 
(which is where I put the inews binary I found on Skunk2)
in the ./src/Tools/inn... tree as there isn't a binary in
the ./src/Tools/Lynx-2.4 tree.
Altho, according to man inews(1), inews is supposed to
get its news server info from 'inn.conf' and
this is supposed (according to inn.conf(5)) to reside in
/news/news, I put the inn.conf file both there and
in /usr/lib/news (as this looks like what is defined
in skunk2/src/Tools/lynx.2.4/inews/config.h
(I also put it in /usr/lib/news/news just to be sure
and in $HOME/news and $HOME/news/news as well.
I have also defined in /usr/local/lib/lynx/lynx.cfg:
LYNX_HOST_NAME:mgcave.docw.com
LOCALHOST_ALIAS:news2.bga.com     # my news server
LOCAL_DOMAIN:docw.com

Any answers to any of the above questions or other
suggestions would be much appreciated.

--
Michael S. Weiner      msw@docw.com
Austin, Tx             voice: 512-266-1188

Technical Details
Message-ID: <4tdeie$9ls@news3.realtime.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <4tdeie$9ls@news3.realtime.net>
Subject: tin/inews posting problems
Date: Sat, 27 Jul 1996 00:00:00 +0000
From: msw@no_cigar (Michael S. Weiner)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 170423098
Organization: Real/Time Communications Internet customer posting
X-rtcode: f2f45949318e408f76fa3df4
Reply-to: msw@docw.com
Newsgroups: news.software.readers