๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #69844

Re: INN: Different domains for Path and Message-ID

#69844
From: Jeffrey M. Vinocur
Date: Mon, 06 Sep 2004 15:49
26 lines
2142 bytes
In article <chfh4d$6mh$02$1@news.t-online.com>,
Marcus Mรถnnig  <usenet-sep04@40tude.com> wrote:
>*Jeffrey M. Vinocur*, 5 Sep. 04, 18:24:
>
>> It's not at all clear to me from the readers.conf documentation
>> if this will work, but try doing the same thing (with
>> virtualhost) but setting both domain: and pathhost: to different
>> things and seeing what happens.
>
>Seems like pathhost: is ignored. All three headers are set from domain:.

Ok, better have a look.  I'm in nnrpd/perm.c:PERMgetpermissions(), 
very nearly at the end of the function.

*squint*  There's some crazy code in there that I can't quite
rationalize.  If I read this right, you can set the Path entry
and the Message-ID domain separately, but only if they're -both-
different from the same-named entries in inn.conf.

I don't quite see any particular reason why that should be the
case, but it seems to be documented as intentional.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <chi0ut$i87$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!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!white.octanews.net!green.octanews.net!news-out.octanews.net!cox.net!news-xfer.cox.net!news.litech.org!not-for-mail
References: <chfd9r$bns$03$1@news.t-online.com> <chfekl$f9l$1@puck.litech.org> <chfh4d$6mh$02$1@news.t-online.com>

Show Full Headers
Complete Article Headers
Message-ID: <chi0ut$i87$1@puck.litech.org>
Subject: Re: INN: Different domains for Path and Message-ID
Date: Mon, 06 Sep 2004 15:49:49 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <chfd9r$bns$03$1@news.t-online.com> <chfekl$f9l$1@puck.litech.org> <chfh4d$6mh$02$1@news.t-online.com>
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!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!white.octanews.net!green.octanews.net!news-out.octanews.net!cox.net!news-xfer.cox.net!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 26
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1094485789 18695 66.218.0.75 (6 Sep 2004 15:49:49 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Mon, 6 Sep 2004 15:49:49 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)