🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by hurst Thu, 18 Aug 2022 22:50
another q about readers.conf
#89538
Author: hurst
Date: Thu, 18 Aug 2022 22:50
13 lines
1252 bytes
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?
Re: another q about readers.conf
#89572
Author: 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)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads