🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #5882

Re: problem posting via mini-inews - Path: line...

#5882
From: Tonko Ljubicic
Date: Mon, 23 May 1994 07:29
39 lines
2471 bytes
In <2ripjl$hvn@tornews.torolab.ibm.com> bruce@rs6nltc.torolab.ibm.com (Yoda) writes:

>I'm using tin to post this, 'cause I can't seem to get nn to post via inews...
>Everything compiled OK (nn6.5 dist) on our RS/6000 running AIX 3.2.  I can read
>news OK, and forward articles, reply to posts via email, that kind of thing.
>Posts always get refused by our news server when I use nn.  Below is a sample of
>a test post that failed.  The reason seems to be the Path: line... I was wondering
>if someone more knowledgable could tell me how to fix this problem... it would
>be greatly appreciated!

[...]

>Article not accepted by server; not posted.
>Duplicate "Path" header/u/bruce/nnmain/inews failed


As the line above says, both the 'nnpost' and the 'mini-inews' are generating
a 'Path:' line. The documentation is unclear but here's what you should do :

go to inews/inews.c and find the lines :

#ifdef HIDDENNET
        /* Only the login name - nntp server will add uucp name */
        fprintf(ser_wr_fp, "Path: %s\r\n", passwd->pw_name);
#else /* HIDDENNET */
        fprintf(ser_wr_fp, "Path: %s!%s\r\n", host_name, passwd->pw_name);
#endif /* HIDDENNET */

And comment them out. These are the lines that add the 'Path:' header
regardless of other '#define's...

	-- Tonko


-- 
SMTP : tonko@apoirb.irb.hr                //   Ante Ljubicic, Jr. (Tonko)
X400/EAN : tonko.ljubicic@x400.irb.hr    //   Ruder Boskovic Inst.
voice: +385-(0)41-461079                //   Zagreb, CROATIA   
"Yes, it's me - the Central Scrutinizer" -- F. Zappa
Technical Details
Message-ID: <2rpm0p$f1j@apom40.irb.hr>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!bga.com!news.sprintlink.net!get.hooked.net!decwrl!ames!lll-winken.llnl.gov!overload.lbl.gov!agate!doc.ic.ac.uk!uknet!EU.net!Austria.EU.net!newsfeed.ACO.net!nippur.irb.hr!not-for-mail
References: <2ripjl$hvn@tornews.torolab.ibm.com>

Show Full Headers
Complete Article Headers
Message-ID: <2rpm0p$f1j@apom40.irb.hr>
Subject: Re: problem posting via mini-inews - Path: line...
Date: Mon, 23 May 1994 07:29:29 +0000
From: tonko@apoirb.irb.hr (Tonko Ljubicic)
References: <2ripjl$hvn@tornews.torolab.ibm.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!bga.com!news.sprintlink.net!get.hooked.net!decwrl!ames!lll-winken.llnl.gov!overload.lbl.gov!agate!doc.ic.ac.uk!uknet!EU.net!Austria.EU.net!newsfeed.ACO.net!nippur.irb.hr!not-for-mail
Newsgroups: news.software.nn
Organization: Ruder Boskovic Inst., Zagreb, CROATIA
Lines: 39
Distribution: world
NNTP-Posting-Host: apom40.irb.hr
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit