🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Marcus Mönnig Sun, 05 Sep 2004 16:01
INN: Different domains for Path and Message-ID
#69834
Author: Marcus Mönnig
Date: Sun, 05 Sep 2004 16:01
14 lines
1726 bytes
The subject says it all. Is it possible to use a different domain name in
Path and Message-ID? 

My plan was to change the domain for the Message-ID only and I followed
<http://www.eyrie.org/~eagle/faqs/inn.html#S6.6>, but this changes the
domain for path, too.

Thanks again,
Marcus
-- 
A program should follow the `Law of Least Astonishment'.  What is this
law?  It is simply that the program should always respond to the user
in the way that astonishes him least.	   -- "The Tao of Programming"
Re: INN: Different domains for Path and Message-ID
#69835
Author: Jeffrey M. Vinocur
Date: Sun, 05 Sep 2004 16:24
19 lines
1724 bytes
In article <chfd9r$bns$03$1@news.t-online.com>,
Marcus Mönnig  <usenet-sep04@40tude.com> wrote:
>
>The subject says it all. Is it possible to use a different domain name in
>Path and Message-ID? 
>
>My plan was to change the domain for the Message-ID only and I followed
><http://www.eyrie.org/~eagle/faqs/inn.html#S6.6>, but this changes the
>domain for path, too.

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.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN: Different domains for Path and Message-ID
#69838
Author: Marcus Mönnig
Date: Sun, 05 Sep 2004 17:06
12 lines
1736 bytes
*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:.

Marcus
-- 
It takes 2 to tango, but 3 makes it more interesting
Re: INN: Different domains for Path and Message-ID
#69844
Author: 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
Re: INN: Different domains for Path and Message-ID
#69845
Author: Marcus Mönnig
Date: Mon, 06 Sep 2004 16:02
14 lines
1942 bytes
*Jeffrey M. Vinocur*, 6 Sep. 04, 17:49:

> *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.

Changing the two entries in inn.conf to "localhost" magically made
everything work just the way I want it. 

Thanks for taking the time to look this up!
Marcus
-- 
If I see a bug , I'll shoot it before it can say: "core dumped".
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