Article View: news.software.nntp
Article #59961Re: INN: domain name in message-IDs
From: Wolfgang Fritz
Date: Tue, 20 Aug 2002 19:56
Date: Tue, 20 Aug 2002 19:56
44 lines
2736 bytes
2736 bytes
Russ Allbery wrote: > 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. > That works, thanks. And of course it is all contained in the man page readers.conf(5). But I didn't expect to find the solution there :-) Moral: always read _all_ the documentation. I added the following to the relevant access section: virtualhost: true pathhost: my.path.host domain: the.domain.my.news.provider.gave.me If I post a message without a message ID, inn generates a valid ID with the desired domain now. Wolfgang
Technical Details
Message-ID:
<3D629EDA.6010302@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!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!news.gtei.net!newsfeed.mathworks.com!fu-berlin.de!uni-berlin.de!p3e9c1544.dip.t-dialin.NET!not-for-mailReferences:
<3D613902.2000806@fritz38552.news.dfncis.de> <ylwuqmglov.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <3D629EDA.6010302@fritz38552.news.dfncis.de> Subject: Re: INN: domain name in message-IDs Date: Tue, 20 Aug 2002 21:56:10 +0200 From: Wolfgang Fritz <wolfgang.fritz@gmx.net> References: <3D613902.2000806@fritz38552.news.dfncis.de> <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!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!news.gtei.net!newsfeed.mathworks.com!fu-berlin.de!uni-berlin.de!p3e9c1544.dip.t-dialin.NET!not-for-mail Newsgroups: news.software.nntp Organization: None Lines: 43 NNTP-Posting-Host: p3e9c1544.dip.t-dialin.net (62.156.21.68) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: fu-berlin.de 1029873415 48629009 62.156.21.68 (16 [38552]) X-Orig-Path: gurke.wofritz.de!fritz38552.news.dfncis.de!not-for-mail X-Accept-Language: en-us, en, de-de, de X-Blafasel: Dummschwatz User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1a) Gecko/20020610