🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #10597

Re: [solved?] Problem with NN and /etc/nntpserver

#10597
From: Arctic Fidelity
Date: Wed, 02 Mar 2005 04:37
58 lines
3241 bytes
flaps@dgp.toronto.edu (Alan J Rosenthal) writes:

>Arctic Fidelity <af@homeunix.net> writes:
>>Now, the other problem I'm having now is that I need to make nn send a
>>different From: header. Because the one I have is munged up badly. I'm
>>currently searching for this answer.

>Did you take my suggestion of putting in the #define for DOMAIN?

I am philosophically opposed to taking that approach. :-) I much prefer
to find a good way to do this with variables and dynamics rather than
hard coding much of anything.

I fixed that problem as well, after a short search. The mail-headers and
news-headers variable in the init file works quite well, as prescribed
in a previous post here. Fortunately, Google came to a nice rescue
there.

>>> % host news.server.com
>>> Host news.server.com not found: 3(NXDOMAIN)
>...
>>Hehe, actually, sorry, I wasn't meaning news.server.com to be the
>>*actual* name I was using. :-) The real one I'm using is news.gvtc.com.

>Smiles aside, I suspect that your /etc/nntpserver file did not say exactly
>"news.gvtc.com" either.  Perhaps there are control characters, perhaps nn
>reads the first line and you began with a newline, something like that.

Actually I can assure you that I thought of this, and I did actually try
to figure out what might have caused it. I tried different variations of
the file, including different hidden and non-hidden characters in the
file to see what would happen, including (assuming X = news.gvtc.com):

\ X
\ X\ 
\ X\n
X
X\ 
X\ \n
\tX\n
\tX
\tX 
\nX\n
\nX\ 
\nX\ \n

...

I just received my source code files for 6.6.4 and I'm going to proceed
in solving this issue and finding out exactly what was going wrong, as
well as figure out what I'm going to be doing about the hostname issue. 

- Arctic Fidelity

-- 
"Beware of bugs in the above code; I have only proved it correct, not
tried it."
		-- Donald Knuth
Technical Details
Message-ID: <3K-dnfOlsoSb3rjfRVn-gA@gvtc.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.20140326.mbox.gz!number1.nntp.dca.giganews.com!local01.nntp.dca.giganews.com!nntp.gvtc.com!news.gvtc.com.POSTED!not-for-mail
References: <c8qdnSJxb57cXb3fRVn-qw@gvtc.com> <2005Feb27.232614.20624@jarvis.cs.toronto.edu> <u8OdnbulQNZ8Lr_fRVn-iQ@gvtc.com> <KrGdnVOTduSTbL7fRVn-tQ@gvtc.com> <2005Mar1.111123.17618@jarvis.cs.toronto.edu>

Show Full Headers
Complete Article Headers
Message-ID: <3K-dnfOlsoSb3rjfRVn-gA@gvtc.com>
Subject: Re: [solved?] Problem with NN and /etc/nntpserver
Date: Tue, 01 Mar 2005 22:37:26 -0600
From: Arctic Fidelity <spam@sacrificumdeo.net>
References: <c8qdnSJxb57cXb3fRVn-qw@gvtc.com> <2005Feb27.232614.20624@jarvis.cs.toronto.edu> <u8OdnbulQNZ8Lr_fRVn-iQ@gvtc.com> <KrGdnVOTduSTbL7fRVn-tQ@gvtc.com> <2005Mar1.111123.17618@jarvis.cs.toronto.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.20140326.mbox.gz!number1.nntp.dca.giganews.com!local01.nntp.dca.giganews.com!nntp.gvtc.com!news.gvtc.com.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 01 Mar 2005 22:37:26 -0600
Newsgroups: news.software.nn
User-Agent: nn/6.6.5
Lines: 58
NNTP-Posting-Host: 64.185.189.174
X-Trace: sv3-NiMeRXaXXC0dNP2E5q24PcUaa4ITby+8KGO1Y+pr0tjyMiZRy73e1At3jITkgGqRnX2G0/6/60SKwf8!cFqo+nvswfvkRhfpYDXE6BBWBx/y1NA8MQX+KIbojx5Yz3uYPQUXVugtoOcu/Mi0jLCT
X-Complaints-To: abuse@gvtc.com
X-DMCA-Complaints-To: abuse@gvtc.com
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint
 properly
X-Postfilter: 1.3.32