🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Benedict Lofstedt Thu, 10 Jun 1999 00:00
INN-2.2 Help needed - control messages are rejected
#37939
Author: Benedict Lofstedt
Date: Thu, 10 Jun 1999 00:00
62 lines
3132 bytes
Can someone explain why my inn-2.2 news server rejects some valid control
messages.  All I get are log entries like this one in
$inn_most_logs/badcontrol.log: 

    Wed Jun  9 23:43:38 MDT 1999 Bad header by news@news.dknet.dk

The message in question is:

    Control: newgroup dk.binaer.musik
    Message-ID: <928964610.7235@news.dknet.dk>

and it verifies correctly. For reference, the full control message is
repeated below.

If I do a manual check of the message I get:

    % sh
    $ . /news/lib/innshellvars
    $ PROG=newgroup
    $ ( . /news/bin/parsecontrol "news@news.dknet.dk" "news@news.dknet.dk" control/newgroup/182852 "news.dknet.dk" ; echo $ACTION )
    verify

and the group is created OK if I do it by hand:

    $ /news/bin/control/newgroup  "news@news.dknet.dk" "news@news.dknet.dk" control/newgroup/182852 "news.dknet.dk"
    $ grep dk.binaer.musik /news/db/active
    dk.binaer.musik 0000000000 0000000001 y

Why is this not happening automatically when the article arrives?

--- benedict

For reference, here is the full control message:

Path: news.daimi.au.dk!news.net.uni-c.dk!newsfeed1.uni2.dk!newsfeed.tli.de!news-
feed.inet.tele.dk!bofh.vszbr.cz!news.dknet.dk!bounce-back
From: Usenet at DKnet A/S <news@news.dknet.dk>
Newsgroups: dk.binaer.musik
Subject: cmsg newgroup dk.binaer.musik
Control: newgroup dk.binaer.musik
Approved: sbs@int.tele.dk (Sten B�k S�rensen)
Message-ID: <928964610.7235@news.dknet.dk>
Date: Wed, 9 Jun 1999 21:43:30 UTC
Lines: 2
Organization: Tele Danmark Internet
X-Info: See http://www.DK.net/Usenet/pgp.html
X-PGP-Sig: 5.0i Subject,Control,Message-ID,Date,From,Sender
        iQCVAwUBN17R+VA+Uwa6Eu1pAQF8EgP/aolY4LJCLgTEfY3fzhiI+613QweebF+4
        20eU9irWmEe1a2CD8QQPISuYI5coAQCUuffEI53Hfy3gthJsxFKHFc079+TB7kBK
        UvKvBhd6M2xXmzvg4QYB2j8HpjG+/Kp5eQQD0w3ORsto5Au0imnFd3K7GWO7syof
        1qMo3DH6av4=
        =H2jW
Xref: news.daimi.au.dk control.newgroup:182852

For your newsgroups file:
dk.binaer.musik         Indlaeg med vedhaeftede filer relateret til musik.
--
Benedict Lofstedt     <blofstedt@daimi.au.dk>
University of Aarhus, Department of Computer Science	  Fax:   + 45 8942 3255
Building 540, Ny Munkegade, DK-8000 Aarhus C, Denmark.    Phone: + 45 8942 3222

Re: INN-2.2 Help needed - control messages are rejected
#38215
Author: Russ Allbery
Date: Wed, 23 Jun 1999 00:00
30 lines
1622 bytes
Benedict Lofstedt <benedict@daimi.au.dk> writes:

> Can someone explain why my inn-2.2 news server rejects some valid
> control messages.  All I get are log entries like this one in
> $inn_most_logs/badcontrol.log:

>     Wed Jun  9 23:43:38 MDT 1999 Bad header by news@news.dknet.dk

> The message in question is:

>     Control: newgroup dk.binaer.musik
>     Message-ID: <928964610.7235@news.dknet.dk>

> and it verifies correctly. For reference, the full control message is
> repeated below.

parsecontrol outputs that error message when it can't find a valid Control
or Subject: cmsg header in the article it's getting fed.  Why it would be
thinking that about that particular message I have no idea; the only
hypothesis that comes to mind is that it's confused about what PROG is or
something.

I don't have any good ideas here besides trying controlchan (which I'd
recommend in general anyway).  It uses a completely different parsing
algorithm.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads