Thread View: news.software.nn
3 messages
3 total messages
Started by Yoda
Fri, 20 May 1994 16:47
problem posting via mini-inews - Path: line...
Author: Yoda
Date: Fri, 20 May 1994 16:47
Date: Fri, 20 May 1994 16:47
48 lines
2620 bytes
2620 bytes
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!
Whoops... also, note that it uses my local username of bruce... this is not my
mail address. HIDDENDOMAIN or whatever allowed me to use the vnet.ibm.com without
the rs6nltc thing, but I couldn't figure out how to easily get it to use
bruceb@vnet.ibm.com in the from: line...
Thanks,
bruce
From bruce Fri May 20 12:39:06 1994
Received: by rs6nltc.torolab.ibm.com (AIX 3.2/UCB 5.64/4.03)
id AA34618; Fri, 20 May 1994 12:39:06 -0400
Date: Fri, 20 May 1994 12:39:06 -0400
From: bruce (Yoda)
Message-Id: <9405201639.AA34618@rs6nltc.torolab.ibm.com>
To: bruce
Subject: post failed
Status: RO
Article not accepted by server; not posted.
Duplicate "Path" header/u/bruce/nnmain/inews failed
Your response has been saved in ~/dead.letter
Your article follows:
Path: vnet.ibm.com!bruce
Date: 20 May 94 16:33:51 GMT
Message-ID: <bruce.769451631@vnet.ibm.com>
Newsgroups: alt.test
Distribution: local
Subject: hm, a test mayhaps?
bruce
nn's mini-inews test...
--
Bruce Baltzer - bruceb@vnet.ibm.com - baltzebw@newton.ccs.tuns.ca
NLTC, IBM Toronto (Canada) Software Lab
Electrical Engineering Student (one more year *sigh*)
PGP Public Key available on request.
Re: problem posting via mini-inews - Path: line...
Author: Tonko Ljubicic
Date: Mon, 23 May 1994 07:29
Date: Mon, 23 May 1994 07:29
39 lines
2471 bytes
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
Re: problem posting via mini-inews - Path: line...
Author: David Friedlander
Date: Mon, 23 May 1994 20:06
Date: Mon, 23 May 1994 20:06
36 lines
2331 bytes
2331 bytes
tonko@apoirb.irb.hr (Tonko Ljubicic) writes: >In <2ripjl$hvn@tornews.torolab.ibm.com> bruce@rs6nltc.torolab.ibm.com (Yoda) writes: >[...] >>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 : > [ ... deleted...] >And comment them out. These are the lines that add the 'Path:' header >regardless of other '#define's... I am not sure it is necessary to change anything in the code. I suddenly was getting the same error when our news server changed to INN. It turns out that whatever the news server was running before (C-News??) was tolerant of the duplicate header, but INN is not. Our solution was to comment out the following line from the config.h file and recompile: /* #define NNTP_MINI_INEWS_HEADER */ /* uses "broken" mini-inews */ Hope this helps. +---------------------------------------------------------------------------+ |David Friedlander / Hughes STX / Code 664 dpf@egret.gsfc.nasa.gov | |Energetic Gamma Ray Experiment Telescope | |Compton Gamma Ray Observatory | |NASA/ Goddard Space Flight Center, Greenbelt, MD 20771 (301) 286-1129 | +---------------------------------------------------------------------------+
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