Article View: news.software.nntp
Article #89634Re: How to permit user to set the right part of message-id
From: Julien ÉLIE
Date: Tue, 20 Sep 2022 10:00
Date: Tue, 20 Sep 2022 10:00
90 lines
4985 bytes
4985 bytes
Hi Russ, > I found all of this surprisingly confusing! I'm sure it all made sense to > me at some point fifteen years ago. Digging in the archives, I found out this message: https://lists.isc.org/mailman/htdig/inn-workers/1999-September/000423.html """ Suppose you've got a news farm of twenty-odd machines hiding behind news.example.com. You probably want just news.example.com in e-mail addresses, but if you use that for message ID generation as well, doesn't that then run a non-trivial risk of duplicate message IDs? The reason to use the FQDN is so that you can be fairly sure no other system is generating message IDs in the same namespace.... """ Maybe one of the reasons for using FQDN instead of domain by default? Besides, it could be worthwhile adding a check that the domain parameter (inn.conf or readers.conf) contains valid characters for a Message-ID... and fall back to FQDN otherwise (hoping that FQDN also returns a string suitable for a Message-ID!). I also found out: https://lists.isc.org/mailman/htdig/inn-workers/2002-August/010116.html """ >> There is the "domain" keyword in inn.conf to set the domain name if (and >> only if) gethost*name(3) fail. This does not work for me. > > I tried the same. I think this should be taken as default if domain isn't > defined in readers.conf. The reason why we didn't do that a while back is because that's not what domain was meant to be. domain was the *domain* name (to which the host name should be prepended) and is there as a settable parameter because of sites with old or broken DNS. domain in readers.conf is something different. :/ I suppose we could decide that there aren't any hosts around any more that are so old that INN can't figure out the right domain name (although I'm not sure this is true for some weird local configurations) and that domain could be recycled to set the local host name. Although if we're going to do that, I'd rather just remove the domain parameter and add a new one. Like, say, hostname. :) """ When all of this has been stated, there will also be a change to make in the FAQ: https://www.eyrie.org/~eagle/faqs/inn.html#S6.6 """ 6.6. Change the domain used for message IDs By default, any message IDs generated by INN will use the domain of the local system for the right-hand-side of the message ID. 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). 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. This is really overkill for this option, and eventually the domain: parameter in inn.conf will probably be changed to allow this to be modified for the whole server. (Right now, domain: in inn.conf means something completely different.) """ -- Julien ÉLIE « César, c'est un Jules tout de même ! » (Astérix)
Technical Details
Message-ID:
<tgc30j$7s0o$4@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:
<632790d3$0$22052$426a74cc@news.free.fr> <argle-bargle@argle.bargle.xyz> <63279bd2$0$22055$426a74cc@news.free.fr> <87h7148aq4.fsf@hope.eyrie.org> <6328a840$0$2976$426a74cc@news.free.fr> <tgaje6$6pa5$1@news.trigofacile.com> <6328dcc9$0$5132$426a74cc@news.free.fr> <tganq1$6pa5$2@news.trigofacile.com> <87y1ufxary.fsf@hope.eyrie.org>Show Full Headers
Complete Article Headers
Message-ID: <tgc30j$7s0o$4@news.trigofacile.com> Subject: Re: How to permit user to set the right part of message-id Date: Tue, 20 Sep 2022 12:00:51 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <632790d3$0$22052$426a74cc@news.free.fr> <argle-bargle@argle.bargle.xyz> <63279bd2$0$22055$426a74cc@news.free.fr> <87h7148aq4.fsf@hope.eyrie.org> <6328a840$0$2976$426a74cc@news.free.fr> <tgaje6$6pa5$1@news.trigofacile.com> <6328dcc9$0$5132$426a74cc@news.free.fr> <tganq1$6pa5$2@news.trigofacile.com> <87y1ufxary.fsf@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, 20 Sep 2022 10:00:51 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="san13-h02-176-143-2-105.dsl.sta.abo.bbox.fr:176.143.2.105"; logging-data="258072"; 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.2.2 Cancel-Lock: sha1:T2NWJr7h72FMQGMnE4pWFt23QM4= sha256:zZ6J3PsQyrcl7LyXvnnBbuuuR6EUgo+MU1pIucd+82Q= sha1:1PeueJ0DM2/8Ta9G4y02R2Ge59g= sha256:oJNbtHogYMbetQbcwFRfphF0BLAZHEiAJvI8SzYr7I0= In-Reply-To: <87y1ufxary.fsf@hope.eyrie.org>