Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

If a listener nods his head when you're explaining your program, wake him up.


computers / news.software.nntp / Re: How to permit user to set the right part of message-id

SubjectAuthor
* How to permit user to set the right part of message-idLaLibreParole
`* Re: How to permit user to set the right part of message-idJohn Levine
 `* Re: How to permit user to set the right part of message-idLaLibreParole
  `* Re: How to permit user to set the right part of message-idRuss Allbery
   `* Re: How to permit user to set the right part of message-idLaLibreParole
    `* Re: How to permit user to set the right part of message-idJulien ÉLIE
     `* Re: How to permit user to set the right part of message-idLaLibreParole
      `* Re: How to permit user to set the right part of message-idJulien ÉLIE
       +- Re: How to permit user to set the right part of message-idLaLibreParole
       `* Re: How to permit user to set the right part of message-idRuss Allbery
        +* Re: How to permit user to set the right part of message-idyamo'
        |+* Re: How to permit user to set the right part of message-idLaLibreParole
        ||`- Re: How to permit user to set the right part of message-idJulien ÉLIE
        |+* Re: How to permit user to set the right part of message-idLaLibreParole
        ||+* Re: How to permit user to set the right part of message-idyamo'
        |||`- Re: How to permit user to set the right part of message-idLaLibreParole
        ||`* Re: How to permit user to set the right part of message-idLaLibreParole
        || `- Re: How to permit user to set the right part of message-idJulien ÉLIE
        |`- Re: How to permit user to set the right part of message-idJulien ÉLIE
        +- Re: How to permit user to set the right part of message-idJulien ÉLIE
        `* Re: How to permit user to set the right part of message-idJulien ÉLIE
         `* Re: How to permit user to set the right part of message-idRuss Allbery
          +* Re: How to permit user to set the right part of message-idJulien ÉLIE
          |+- Re: How to permit user to set the right part of message-idLaLibreParole
          |+- Re: How to permit user to set the right part of message-idMarc SCHAEFER
          |+* Re: How to permit user to set the right part of message-idRuss Allbery
          ||+* Re: How to permit user to set the right part of message-idThomas Hochstein
          |||`- Re: How to permit user to set the right part of message-idRuss Allbery
          ||`* Re: How to permit user to set the right part of message-idJulien ÉLIE
          || `- Re: How to permit user to set the right part of message-idRuss Allbery
          |`* Re: How to permit user to set the right part of message-idFranck
          | +- Re: How to permit user to set the right part of message-idFranck
          | `* Re: How to permit user to set the right part of message-idJulien ÉLIE
          |  `* Re: How to permit user to set the right part of message-idFranck
          |   `* Re: How to permit user to set the right part of message-idFranck
          |    `* Re: How to permit user to set the right part of message-idJulien ÉLIE
          |     `- Re: How to permit user to set the right part of message-idFranck
          `* Re: How to permit user to set the right part of message-idAdam H. Kerman
           `* Re: How to permit user to set the right part of message-idRuss Allbery
            +* Re: How to permit user to set the right part of message-idAdam H. Kerman
            |`- Re: How to permit user to set the right part of message-idRuss Allbery
            `* Re: How to permit user to set the right part of message-idFranck
             `* Re: How to permit user to set the right part of message-idRuss Allbery
              +* Re: How to permit user to set the right part of message-idFranck
              |`- Re: How to permit user to set the right part of message-idOlivier Miakinen
              `* Re: How to permit user to set the right part of message-idFranck
               +- Re: How to permit user to set the right part of message-idRuss Allbery
               `* Re: How to permit user to set the right part of message-idJulien ÉLIE
                `- Re: How to permit user to set the right part of message-idFranck

Pages:12
How to permit user to set the right part of message-id

<632790d3$0$22052$426a74cc@news.free.fr>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=1185&group=news.software.nntp#1185

 copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!news.niel.me!glou.org!news.glou.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!cleanfeed1-b.proxad.net!nnrp3-2.free.fr!not-for-mail
From: vrai.ou....@laposte.net (LaLibreParole)
Newsgroups: news.software.nntp
Subject: How to permit user to set the right part of message-id
Date: Sun, 18 Sep 2022 23:42:43 +0200
User-Agent: ForteAgent/8.00.32.1272
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 6
Message-ID: <632790d3$0$22052$426a74cc@news.free.fr>
Organization: Guest of ProXad - France
NNTP-Posting-Date: 18 Sep 2022 23:42:44 CEST
NNTP-Posting-Host: 77.129.50.167
X-Trace: 1663537364 news-1.free.fr 22052 77.129.50.167:57216
X-Complaints-To: abuse@proxad.net
 by: LaLibreParole - Sun, 18 Sep 2022 21:42 UTC

Hi,

What is the parameter to allow user to customize right part of
the message-id field when posting a message ?

I don't see the right parameter to do that in inn.conf

Re: How to permit user to set the right part of message-id

<argle-bargle@argle.bargle.xyz>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=1186&group=news.software.nntp#1186

 copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: joh...@taugh.com (John Levine)
Newsgroups: news.software.nntp
Subject: Re: How to permit user to set the right part of message-id
Date: Sun, 18 Sep 2022 21:51:50 -0000 (UTC)
Organization: Taughannock Networks
Message-ID: <argle-bargle@argle.bargle.xyz>
References: <632790d3$0$22052$426a74cc@news.free.fr>
Injection-Date: Sun, 18 Sep 2022 21:51:50 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
logging-data="12594"; mail-complaints-to="abuse@iecc.com"
In-Reply-To: <632790d3$0$22052$426a74cc@news.free.fr>
Cleverness: some
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: johnl@iecc.com (John Levine)
 by: John Levine - Sun, 18 Sep 2022 21:51 UTC

It appears that LaLibreParole <vrai.ou.faux@laposte.net> said:
>Hi,
>
>What is the parameter to allow user to customize right part of
>the message-id field when posting a message ?

If you post a message that already has a Message-ID, inn won't change
it. It'll add a Message-ID in the usual case that there isn't one.

--
Regards,
John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. https://jl.ly

Re: How to permit user to set the right part of message-id

<63279bd2$0$22055$426a74cc@news.free.fr>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=1187&group=news.software.nntp#1187

 copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!cleanfeed3-b.proxad.net!nnrp3-2.free.fr!not-for-mail
From: vrai.ou....@laposte.net (LaLibreParole)
Newsgroups: news.software.nntp
Subject: Re: How to permit user to set the right part of message-id
Date: Mon, 19 Sep 2022 00:29:32 +0200
References: <632790d3$0$22052$426a74cc@news.free.fr> <argle-bargle@argle.bargle.xyz>
User-Agent: ForteAgent/8.00.32.1272
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 18
Message-ID: <63279bd2$0$22055$426a74cc@news.free.fr>
Organization: Guest of ProXad - France
NNTP-Posting-Date: 19 Sep 2022 00:29:38 CEST
NNTP-Posting-Host: 77.129.50.167
X-Trace: 1663540178 news-2.free.fr 22055 77.129.50.167:58465
X-Complaints-To: abuse@proxad.net
 by: LaLibreParole - Sun, 18 Sep 2022 22:29 UTC

John Levine <johnl@taugh.com> composa la prose suivante:

>It appears that LaLibreParole <vrai.ou.faux@laposte.net> said:
>>Hi,
>>
>>What is the parameter to allow user to customize right part of
>>the message-id field when posting a message ?
>
>If you post a message that already has a Message-ID, inn won't change
>it.

You're right, thank's

> It'll add a Message-ID in the usual case that there isn't one.

And in this case, inn will use something_uniq@machinename.domain
Is it possible to suppress "machinename" ?

Re: How to permit user to set the right part of message-id

<87h7148aq4.fsf@hope.eyrie.org>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=1188&group=news.software.nntp#1188

 copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!aioe.org!nntp.terraraq.uk!nntp-feed.chiark.greenend.org.uk!ewrotcd!news.eyrie.org!.POSTED!not-for-mail
From: eag...@eyrie.org (Russ Allbery)
Newsgroups: news.software.nntp
Subject: Re: How to permit user to set the right part of message-id
Date: Sun, 18 Sep 2022 17:32:51 -0700
Organization: The Eyrie
Message-ID: <87h7148aq4.fsf@hope.eyrie.org>
References: <632790d3$0$22052$426a74cc@news.free.fr>
<argle-bargle@argle.bargle.xyz>
<63279bd2$0$22055$426a74cc@news.free.fr>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: hope.eyrie.org;
logging-data="13907"; mail-complaints-to="news@eyrie.org"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:1YuOiCxCGrz9/xrj01TW8IFawX0=
 by: Russ Allbery - Mon, 19 Sep 2022 00:32 UTC

LaLibreParole <vrai.ou.faux@laposte.net> writes:

> And in this case, inn will use something_uniq@machinename.domain
> Is it possible to suppress "machinename" ?

Set domain in the readers.conf access stanza to whatever you want to use
on the right-hand side of message IDs.

--
Russ Allbery (eagle@eyrie.org) <https://www.eyrie.org/~eagle/>

Please post questions rather than mailing me directly.
<https://www.eyrie.org/~eagle/faqs/questions.html> explains why.

Re: How to permit user to set the right part of message-id

<6328a840$0$2976$426a74cc@news.free.fr>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=1189&group=news.software.nntp#1189

 copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!aioe.org!pasdenom.info!nntpfeed.proxad.net!proxad.net!feeder1-1.proxad.net!cleanfeed1-b.proxad.net!nnrp1-2.free.fr!not-for-mail
From: vrai.ou....@laposte.net (LaLibreParole)
Newsgroups: news.software.nntp
Subject: Re: How to permit user to set the right part of message-id
Date: Mon, 19 Sep 2022 19:34:48 +0200
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>
User-Agent: ForteAgent/8.00.32.1272
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 11
Message-ID: <6328a840$0$2976$426a74cc@news.free.fr>
Organization: Guest of ProXad - France
NNTP-Posting-Date: 19 Sep 2022 19:34:56 CEST
NNTP-Posting-Host: 77.129.50.167
X-Trace: 1663608896 news-1.free.fr 2976 77.129.50.167:58040
X-Complaints-To: abuse@proxad.net
 by: LaLibreParole - Mon, 19 Sep 2022 17:34 UTC

Russ Allbery <eagle@eyrie.org> composa la prose suivante:

>LaLibreParole <vrai.ou.faux@laposte.net> writes:
>
>> And in this case, inn will use something_uniq@machinename.domain
>> Is it possible to suppress "machinename" ?
>
>Set domain in the readers.conf access stanza to whatever you want to use
>on the right-hand side of message IDs.

I didn't succeed: it also adds the name of the server machine.

Re: How to permit user to set the right part of message-id

<tgaje6$6pa5$1@news.trigofacile.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=1191&group=news.software.nntp#1191

 copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.176-143-2-105.abo.bbox.fr!not-for-mail
From: iul...@nom-de-mon-site.com.invalid (Julien ÉLIE)
Newsgroups: news.software.nntp
Subject: Re: How to permit user to set the right part of message-id
Date: Mon, 19 Sep 2022 22:28:54 +0200
Organization: Groupes francophones par TrigoFACILE
Message-ID: <tgaje6$6pa5$1@news.trigofacile.com>
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>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 19 Sep 2022 20:28:54 -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="222533"; 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:tL+tCo92RSMnS9IWHjvq3ZXx2Tk= sha256:OjIwwGpUzsaCvFhebHUfB9nQPZiknrdXFKmJqB1rEr0=
sha1:34hh44KQ+XKoyEehvF7+5iVgCJ8= sha256:XgjByag9EvMZ8sQy1gvyQOq+9meQjDkB06xMmAhtjsM=
In-Reply-To: <6328a840$0$2976$426a74cc@news.free.fr>
 by: Julien ÉLIE - Mon, 19 Sep 2022 20:28 UTC

Bonsoir LaLibreParole,

>>> And in this case, inn will use something_uniq@machinename.domain
>>> Is it possible to suppress "machinename" ?
>>
>> Set domain in the readers.conf access stanza to whatever you want to use
>> on the right-hand side of message IDs.
>
> I didn't succeed: it also adds the name of the server machine.

Do you happen to also have the domain parameter set in inn.conf to the
same value as the one you added to readers.conf? (If that's the case, I
think it won't be taken into account. Try to unset the domain parameter
in inn.conf, and only keep the one in readers.conf.)

--
Julien ÉLIE

« Même avec Dieu, il ne faut pas tenter le Diable. » (Raymond Devos)

Re: How to permit user to set the right part of message-id

<6328dcc9$0$5132$426a74cc@news.free.fr>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=1192&group=news.software.nntp#1192

 copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!cleanfeed3-b.proxad.net!nnrp1-1.free.fr!not-for-mail
From: vrai.ou....@laposte.net (LaLibreParole)
Newsgroups: news.software.nntp
Subject: Re: How to permit user to set the right part of message-id
Date: Mon, 19 Sep 2022 23:19:05 +0200
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>
User-Agent: ForteAgent/8.00.32.1272
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Lines: 31
Message-ID: <6328dcc9$0$5132$426a74cc@news.free.fr>
Organization: Guest of ProXad - France
NNTP-Posting-Date: 19 Sep 2022 23:19:05 CEST
NNTP-Posting-Host: 77.129.50.167
X-Trace: 1663622345 news-1.free.fr 5132 77.129.50.167:63332
X-Complaints-To: abuse@proxad.net
 by: LaLibreParole - Mon, 19 Sep 2022 21:19 UTC

Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> composa la prose suivante:

>Bonsoir LaLibreParole,
>
>>>> And in this case, inn will use something_uniq@machinename.domain
>>>> Is it possible to suppress "machinename" ?
>>>
>>> Set domain in the readers.conf access stanza to whatever you want to use
>>> on the right-hand side of message IDs.
>>
>> I didn't succeed: it also adds the name of the server machine.
>
>Do you happen to also have the domain parameter set in inn.conf to the
>same value as the one you added to readers.conf?

yes.

> (If that's the case, I think it won't be taken into account.

You're right !

> Try to unset the domain parameter in inn.conf, and only
> keep the one in readers.conf.)

If i do that, inn does not start and "incheck" say:
"innconfval: hostname does not resolve or domain not set in inn.conf"

But you gave me the solution: put two different values: one in inn.conf
and a different one in readers.conf.

Thanks Julien and Russ :-)

Re: How to permit user to set the right part of message-id

<tganq1$6pa5$2@news.trigofacile.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=1193&group=news.software.nntp#1193

 copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.176-143-2-105.abo.bbox.fr!not-for-mail
From: iul...@nom-de-mon-site.com.invalid (Julien ÉLIE)
Newsgroups: news.software.nntp
Subject: Re: How to permit user to set the right part of message-id
Date: Mon, 19 Sep 2022 23:43:29 +0200
Organization: Groupes francophones par TrigoFACILE
Message-ID: <tganq1$6pa5$2@news.trigofacile.com>
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>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 19 Sep 2022 21:43:30 -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="222533"; 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:nmZdG8dCqmXtMicVGtRm9bhG9Zg= sha256:hSYhoS9D9fp+38t9vYj/OKCr31DUs1uZ0k3x0H2GvgA=
sha1:Lrb/ooIAsK+TM889MNw0NnS09JQ= sha256:9DDk1j1ylwpN35vU8c5Q8JKsYUnQ4SXurEV0G3VcyMM=
In-Reply-To: <6328dcc9$0$5132$426a74cc@news.free.fr>
 by: Julien ÉLIE - Mon, 19 Sep 2022 21:43 UTC

Bonsoir LaLibreParole,

>> Do you happen to also have the domain parameter set in inn.conf to the
>> same value as the one you added to readers.conf?
>
> yes.
>
>> (If that's the case, I think it won't be taken into account.
>
> You're right !
>
> the solution: put two different values: one in inn.conf
> and a different one in readers.conf.

I don't know why we do that comparison when generating Message-IDs. If
domain is set in both inn.conf and readers.conf to the same value, we
take the FQDN. If domain is not set in inn.conf but is set in
readers.conf, or both are set and different, we take the one in
readers.conf.
I would tend to take the one from readers.conf anyway. As it is forced
in readers.conf, there may be a reason; inn.conf documentation says to
have a look at domain (or virtualhost) in readers.conf to change the
righthand side of autogenerated Message-IDs, but that special rule is
not mentioned. I would just drop it...

--
Julien ÉLIE

« Une robe de femme doit être comme une plaidoirie : assez longue pour
couvrir le sujet, assez courte pour être suivie. »

Re: How to permit user to set the right part of message-id

<6328e558$0$5142$426a74cc@news.free.fr>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=1194&group=news.software.nntp#1194

 copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!news.niel.me!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!cleanfeed1-b.proxad.net!nnrp1-1.free.fr!not-for-mail
From: vrai.ou....@laposte.net (LaLibreParole)
Newsgroups: news.software.nntp
Subject: Re: How to permit user to set the right part of message-id
Date: Mon, 19 Sep 2022 23:55:36 +0200
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>
User-Agent: ForteAgent/8.00.32.1272
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Lines: 40
Message-ID: <6328e558$0$5142$426a74cc@news.free.fr>
Organization: Guest of ProXad - France
NNTP-Posting-Date: 19 Sep 2022 23:55:36 CEST
NNTP-Posting-Host: 77.129.50.167
X-Trace: 1663624536 news-3.free.fr 5142 77.129.50.167:2659
X-Complaints-To: abuse@proxad.net
 by: LaLibreParole - Mon, 19 Sep 2022 21:55 UTC

Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> composa la prose suivante:

>Bonsoir LaLibreParole,
>
>>> Do you happen to also have the domain parameter set in inn.conf to the
>>> same value as the one you added to readers.conf?
>>
>> yes.
>>
>>> (If that's the case, I think it won't be taken into account.
>>
>> You're right !
>>
>> the solution: put two different values: one in inn.conf
>> and a different one in readers.conf.
>
>I don't know why we do that comparison when generating Message-IDs. If
>domain is set in both inn.conf and readers.conf to the same value, we
>take the FQDN. If domain is not set in inn.conf but is set in
>readers.conf, or both are set and different, we take the one in
>readers.conf.

Yes.
There another curious thing.

When domain is set in inn.conf and not in readers.conf,
the message-id has the form "machin.domain"

When domain is set in inn.conf and in readers.conf but different,
the message-id has the form "domain" (take from reader.conf)

Is there a reason for this different behavior ?

>I would tend to take the one from readers.conf anyway. As it is forced
>in readers.conf, there may be a reason; inn.conf documentation says to
>have a look at domain (or virtualhost) in readers.conf to change the
>righthand side of autogenerated Message-IDs, but that special rule is
>not mentioned. I would just drop it...

I think it's a good idea.

Re: How to permit user to set the right part of message-id

<87y1ufxary.fsf@hope.eyrie.org>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=1195&group=news.software.nntp#1195

 copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.killfile.org!news.eyrie.org!.POSTED!not-for-mail
From: eag...@eyrie.org (Russ Allbery)
Newsgroups: news.software.nntp
Subject: Re: How to permit user to set the right part of message-id
Date: Mon, 19 Sep 2022 15:24:49 -0700
Organization: The Eyrie
Message-ID: <87y1ufxary.fsf@hope.eyrie.org>
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>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: hope.eyrie.org;
logging-data="29795"; mail-complaints-to="news@eyrie.org"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:hFwo7rZtux5EDKKoFKcctDreUEY=
 by: Russ Allbery - Mon, 19 Sep 2022 22:24 UTC

Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> writes:

> I don't know why we do that comparison when generating Message-IDs. If
> domain is set in both inn.conf and readers.conf to the same value, we
> take the FQDN. If domain is not set in inn.conf but is set in
> readers.conf, or both are set and different, we take the one in
> readers.conf.

Yeah, I was going to say that seemed weird. I'm not sure why we ended up
doing things that way, but it doesn't make sense to me. If domain is set
in readers.conf, we should just use it.

> I would tend to take the one from readers.conf anyway. As it is forced
> in readers.conf, there may be a reason; inn.conf documentation says to
> have a look at domain (or virtualhost) in readers.conf to change the
> righthand side of autogenerated Message-IDs, but that special rule is
> not mentioned. I would just drop it...

BTW, I had a bit of a hard time following the documentation, because
inn.conf says to set domain in readers.conf but then domain isn't
documented in readers.conf except in the list of inn.conf settings that
can also be set there.

If the inn.conf documentation is correct, the domain setting is ignored if
inn_getfqdn() succeeds, which also seems a bit weird. It feels like an
expicitly-set configuration option should override whatever we discover
while probing around on the system.

I found all of this surprisingly confusing! I'm sure it all made sense to
me at some point fifteen years ago.

I think the right result may be:

* Use domain unconditionally for forming message IDs if it's set in
readers.conf.

* Use domain if it's set in inn.conf, regardless of what we can discover
from other system calls. (This is backwards-incompatible, so maybe not
on the stable branch.)

* Document domain as a first-class configuration parameter for access
groups in readers.conf, saying that it changes the way message IDs are
constructed. (I'm not sure if it does anything else?)

--
Russ Allbery (eagle@eyrie.org) <https://www.eyrie.org/~eagle/>

Please post questions rather than mailing me directly.
<https://www.eyrie.org/~eagle/faqs/questions.html> explains why.

Re: How to permit user to set the right part of message-id

<tgbk8b$t5f$1@rasp.pasdenom.info>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=1197&group=news.software.nntp#1197

 copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!news.niel.me!pasdenom.info!.POSTED.newsportal.pasdenom.info!newsportal
From: use...@tld.invalid (yamo')
Newsgroups: news.software.nntp
Subject: Re: How to permit user to set the right part of message-id
Date: Tue, 20 Sep 2022 05:49:00 -0000 (UTC)
Organization: <https://pasdenom.info/news.html>
Message-ID: <tgbk8b$t5f$1@rasp.pasdenom.info>
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>
Reply-To: news@pasdenom.info
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 20 Sep 2022 05:49:00 -0000 (UTC)
Injection-Info: newsportal.pasdenom.info; posting-account="stephane@usenet";
posting-host="37-171-78-82.coucou-networks.fr" logging-data="http";
mail-complaints-to="abuse@pasdenom.info"
User-Agent: NewsPortal/0.52.a7
( https://gitlab.com/yamo-nntp/newsportal )
Cancel-Lock: sha256:tUcdr/s3yKedkOPopTT80knWzNrRsyZNHDRl+fa29Sc=
Http-User-Agent: Mozilla/5.0 (Linux; Android 11) AppleWebKit/537.36 (KHTML,
like Gecko) Version/4.0 Chrome/105.0.5195.79 Mobile DuckDuckGo/5
Safari/537.36
 by: yamo' - Tue, 20 Sep 2022 05:49 UTC

Hi,
Russ Allbery a écrit :

> * Document domain as a first-class configuration parameter for access
> groups in readers.conf, saying that it changes the way message IDs are
> constructed. (I'm not sure if it does anything else?)

Changing it, add the domain value to the Path for messages added by nnrpd
and when getting messages with a client of nnrpd.

--
Stéphane

Re: How to permit user to set the right part of message-id

<632971f6$0$31559$426a74cc@news.free.fr>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=1198&group=news.software.nntp#1198

 copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.mixmin.net!proxad.net!feeder1-2.proxad.net!cleanfeed1-a.proxad.net!nnrp1-1.free.fr!not-for-mail
From: vrai.ou....@laposte.net (LaLibreParole)
Newsgroups: news.software.nntp
Subject: Re: How to permit user to set the right part of message-id
Date: Tue, 20 Sep 2022 09:55:26 +0200
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> <tgbk8b$t5f$1@rasp.pasdenom.info>
User-Agent: ForteAgent/8.00.32.1272
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Lines: 20
Message-ID: <632971f6$0$31559$426a74cc@news.free.fr>
Organization: Guest of ProXad - France
NNTP-Posting-Date: 20 Sep 2022 09:55:34 CEST
NNTP-Posting-Host: 77.129.50.167
X-Trace: 1663660534 news-1.free.fr 31559 77.129.50.167:51940
X-Complaints-To: abuse@proxad.net
 by: LaLibreParole - Tue, 20 Sep 2022 07:55 UTC

yamo' <user@tld.invalid> composa la prose suivante:

>Hi,
>Russ Allbery a écrit :
>
>> * Document domain as a first-class configuration parameter for access
>> groups in readers.conf, saying that it changes the way message IDs are
>> constructed. (I'm not sure if it does anything else?)
>
>Changing it, add the domain value to the Path for messages added by nnrpd
>and when getting messages with a client of nnrpd.

No: only if "virtualhost" is set to true in reader.conf.

If "virtualhost" is not present it only modify the path in injection info.
For example:
With virtualhost: "injection-Info: machinename.readersconfDomain"
Without virtualhost: "injection-Info: machinename.InnConfDomain"

it's a pity that we can't delete the name of the machine at this place

Re: How to permit user to set the right part of message-id

<632973c5$0$31559$426a74cc@news.free.fr>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=1199&group=news.software.nntp#1199

 copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!news.niel.me!glou.org!news.glou.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!cleanfeed1-b.proxad.net!nnrp1-1.free.fr!not-for-mail
From: vrai.ou....@laposte.net (LaLibreParole)
Newsgroups: news.software.nntp
Subject: Re: How to permit user to set the right part of message-id
Date: Tue, 20 Sep 2022 10:03:16 +0200
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> <tgbk8b$t5f$1@rasp.pasdenom.info>
User-Agent: ForteAgent/8.00.32.1272
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Lines: 20
Message-ID: <632973c5$0$31559$426a74cc@news.free.fr>
Organization: Guest of ProXad - France
NNTP-Posting-Date: 20 Sep 2022 10:03:17 CEST
NNTP-Posting-Host: 77.129.50.167
X-Trace: 1663660997 news-1.free.fr 31559 77.129.50.167:51940
X-Complaints-To: abuse@proxad.net
 by: LaLibreParole - Tue, 20 Sep 2022 08:03 UTC

yamo' <user@tld.invalid> composa la prose suivante:

>Hi,
>Russ Allbery a écrit :
>
>> * Document domain as a first-class configuration parameter for access
>> groups in readers.conf, saying that it changes the way message IDs are
>> constructed. (I'm not sure if it does anything else?)
>
>Changing it, add the domain value to the Path for messages added by nnrpd
>and when getting messages with a client of nnrpd.

No: only if "virtualhost" is also set to true in reader.conf.

If "virtualhost" is not present it only modify the path in injection info.
For example:
With virtualhost: "injection-Info: machinename.readersconfDomain"
Without virtualhost: "injection-Info: machinename.InnConfDomain"

it's a pity that we can't delete the name of the machine at this place

Re: How to permit user to set the right part of message-id

<tgbshg$7s0o$1@news.trigofacile.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=1200&group=news.software.nntp#1200

 copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.san13-h02-176-143-2-105.dsl.sta.abo.bbox.fr!not-for-mail
From: iul...@nom-de-mon-site.com.invalid (Julien ÉLIE)
Newsgroups: news.software.nntp
Subject: Re: How to permit user to set the right part of message-id
Date: Tue, 20 Sep 2022 10:10:24 +0200
Organization: Groupes francophones par TrigoFACILE
Message-ID: <tgbshg$7s0o$1@news.trigofacile.com>
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>
<tgbk8b$t5f$1@rasp.pasdenom.info>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 20 Sep 2022 08:10:24 -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:TIZkRJbfdG/KRL9xvUEuFDO35ZI= sha256:RzyMRp1sCqSIkyOKQ0P8IwkTFW09yHCDswJRWE4Dcbw=
sha1:Tor59+icqjCickmwn2VG/NGRIKU= sha256:4JEmg4IzPglAAR0sfgPqZPs2v69VtPMrU3wYYTnTCAw=
In-Reply-To: <tgbk8b$t5f$1@rasp.pasdenom.info>
 by: Julien ÉLIE - Tue, 20 Sep 2022 08:10 UTC

Bonjour Stéphane,

>> * Document domain as a first-class configuration parameter for access
>> groups in readers.conf, saying that it changes the way message IDs are
>> constructed. (I'm not sure if it does anything else?)
>
> Changing it, add the domain value to the Path for messages added by nnrpd
> and when getting messages with a client of nnrpd.

Only when virtualhost is also set to true!

I agree, Russ, that domain should be documented as a first-class
configuration parameter, like virtualhost is.

When virtualhost is set to true, domain is used in:
- Xref,
- Path but only in the case of pathhost being the same in inn.conf and
readers.conf, to better differentiate virtual hosts.

In all cases, domain is used in:
- Message-ID,
- Injection-Info (the path identity at the beginning of that header field),
- the e-mail address at the end of the HELP command ("Report problems to
<usenet@DOMAIN>.")

--
Julien ÉLIE

« Pas encore uici, hélas, pas tout à fait uici… » (César)

Re: How to permit user to set the right part of message-id

<tgbt12$7s0o$3@news.trigofacile.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=1201&group=news.software.nntp#1201

 copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.san13-h02-176-143-2-105.dsl.sta.abo.bbox.fr!not-for-mail
From: iul...@nom-de-mon-site.com.invalid (Julien ÉLIE)
Newsgroups: news.software.nntp
Subject: Re: How to permit user to set the right part of message-id
Date: Tue, 20 Sep 2022 10:18:42 +0200
Organization: Groupes francophones par TrigoFACILE
Message-ID: <tgbt12$7s0o$3@news.trigofacile.com>
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>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 20 Sep 2022 08:18:42 -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:ZhII1Wm2iGzMpoGUZfk9scAOcm8= sha256:9hhKtRE2vcE6uOpvAedeu5M7/cs5bXzGspI2Tl3f/lQ=
sha1:dfxOjdJG1NePd6Pn3tonc87BVaQ= sha256:pjL0dpu04mR8LzMFiIs/fQq7syqdt1hC5xUvtW7OxVs=
In-Reply-To: <87y1ufxary.fsf@hope.eyrie.org>
 by: Julien ÉLIE - Tue, 20 Sep 2022 08:18 UTC

Hi Russ,

>> I would tend to take the one from readers.conf anyway. As it is forced
>> in readers.conf, there may be a reason; inn.conf documentation says to
>> have a look at domain (or virtualhost) in readers.conf to change the
>> righthand side of autogenerated Message-IDs, but that special rule is
>> not mentioned. I would just drop it...
>
> BTW, I had a bit of a hard time following the documentation, because
> inn.conf says to set domain in readers.conf but then domain isn't
> documented in readers.conf except in the list of inn.conf settings that
> can also be set there.

I noticed the same difficulty. It definitely needs improving; I'll have
a look.

> If the inn.conf documentation is correct, the domain setting is ignored if
> inn_getfqdn() succeeds, which also seems a bit weird. It feels like an
> expicitly-set configuration option should override whatever we discover
> while probing around on the system.

Yes, I agree.

> I think the right result may be:
>
> * Use domain unconditionally for forming message IDs if it's set in
> readers.conf.
>
> * Use domain if it's set in inn.conf, regardless of what we can discover
> from other system calls. (This is backwards-incompatible, so maybe not
> on the stable branch.)

And run the current call to inn_fqdn() if domain is unset in both
readers.conf and inn.conf.

A similar algorithm should also be done for Injection-Info, as discussed
afterwards in this thread.

--
Julien ÉLIE

« Vinum bonum laetificat cor hominis. »

Re: How to permit user to set the right part of message-id

<tgc30j$7s0o$4@news.trigofacile.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=1202&group=news.software.nntp#1202

 copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.san13-h02-176-143-2-105.dsl.sta.abo.bbox.fr!not-for-mail
From: iul...@nom-de-mon-site.com.invalid (Julien ÉLIE)
Newsgroups: news.software.nntp
Subject: Re: How to permit user to set the right part of message-id
Date: Tue, 20 Sep 2022 12:00:51 +0200
Organization: Groupes francophones par TrigoFACILE
Message-ID: <tgc30j$7s0o$4@news.trigofacile.com>
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>
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>
 by: Julien ÉLIE - Tue, 20 Sep 2022 10:00 UTC

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)

Re: How to permit user to set the right part of message-id

<tgc4bo$2ccip$1@news.trigofacile.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=1203&group=news.software.nntp#1203

 copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.176-143-2-105.abo.bbox.fr!not-for-mail
From: iul...@nom-de-mon-site.com.invalid (Julien ÉLIE)
Newsgroups: news.software.nntp
Subject: Re: How to permit user to set the right part of message-id
Supersedes: <tgbsoj$7s0o$2@news.trigofacile.com>
Date: Tue, 20 Sep 2022 12:23:52 +0200
Organization: Groupes francophones par TrigoFACILE
Message-ID: <tgc4bo$2ccip$1@news.trigofacile.com>
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>
<tgbk8b$t5f$1@rasp.pasdenom.info> <632971f6$0$31559$426a74cc@news.free.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 20 Sep 2022 10:23:52 -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="2503257"; 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-Key: sha1:Ttk45/ychB2He9WL47AJWUPgRgI= sha256:SxGcrRBQ9+pLj512fr0hg5/B/rYCdhqS7wbjGj9/IPo=
Cancel-Lock: sha1:BiZyjp7kEb7OSZ8d/EbLipnATFw= sha256:zWspon7bKi1cSxn1k9Bn7yU1Fpos+EVMWoep9JUgY/o=
sha1:wxLCQDB861SN3blWLbZhuP8rsJY= sha256:261r25gbBg0cf5T+s3lycSFjF2A2mf0u9chrAaqI3fU=
In-Reply-To: <632971f6$0$31559$426a74cc@news.free.fr>
 by: Julien ÉLIE - Tue, 20 Sep 2022 10:23 UTC

Bonjour LaLibreParole,

> If "virtualhost" is not present it only modify the path in injection
> info. > For example:
> With virtualhost: "injection-Info: machinename.readersconfDomain"
> Without virtualhost: "injection-Info: machinename.InnConfDomain"
>
> it's a pity that we can't delete the name of the machine at this
> place
It's also a behaviour, dating back to the obsolete X-Trace header field,
that should be changed and follow a similar algorithm as the one
suggested by Russ for Message-ID (directly take domain from readers.conf
and inn.conf in that order, and fall back to FQDN otherwise).

--
Julien ÉLIE

« – Mais je leur ai simplement demandé si c'était la bonne route !!!
– Ils nous ont fait une 'éponse de No'mand ! » (Astérix)

Re: How to permit user to set the right part of message-id

<tgc9vj$chd$1@rasp.pasdenom.info>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=1204&group=news.software.nntp#1204

 copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!paganini.bofh.team!pasdenom.info!.POSTED.2a01:e0a:21:ea80:27f4:2f9d:631d:cbac!not-for-mail
From: yam...@beurdin.invalid (yamo')
Newsgroups: news.software.nntp
Subject: Re: How to permit user to set the right part of message-id
Date: Tue, 20 Sep 2022 13:59:46 +0200
Organization: <https://pasdenom.info/news.html>
Message-ID: <tgc9vj$chd$1@rasp.pasdenom.info>
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>
<tgbk8b$t5f$1@rasp.pasdenom.info> <632973c5$0$31559$426a74cc@news.free.fr>
Reply-To: yamo@groumpf.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 20 Sep 2022 11:59:47 -0000 (UTC)
Injection-Info: rasp.pasdenom.info; posting-account="stephane@usenet"; posting-host="2a01:e0a:21:ea80:27f4:2f9d:631d:cbac";
logging-data="12845"; mail-complaints-to="abuse@pasdenom.info"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Firefox/68.0 SeaMonkey/2.53.13
Cancel-Lock: sha256:/Zw1dEUJj5g9bQKYJ0U1uR0mHMQZu6eMJdQ0WA/WpP4=
In-Reply-To: <632973c5$0$31559$426a74cc@news.free.fr>
X-Seamonkey: <https://www.seamonkey-project.org/>
 by: yamo' - Tue, 20 Sep 2022 11:59 UTC

Hi,

LaLibreParole a tapoté le 20/09/2022 10:03:
> No: only if "virtualhost" is also set to true in reader.conf.

Without virtualhost I haven't succeeded in configuring it...
Now I'm not using it. It may be broken in 2.6.4?

--
Stéphane
Sorry for my bad English.

Re: How to permit user to set the right part of message-id

<87sfkmxcsj.fsf@hope.eyrie.org>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=1205&group=news.software.nntp#1205

 copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.killfile.org!news.eyrie.org!.POSTED!not-for-mail
From: eag...@eyrie.org (Russ Allbery)
Newsgroups: news.software.nntp
Subject: Re: How to permit user to set the right part of message-id
Date: Tue, 20 Sep 2022 08:53:32 -0700
Organization: The Eyrie
Message-ID: <87sfkmxcsj.fsf@hope.eyrie.org>
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>
<tgc30j$7s0o$4@news.trigofacile.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: hope.eyrie.org;
logging-data="7103"; mail-complaints-to="news@eyrie.org"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:RMm/K5t4WbE1Hwma/osUk9WTvJI=
 by: Russ Allbery - Tue, 20 Sep 2022 15:53 UTC

Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> writes:

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

Ah, hm. Yes, INN's mesage ID generation algorithm is not great and we
could indeed get duplicates if multiple hosts are using the same
right-hand side.

> 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 think if domain has invalid characters we should probably just abort
with a fatal error, assuming it's worth checking for this. That seems
like a basic configuration error we should just make people fix.

> 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. :)
> """

Ah! Okay, yes, I agree with my past self, now that I've read my logic
from 20 years ago. :) Maybe the root problem here is that we're
overloading domain.

I think the tactical fix to honor domain in readers.conf regardless of
what domain in inn.conf is set to is the right fix for stable. I'm trying
to figure out if we need to modify domain in inn.conf or if we should just
configure message ID generation (and Injection-Info generation) in
readers.conf. We can have it default to inn.conf's domain setting, but
not on the grounds that that's the right place to set it, but that that's
the right place to globally override broken DNS / gethostname.

I don't agree with my past self that we can assume there are no more DNS
issues of this type any more. If anything, they've gotten more common
with the growth of internal networks. I think it's quite likely that
there's someone out there with a server where inn_getfdqn() returns
news.office.internal or some such thing, but they want to be news.foo.com
on the Internet, and domain feels like the right overall config setting
for that use case.

What I'm coming around to for the next major release is that the parameter
in readers.conf should just be called something different, since it is
something different, and we should remove the domain setting in
readers.conf (since it doesn't make sense to change the DNS resolution
stuff in readers.conf since that will be a global problem, not just an
nnrpd problem) and have innupgrade change it to some other name.

The ABNF construct that's used in the standards for Xref is server-name.
That's not a bad name for this setting; maybe the new readers.conf setting
should be servername? Which normally you would want to set to the same
thing as pathhost in inn.conf, but they're distinct settings since there
are cases where you may want them to be different.

The new setting should then have the same interaction with virtualhost
that domain does, I think.

> 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

*laugh*. I didn't even read the FAQ or remember that there was a FAQ
entry about this. Well, I was certainly right that I did understand all
of this stuff at some point in the past and then forgot!

--
Russ Allbery (eagle@eyrie.org) <https://www.eyrie.org/~eagle/>

Please post questions rather than mailing me directly.
<https://www.eyrie.org/~eagle/faqs/questions.html> explains why.

Re: How to permit user to set the right part of message-id

<632a2143$0$31521$426a34cc@news.free.fr>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=1206&group=news.software.nntp#1206

 copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!news.niel.me!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!cleanfeed1-b.proxad.net!nnrp1-1.free.fr!not-for-mail
From: vrai.ou....@laposte.net (LaLibreParole)
Newsgroups: news.software.nntp
Subject: Re: How to permit user to set the right part of message-id
Date: Tue, 20 Sep 2022 22:23:25 +0200
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> <tgbk8b$t5f$1@rasp.pasdenom.info> <632973c5$0$31559$426a74cc@news.free.fr> <tgc9vj$chd$1@rasp.pasdenom.info>
User-Agent: ForteAgent/8.00.32.1272
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Lines: 12
Message-ID: <632a2143$0$31521$426a34cc@news.free.fr>
Organization: Guest of ProXad - France
NNTP-Posting-Date: 20 Sep 2022 22:23:31 CEST
NNTP-Posting-Host: 77.129.50.167
X-Trace: 1663705411 news-4.free.fr 31521 77.129.50.167:51248
X-Complaints-To: abuse@proxad.net
 by: LaLibreParole - Tue, 20 Sep 2022 20:23 UTC

yamo' <yamo@beurdin.invalid> composa la prose suivante:

>Hi,
>
>LaLibreParole a tapoté le 20/09/2022 10:03:
>> No: only if "virtualhost" is also set to true in reader.conf.
>
>Without virtualhost I haven't succeeded in configuring it...
>Now I'm not using it. It may be broken in 2.6.4?

Perhaps: i use 2.6.3-3
The last in my ubuntu version.

Re: How to permit user to set the right part of message-id

<tgfttk$2enqk$1@news.trigofacile.com>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=1207&group=news.software.nntp#1207

 copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!.POSTED.176-143-2-105.abo.bbox.fr!not-for-mail
From: iul...@nom-de-mon-site.com.invalid (Julien ÉLIE)
Newsgroups: news.software.nntp
Subject: Re: How to permit user to set the right part of message-id
Date: Wed, 21 Sep 2022 22:58:28 +0200
Organization: Groupes francophones par TrigoFACILE
Message-ID: <tgfttk$2enqk$1@news.trigofacile.com>
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>
<tgc30j$7s0o$4@news.trigofacile.com> <87sfkmxcsj.fsf@hope.eyrie.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 21 Sep 2022 20:58:28 -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="2580308"; 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:HsEqWM2GLduDhg1RKWLZHinYjvU= sha256:AoXHQsXoniCP7DBoZshr/RIC9+dk1WrUvE5CdO8h+4Y=
sha1:NXnF02AG5PI0A2CzDECwDG7QjjI= sha256:3l8quX666/DPEIOPNEgWcYtJd2exZgn4T7ne3SxxlBQ=
In-Reply-To: <87sfkmxcsj.fsf@hope.eyrie.org>
 by: Julien ÉLIE - Wed, 21 Sep 2022 20:58 UTC

Hi Russ,

> INN's mesage ID generation algorithm is not great and we
> could indeed get duplicates if multiple hosts are using the same
> right-hand side.

Do you think we should improve the generation of Message-IDs?
They're currently based on the date, PID and a counter incrementing at
each call. A quick improvement could be to also add for instance 6
bytes from RAND_bytes() if OpenSSL support is available (which is most
often the case I believe).

>> 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 think if domain has invalid characters we should probably just abort
> with a fatal error, assuming it's worth checking for this. That seems
> like a basic configuration error we should just make people fix.

Yes, people should fix such a misconfiguration.

> I think the tactical fix to honor domain in readers.conf regardless of
> what domain in inn.conf is set to is the right fix for stable.

I also agree; I'll do that.

> What I'm coming around to for the next major release is that the parameter
> in readers.conf should just be called something different, since it is
> something different, and we should remove the domain setting in
> readers.conf (since it doesn't make sense to change the DNS resolution
> stuff in readers.conf since that will be a global problem, not just an
> nnrpd problem) and have innupgrade change it to some other name. >
> The ABNF construct that's used in the standards for Xref is server-name.
> That's not a bad name for this setting; maybe the new readers.conf setting
> should be servername?

Yes, servername looks like an appropriate name. It will be a useful
improvement for the next major release.
I propose to also have a servername parameter in inn.conf as inews
generates Message-IDs (and currently uses the value of the domain
parameter in inn.conf).
And the value of servername can be overriden in readers.conf.

> Which normally you would want to set to the same
> thing as pathhost in inn.conf, but they're distinct settings since there
> are cases where you may want them to be different.

The default value of servername in inn.conf (optional parameter) would
then be pathhost (mandatory to set in inn.conf).

--
Julien ÉLIE

« C'est une forêt vierge où la main de l'homme n'a jamais mis le pied. »

Re: How to permit user to set the right part of message-id

<632b8650$0$25831$426a34cc@news.free.fr>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=1208&group=news.software.nntp#1208

 copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!paganini.bofh.team!pasdenom.info!nntpfeed.proxad.net!proxad.net!feeder1-1.proxad.net!cleanfeed3-b.proxad.net!nnrp2-2.free.fr!not-for-mail
From: vrai.ou....@laposte.net (LaLibreParole)
Newsgroups: news.software.nntp
Subject: Re: How to permit user to set the right part of message-id
Date: Wed, 21 Sep 2022 23:46:55 +0200
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> <tgc30j$7s0o$4@news.trigofacile.com> <87sfkmxcsj.fsf@hope.eyrie.org> <tgfttk$2enqk$1@news.trigofacile.com>
User-Agent: ForteAgent/8.00.32.1272
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Lines: 59
Message-ID: <632b8650$0$25831$426a34cc@news.free.fr>
Organization: Guest of ProXad - France
NNTP-Posting-Date: 21 Sep 2022 23:46:56 CEST
NNTP-Posting-Host: 77.129.50.167
X-Trace: 1663796816 news-4.free.fr 25831 77.129.50.167:54795
X-Complaints-To: abuse@proxad.net
 by: LaLibreParole - Wed, 21 Sep 2022 21:46 UTC

Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> composa la prose suivante:

>Hi Russ,
>
>> INN's mesage ID generation algorithm is not great and we
>> could indeed get duplicates if multiple hosts are using the same
>> right-hand side.
>
>Do you think we should improve the generation of Message-IDs?
>They're currently based on the date, PID and a counter incrementing at
>each call. A quick improvement could be to also add for instance 6
>bytes from RAND_bytes() if OpenSSL support is available (which is most
>often the case I believe).
>
>
>>> 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 think if domain has invalid characters we should probably just abort
>> with a fatal error, assuming it's worth checking for this. That seems
>> like a basic configuration error we should just make people fix.
>
>Yes, people should fix such a misconfiguration.
>
>
>> I think the tactical fix to honor domain in readers.conf regardless of
>> what domain in inn.conf is set to is the right fix for stable.
>
>I also agree; I'll do that.
>
>
>> What I'm coming around to for the next major release is that the parameter
>> in readers.conf should just be called something different, since it is
>> something different, and we should remove the domain setting in
>> readers.conf (since it doesn't make sense to change the DNS resolution
>> stuff in readers.conf since that will be a global problem, not just an
>> nnrpd problem) and have innupgrade change it to some other name. >
>> The ABNF construct that's used in the standards for Xref is server-name.
>> That's not a bad name for this setting; maybe the new readers.conf setting
>> should be servername?
>
>Yes, servername looks like an appropriate name. It will be a useful
>improvement for the next major release.
>I propose to also have a servername parameter in inn.conf as inews
>generates Message-IDs (and currently uses the value of the domain
>parameter in inn.conf).
>And the value of servername can be overriden in readers.conf.
>
>
>> Which normally you would want to set to the same
>> thing as pathhost in inn.conf, but they're distinct settings since there
>> are cases where you may want them to be different.
>
>The default value of servername in inn.conf (optional parameter) would
>then be pathhost (mandatory to set in inn.conf).

it looks good !

Re: How to permit user to set the right part of message-id

<tgh20i$o6e$1@shakotay.alphanet.ch>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=1209&group=news.software.nntp#1209

 copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!news.alphanet.ch!alphanet.ch!.POSTED!not-for-mail
From: schae...@alphanet.ch (Marc SCHAEFER)
Newsgroups: news.software.nntp
Subject: Re: How to permit user to set the right part of message-id
Date: Thu, 22 Sep 2022 07:14:26 -0000 (UTC)
Organization: Posted through news.alphanet.ch
Message-ID: <tgh20i$o6e$1@shakotay.alphanet.ch>
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> <tgc30j$7s0o$4@news.trigofacile.com> <87sfkmxcsj.fsf@hope.eyrie.org> <tgfttk$2enqk$1@news.trigofacile.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 22 Sep 2022 07:14:26 -0000 (UTC)
Injection-Info: shakotay.alphanet.ch; posting-account="schaefer";
logging-data="24782"; mail-complaints-to="usenet@alphanet.ch"; posting-host="634ce6c9682d817d72f6177875e2bb4f.nnrp.alphanet.ch"
User-Agent: tin/2.4.3-20181224 ("Glen Mhor") (UNIX) (Linux/4.19.0-21-amd64 (x86_64))
Cancel-Lock: sha256:b7X6Z2ielCDkK1g6hg6HBMsyj39PLjSQLmGU0WlSeiE= sha256:WZTOoGlAE6t7JiARgNWdE9qYBFIWTNPa3uSoUzu0PDo=
 by: Marc SCHAEFER - Thu, 22 Sep 2022 07:14 UTC

Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote:
> A quick improvement could be to also add for instance 6
> bytes from RAND_bytes() if OpenSSL support is available (which is most
> often the case I believe).

Yes, that would be great.

Re: How to permit user to set the right part of message-id

<632cc993$0$2980$426a74cc@news.free.fr>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=1210&group=news.software.nntp#1210

 copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!paganini.bofh.team!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!cleanfeed3-b.proxad.net!nnrp1-2.free.fr!not-for-mail
From: vrai.ou....@laposte.net (LaLibreParole)
Newsgroups: news.software.nntp
Subject: Re: How to permit user to set the right part of message-id
Date: Thu, 22 Sep 2022 22:46:10 +0200
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> <tgbk8b$t5f$1@rasp.pasdenom.info> <632973c5$0$31559$426a74cc@news.free.fr>
User-Agent: ForteAgent/8.00.32.1272
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Lines: 25
Message-ID: <632cc993$0$2980$426a74cc@news.free.fr>
Organization: Guest of ProXad - France
NNTP-Posting-Date: 22 Sep 2022 22:46:11 CEST
NNTP-Posting-Host: 77.129.50.167
X-Trace: 1663879571 news-3.free.fr 2980 77.129.50.167:52474
X-Complaints-To: abuse@proxad.net
 by: LaLibreParole - Thu, 22 Sep 2022 20:46 UTC

LaLibreParole <vrai.ou.faux@laposte.net> composa la prose suivante:

>yamo' <user@tld.invalid> composa la prose suivante:
>
>>Hi,
>>Russ Allbery a écrit :
>>
>>> * Document domain as a first-class configuration parameter for access
>>> groups in readers.conf, saying that it changes the way message IDs are
>>> constructed. (I'm not sure if it does anything else?)
>>
>>Changing it, add the domain value to the Path for messages added by nnrpd
>>and when getting messages with a client of nnrpd.
>
>No: only if "virtualhost" is also set to true in reader.conf.
>
>If "virtualhost" is not present it only modify the path in injection info.
>For example:
> With virtualhost: "injection-Info: machinename.readersconfDomain"
> Without virtualhost: "injection-Info: machinename.InnConfDomain"
>
>it's a pity that we can't delete the name of the machine at this place

This day, i update ubuntu and inn2 to version 2.6.4-2.
The name of the machine has disappeared from injection-info :-)

Re: How to permit user to set the right part of message-id

<tgje47$2eubv$4@dont-email.me>

 copy mid

https://www.novabbs.com/computers/article-flat.php?id=1211&group=news.software.nntp#1211

 copy link   Newsgroups: news.software.nntp
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: ahk...@chinet.com (Adam H. Kerman)
Newsgroups: news.software.nntp
Subject: Re: How to permit user to set the right part of message-id
Date: Fri, 23 Sep 2022 04:53:27 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 49
Message-ID: <tgje47$2eubv$4@dont-email.me>
References: <632790d3$0$22052$426a74cc@news.free.fr> <87y1ufxary.fsf@hope.eyrie.org> <tgc30j$7s0o$4@news.trigofacile.com> <87sfkmxcsj.fsf@hope.eyrie.org>
Injection-Date: Fri, 23 Sep 2022 04:53:27 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="65c472344123a7c0402d00b515a92708";
logging-data="2587007"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18U+G4oLOYlZtRISwyzuFsaSlOTjGGzJ2A="
Cancel-Lock: sha1:eYxLDvHl0ZG6adCguI/8tlsWm1c=
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
 by: Adam H. Kerman - Fri, 23 Sep 2022 04:53 UTC

Russ Allbery <eagle@eyrie.org> wrote:
>Julien <iulius@nom-de-mon-site.com.invalid> writes:

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

>Ah, hm. Yes, INN's mesage ID generation algorithm is not great and we
>could indeed get duplicates if multiple hosts are using the same
>right-hand side.

Can I ask a dumb question here?

Let's assume the issue applies to hosts on different News sites. Either
the News administrator or user decides there's a legitimate privacy reason
that it's not desireable to use the working domain of the News server or
the user's own host. With better random number generators available these
days, is it possible to ensure uniqueness considering the left part of the
Message-ID only if multiple News sites or users start to use domains in
the right half that they don't uniquely control but are harmless to use,
like literally example.com?

As long as you are thinking about this, can you give some consideration
to appending a check digit to the left part?

A certain user I shall not name (but many of you know exactly whom I
am talking about) has been forging other users, copying their Injection
headers for preloading into the proto forged article which is injected
through the News site that he uses. He typically adds crossposted
newsgroups that the actual author did not crosspost to.

The original Message-ID is preloaded as well, but he gets around
clashing Message-IDs by prepending a character.

A check digit might prevent that. Of course, he'll find all new ways to
commit abuse.

>>>. . .

Pages:12
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor