Article View: news.software.nntp
Article #66113Re: [INN] Newbie questions
From: GregMo
Date: Sun, 13 Jul 2003 15:40
Date: Sun, 13 Jul 2003 15:40
102 lines
6547 bytes
6547 bytes
jeff@litech.org (Jeffrey M. Vinocur) wrote in
news:berohp$9gg$1@puck.litech.org:
>>Secondly (I hope Jeff and Russ is reading), it sure would be nice if
>>there was a INSTALL file geared towards the n00b that's setting up a
>>public access, private server.
>
> not sure what I'd change in a modified INSTALL -- but if you
> can point out any areas that are particularly confusing we'll
> certainly look at them
Well, the main area of uncertainity was the readers.conf in that there's
no examples there for a public server. I guessed at using just a wildcard
for the appropriate 'fields', but to someone that'd never seen this before,
it was a little unclear. With the various examples in readers.conf, I was
surprised that a public server config wasn't given.
> me as such a critical task that I can rank it above lots of
> other things that need to get done
No problem there, I can understand that. I'll likely screw this up before
I get done with it, and if so I'll see about putting something together as
I redo it.
>> no where in any of these does it mention how to effect a change made to
>> the readers.conf.
>
> Hmm, that's a good point. It should probably be at the top of
> either readers.conf(5) or nnrpd(8), or maybe both.
Actually, if I may, I'd suggest it be put into nnrpd(8) with a reference to
it in readers.conf(5). What you've stated below could all but be used
verbatium for the text.
> The answer is that nnrpd only reads config files (both
> readers.conf and inn.conf) when it is spawned. So you can never
> change the behavior of a client that's already connected. If
> either innd or inetd/xinetd is listening on port 119 and spawning
> new nnrpd processes for each connection, then changes take effect
> immediately since each of those processes will read the config
> from scratch. On the other hand, if you're running `nnrpd -D`
> then you changes don't take effect immediately (which I suppose
> means restarting it manually).
Here was a small source of the confusion I had too. I suppose I should have
read more about it before posting, and for that I apologize, but at the time
I hadn't yet grasped the concept that nnrpd was a seperate application, and
I'm still unclear as to whether or not I can just run it and not run innd.
Just for some insight into what a new user might struggle with let me tell
you what I was trying to accomplish. The hostname for my server is
srv.ajax.com but yet I wanted the news server to operate as news.acme.com.
Well, in reading the INSTALL file I saw the field for domain: & pathhost:.
Well, I skimmed domain: but read through pathhost: and I was under the
impression that this is where I'd set this alternate hostname.
As I'm sure you know, this only half provide the results that I wanted in
that it didn't affect the M-ID nor X-Trace at all. Next I saw the option for
domain: in Russ' FAQ to be used in readers.conf. Well, trouble there is that
it mentions domain: with no mention of virtualhost:. Okay, so I tried again
and failed. Then I turn to readers.conf(5) and here the reading of
virtualhost:, to a new user, is confusing at best, not to mention the fault
in that default: & parthhost: aren't properly listed as options, only
mentioned as an after affect of virtualhost:.
Next I tried a few different things here till I got it to where nnrpd
wouldn't accept connections at all (leave it to me). Finally accomplished
what I wanted by specifying domain: and virtualhost: in readers.conf and
removing domain: from inn.conf.
To summerize, a new user would think that domain: defined in inn.conf would
negate the need for it in readers.conf (maybe these should have different
keywords, such as hostname: in inn.conf), Russ' FAQ needs some updating on
virtualhost:, and readers.conf(5) needs a little work in that it should have
pathhost: & domain: listed as options and virtualhost: could use some
rewording.
Now, for something completely different, there's the matter of
addnntppostinghost. I've searched Google three ways from Sunday, searched
the docs, looked basically everywhere I could think to and no where can I
find mention if INN does, or doesn't have the ability to hash this field as
is common with just about everyone that uses this header today. The only
thing that Google turned up that hinted at what I was looking for was this
[1] message from Russ on a UseFor list. If this is something that it can't
do, it'd be nice if this could be included in a/the FAQ, which I'm surprised
doesn't come packaged with INN. Naturally, it would be even better if this
was hinted at in inn.conf(5).
I truely hope I'm not being a pain here as I'm sure I'll become one once I
start trying to get two servers using different interfaces running off of the
same machine :-)
Cheers,
GregMo
--
UNIX Sex
{look;find;gawk;talk;date;grep;touch;finger;find;flex;unzip;head;strip;
top;mount;workbone;fsck;yes;gasp;fsck;more;fsck;more;more;yes;tail;
fsck;eject;umount;make clean;zip;done;split;exit;uptime>/var/log/brag}
[1] http://www.landfield.com/usefor/2001/Jan/0053.html
Technical Details
Message-ID:
<Xns93B758506555CGregnospamMoWyldplea@216.168.3.44>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!chi1.webusenet.com!news.webusenet.com!pd2nf1so.cg.shawcable.net!residential.shaw.ca!sn-xit-03!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mailReferences:
<Xns93B7245A5A652GregnospamMoWyldplea@216.168.3.44> <berohp$9gg$1@puck.litech.org>Show Full Headers
Complete Article Headers
Message-ID: <Xns93B758506555CGregnospamMoWyldplea@216.168.3.44>
Subject: Re: [INN] Newbie questions
Date: Sun, 13 Jul 2003 15:40:54 -0000
From: GregMo <Greg-nospam-Mo@Wyld-please-Ryde.net>
References: <Xns93B7245A5A652GregnospamMoWyldplea@216.168.3.44> <berohp$9gg$1@puck.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!chi1.webusenet.com!news.webusenet.com!pd2nf1so.cg.shawcable.net!residential.shaw.ca!sn-xit-03!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
Newsgroups: news.software.nntp
Organization: Not Your Company
User-Agent: Xnews/5.04.25
X-Face: -v4; 1|PCBU*DjLP?O-~~l6NeO^CS<ePGFo^n~d&RKYr3US2Q;
eTn<7:MJ?=I</onRpe>5F9q<(MYsr*NqL8tB]F<<\e(?'NZ@`0HC]<?+q+pEm$#=TR#$"-;
nVunwP("6)JOlZ]]60mHAC7%%)~UkA3}WfJ*h\E]'K,xUNo=
X-Is-Tenshul: Does this header really exist if you don't read it?
X-NNTP-Virus: Hi! I'm a header virus! Copy me into yours and join the fun!
X-Complaints-To: abuse@supernews.com
Lines: 102