moderators(5) | Leafnode | moderators(5) |
NAME¶
moderators - moderator configuration file for fetchnews(8)
DESCRIPTION¶
Leafnode is a USENET package intended for small sites, where there are few users and little disk space, but where a large number of groups is desired.
The moderators file defines which groups are handled by which moderator (by mail address).
SYNTAX¶
Leafnode's moderators file format is supposed to be compatible with INN's moderators(5) file format. A moderators file consists of lines, each of which can have either of these three formats:
- Empty lines
- are ignored. They are useful to structure the file.
- Comment lines
- are lines that start with a hash character (#) in the leftmost column. These are also ignored and useful to structure and document the file.
- Moderator lines
- are of the form
pattern:moderator
where pattern is a wildmat(5) pattern to match the newsgroup's name and moderator the moderator's mail address. The latter can be empty, which means that there is no moderator for the group or pattern (and fetchnews should post into the group rather than detour the message to the moderator). The moderator may contain one %s pattern, which will be replaced by the group name with dots (.) converted to dashes (-). %% in the moderator will be replaced by %. The behavior for other sequences starting with % is undefined.
Matching¶
Patterns will be tried in the order listed in the file, until the first match which terminates the search.
EXAMPLE¶
An example says more than thousand words, so here goes a commented one:
# special moderator, all articles posted for local.special # will be mailed to hans@example.com local.special:hans@example.com # egon is moderator for all other local groups: local.*:egon+%s@example.net # that line means: # mail postings for local.test to egon+local-test@example.net # mail postings for local.video to egon+local-video@example.net # # Note: if you put local.special below local.*, # local.special would be ignored. # Post gmane.* articles rather than mailing them, # overriding the catchall pattern for isc.org below: gmane.*: ## Direct all other public hierarchies to the ## master moderator database. *:%s@moderators.isc.org
FILES¶
- /etc/leafnode/moderators
AUTHORS¶
- Joerg Dietrich
- wrote the original implementation.
- Matthias Andree
- wrote this manual page.
SEE ALSO¶
2.0.0.alpha202101 | leafnode |