🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #59953

Re: INN: domain name in message-IDs

#59953
From: Russ Allbery
Date: Tue, 20 Aug 2002 05:10
28 lines
2201 bytes
Wolfgang Fritz <wolfgang.fritz@gmx.net> writes:

> I am running a local news server INN 2.3.2 which is mainly used to hold
> local groups, mailing lists and the few public newsgroups I read. I have
> no public domain.

> INN 2.3.2 (and older versions I used) generate a message ID using the
> FQDN it gets by calls to gethostname(3) or gethostbyname(3), which gives
> my local domain name. So the generated message IDs are illegal.

> My public news provider gave me a unique "domain name" to be used in
> message IDs and I would like my local INN to generate message IDs with
> this "domain name".

I've not done this personally, but looking at the INN 2.3.3 code, you
should be able to set domain: in the appropriate access group in
readers.conf and have it be used in preference to the system's local host
name for the domain for generating message IDs.

Please let me know if this works as expected, since I should add it to the
FAQ if that solves your problem.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <ylwuqmglov.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
References: <3D613902.2000806@fritz38552.news.dfncis.de>

Show Full Headers
Complete Article Headers
Message-ID: <ylwuqmglov.fsf@windlord.stanford.edu>
Subject: Re: INN: domain name in message-IDs
Date: Mon, 19 Aug 2002 22:10:08 -0700
From: Russ Allbery <rra@stanford.edu>
References: <3D613902.2000806@fritz38552.news.dfncis.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 27
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1029820208 8004 171.64.13.23 (20 Aug 2002 05:10:08 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Honest Recruiter,
 sparc-sun-solaris2.6)
Cancel-Lock: sha1:9hbk0Odh6h1LdHD9eQRTm1+HY9s=