🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rocksolid.nodes.announce
Article #504

RSLight: the aliases.conf file

#504
From: Retro Guy
Date: Thu, 18 Apr 2024 11:47
39 lines
2821 bytes
The file: 'aliases.conf' should be in the config directory ($config_dir). By default, /etc/rslight

The file is similar to, but not exactly the same as a mail aliases file.

Here's an example:
admin:the_big_guy
sysop:the_big_guy
three:userthree
test this:some_user
four:userfour
five:userfive
some.user:some_user

You may have multiple lines pointing to the same user, but you may NOT:
one:userone
userone:usertwo
usertwo:userthree
two:usertwo,userthree

The username to the right of the colon must always be a real username, and only one username.

It is suggested to add 'admin' and 'sysop' to point to the administrative user. Add any others you wish.

When a user creates an alias in their Configuration, that alias will be added to this file automatically. By default, only one alias per user. (see further info below)

Aliases are mainly used for mail. So mail sent to 'admin' will end up in the mailbox of 'the_big_guy' from the example above. Right there is a good reason to always create an admin and sysop alias, so your users don't have to guess who is the admin.

overrides.inc.php contains two modifications for the use of aliases:

'reserved_names' => array("admin", "sysop", "rslight"),
Reserved names are aliases that may only be added manually to aliases.conf. A user may not use these names in their Configuration to create an alias. Add whatever you wish here (in array format).

'duplicate_aliases' => array("the_big_guy"),
Duplicate aliases are users who are allowed to have more that one alias. The admin will fall into this category. Add any other users you wish.

Have fun!

-- 
Retro Guy
Technical Details
Message-ID: <619b61327ead554b6ce547e705c60830@www.rocksolidbbs.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf2.newsdeef.eu!news.usenet.farm!..!..!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <619b61327ead554b6ce547e705c60830@www.rocksolidbbs.com>
Subject: RSLight: the aliases.conf file
Date: Thu, 18 Apr 2024 11:47:21 +0000
From: Retro Guy <retroguy@novabbs.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf2.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
Newsgroups: rocksolid.nodes.announce
Organization: RetroBBS
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
 logging-data="1557380"; mail-complaints-to="usenet@i2pn2.org";
 posting-account="qk6pvs/sIyKYNRNFdjVS+ghlZZkCUq7cWs+7p7kaLpU";
User-Agent: Rocksolid Light
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
 ?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
 H0=hZt'[%)4kG|
X-Rslight-Site: $2y$10$xGy9UORU.3B93Wj3EaQ8ueJ9hJy8WIWs6hYGdE12rxznuUXIZSGFi
X-Rslight-Posting-User: 470b25edab282a455f83b37c76e8728963cc19ae
Lines: 38