🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #35607

slrn message-id generation

#35607
From: Jim Irwin
Date: Fri, 01 Aug 1997 00:00
50 lines
2506 bytes
I am using slrn 0.9.4.3 on a standalone Linux machine with
a dialup (ppp) connection only and I have no registered
domain. I had been using a bogus domain name in /etc/hosts
and /etc/resolv.conf but I have done away with that and
now have only a machine name (troglodyte) in /etc/hosts:
0.0.0.0		troglodyte

The result of this is that none of the programs that attempt
to find the FQDN of my machine are able to do so. INN, in
particular, will not accept an article for posting if it
cannot determine the FQDN. (I use suck to download a few
groups and then read news off the local spool.)

In slrn/changes.txt, it says:
> slrn now generates its own message id provided that it can
> find the machines fully qualified domain name (FQDN)
but no mention is made of how to make slrn generate a
message-id when it is unable to find the FQDN.

I have been able to get slrn to do this though by editing
slrn/src/sysconf.h : #define USE_DOMAIN_NAME 0
and slrn/src/slrnfeat.h : #define SLRN_FORCE_INEWS        0

There is only one catch, and that is that the first attempt
to post a message in a slrn session will fail as follows:
(these are the messages in the slrn status line after I
finish composing the message and have exited vi)

Post the message? Yes,No,Edit,poStpone  (I choose Y and get...)
Article rejected: 441 Can't generate Message-ID: no such
					article or directory
(this message is displayed for about 2 seconds then...)
Select one: Repost,Edit,Cancel  (I choose R and again get...)
Post the message? Yes,No,Edit,poStpone

This time, choosing Y results in the article being posted
successfully. It is only necessary to go through this for
the first posting attempt in a session. All following posts
are accepted. This is therefore only a minor inconvenience
but I am still wondering if there is a way to avoid even
this first failure.

Does anybody out there have the solution? TIA.

-- 
Jim Irwin <jirwin@mail.netshop.net>
running (..um..walking) Linux 2.0.30

Technical Details
Message-ID: <5rtb38$i3$3@troglodyte>
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: <5rtb38$i3$3@troglodyte>
Subject: slrn message-id generation
Date: Fri, 01 Aug 1997 00:00:00 +0000
From: jirwin@mail.netshop.net (Jim Irwin)
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: 261509221
Organization: not very good
Newsgroups: news.software.readers