Article View: news.software.nntp
Article #90134Re: INN 2.x FAQ
From: Julien ÉLIE
Date: Tue, 21 Feb 2023 12:39
Date: Tue, 21 Feb 2023 12:39
42 lines
3190 bytes
3190 bytes
Hi all, > Subject: 6.6. Change the domain used for message IDs > > By default, any message identifier generated by INN will use the fully > qualified domain name of the local system for the right-hand side of > message IDs. In some cases, this isn't desirable for various reasons > (the server may have an internal name that doesn't make sense on Usenet > at large, or one may not want to expose the name of the server). > > INN still does not have a dedicated parameter to change the right-hand > side of message identifiers. While waiting for it, there's a trick > involving a special use of the domain: parameter (normally meant to be > use only for what is related to DNS). > > In INN 2.7.1 and later, you can use an explicit domain: key in an access > stanza of readers.conf to use its value as the right-hand side of message > identifiers. (Even though domain: is set in inn.conf, note that this > parameter also needs being present in readers.conf so as to trigger the > expected behaviour). > > In INN 2.3.3 and later, you can set virtualhost: to true in an access > stanza of readers.conf and then set domain: in the same stanza, and all > posts coming from connections to which that access stanza applies will > use that domain to generate message IDs. So if you need to change the > domain used to generate message IDs for every local post from your > server, just add virtualhost: and domain: keys to every access stanza > in readers.conf. (Yes, this is really overkill for this option.) I hope it will fit users' need in INN 2.7.1 (it is difficult to do better without introducing a backwards-incompatible change). The dedicated "servername" parameter is scheduled for INN 2.8.0. Do not hesitate to ask for additions in the FAQ if you see uncovered useful subjects. -- Julien ÉLIE « The best preparation for tomorrow is to do today's work superbly well. » (William Osler)
Technical Details
Message-ID:
<tt2e1l$1st0u$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<FAQ-faq-1676966462$5610@hope.eyrie.org>Show Full Headers
Complete Article Headers
Message-ID: <tt2e1l$1st0u$1@news.trigofacile.com> Subject: Re: INN 2.x FAQ Date: Tue, 21 Feb 2023 13:39:17 +0100 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <FAQ-faq-1676966462$5610@hope.eyrie.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.nntp Organization: Groupes francophones par TrigoFACILE Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Tue, 21 Feb 2023 12:39:17 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="176-143-2-105.abo.bbox.fr:176.143.2.105"; logging-data="1995806"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Cancel-Lock: sha1:JkC0764MrwKYZ3vBjl6hyNXVwVU= sha256:Y9oBMuVx/vhnhp/tL3YrGeIsekKQiPWt4m0lOh48+mk= sha1:6DGdJa4qE94QJhWeWe+I5HRPu7o= sha256:6cejVf9JcLMnUt9ueJAHHmrttQ7kj3FzPn70Y7kz64o= In-Reply-To: <FAQ-faq-1676966462$5610@hope.eyrie.org>