🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #89572

Re: another q about readers.conf

#89572
From: Julien ÉLIE
Date: Thu, 01 Sep 2022 17:53
33 lines
2241 bytes
Hi hurst,

> So I noticed in the examples in the readers.conf file.
> 
> #}#auth "local" {
> #    hosts: "*.example.com, example.com"
> #    default: "<local>@example.com"
> #}
> 
> #access "local" {
> #    users: "<local>@example.com"
> #    newsgroups: "*"
> 
> Does there always have to be a @example.com or could it be something 
> simple as a keyword in the default and users field?

The identity assigned by the auth group does not need containing a 
domain name (@example.com).  It can be "<local>", and then you match it 
with a mere:
   users: "<local>"

Note that if you use the default-domain key in an auth group, that 
domain will always be appended to the identity if it does not already 
contain one.

I believe the "@example.com" adds a useless complexity in the 
readers.conf sample file.  I'll remove it.

-- 
Julien ÉLIE

« Chaque chêne est envahi par quantité de druides qui cueillent le gui
   en travaillant dur de la serpe… » (Astérix)
Technical Details
Message-ID: <teqric$14muh$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-mail
References: <tdmfod$a0v$1@gioia.aioe.org>

Show Full Headers
Complete Article Headers
Message-ID: <teqric$14muh$1@news.trigofacile.com>
Subject: Re: another q about readers.conf
Date: Thu, 1 Sep 2022 19:53:15 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <tdmfod$a0v$1@gioia.aioe.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: Thu, 1 Sep 2022 17:53:16 -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="1203153"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.13.0
Cancel-Lock: sha1:R2GRRw/A+UThgb9GHKUsgqpSNL8= sha256:PZqDY3TaQocHifQZn18W/oqNaFJHNWK29Pk2HMilXsA= sha1:GwDmtNIBM7Y1zX2zD/lRbr6GjuM= sha256:zJDNRUiIfDybJyJFDfkHC52+D3Y3JJeGsnYI7Y14rrk=
In-Reply-To: <tdmfod$a0v$1@gioia.aioe.org>