Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

moderators(5) [suse man page]

MODERATORS(5)						    InterNetNews Documentation						     MODERATORS(5)

NAME
moderators - Submission addresses for moderated groups DESCRIPTION
When an unapproved article is posted locally to a moderated newsgroup, it is not passed off to innd for normal handling; instead, it is sent via e-mail to the submission address for that newsgroup. The submission address is determined using this configuration file. The file pathetc/moderators is a list of associations between uwildmat(3) patterns matching newsgroups and the submission address for those newsgroups. Blank lines and lines starting with a number sign ("#") are ignored. All other lines should consist of two fields separated by a colon: <pattern>:<address> The first field is a uwildmat(3) pattern matching the group or groups to which this line applies. The first matching line is used, so more specific patterns should be listed before general patterns. The second field, the submission address, should be a simple e-mail address with one exception: at most one %s may occur anywhere in the address. If present, it will be replaced by the name of the newsgroup, with all periods in the name changed to dashes ("-"). If there is a literal "%" in the submission address, it must be written as "%%", even if not followed by an "s". With the %s syntax, periods are converted to dashes for historical reasons, from back in the days when periods in the local part of addresses were not always handled correctly. It's probably no longer necessary, but so much now depends on it that it can't be easily changed. It's intended that the sample moderators file included in the INN distribution always be sufficient for all world-wide newsgroups. The hosts behind moderators.isc.org have graciously volunteered to handle forwarding tasks for all world-wide newsgroups so that individual sites don't have to keep track of the submission addresses for moderated groups. The forwarding database used by moderators.isc.org is coordinated by <moderators-request@isc.org>; if you know of a world-wide newsgroup hierarchy that is not correctly handled by moderators.isc.org, please send the details to that address. Given that, the only thing you should have to add to the sample file under normal circumstances are the forwarding addresses for local or limited-distribution moderated groups. If this file doesn't exist, or if a post is made to a moderated group that has no matching entry in this file, nnrpd falls back on the value of moderatormailer set in inn.conf and, failing that, rejects the post. EXAMPLES
Here is a sample file: example.important:announce@example.com example.*:%s@smtp.example.com *:%s@moderators.isc.org Using the above file, postings to the moderated newsgroup in the left column below will be sent to the address shown in the right column below: example.important announce@example.com example.x-announce example-x-announce@smtp.example.com alt.dev.null alt-dev-null@moderators.isc.org Note that periods are changed to dashes and dashes are left alone with the %s syntax, so two moderated newsgroups whose names differ only by changing a period to a dash would go to the same address. Such newsgroup pairs should therefore not be created. HISTORY
Written by Rich $alz <rsalz@uunet.uu.net> for InterNetNews. Rewritten in POD by Russ Allbery <rra@stanford.edu>. $Id: moderators.pod 8830 2009-11-29 16:49:59Z iulius $ SEE ALSO
inn.conf(5), nnrpd(8), uwildmat(3). INN 2.5.2 2010-02-08 MODERATORS(5)

Check Out this Related Man Page

NEWSGROUPS(5)						    InterNetNews Documentation						     NEWSGROUPS(5)

NAME
newsgroups - List of newsgroups and their short descriptions DESCRIPTION
The file pathdb/newsgroups contains a list of newsgroups for which a short description is available. This file is generally updated by controlchan(8) whenever a control message is received; it is used by nnrpd in response to LIST NEWSGROUPS and is only meant to provide information to users. News readers often show the list of carried newsgroups along with these descriptions. It is not necessary that all the groups carried by the news server (that is to say all the groups listed in the active file) be listed in the newsgroups file. And it is also not necessary that all the groups listed in the newsgroups file be carried by the news server. Nonetheless, it is of course better if the active and newsgroups files have exactly the same newsgroups. If you use "ctlinnd newgroup" to manually create a group, only the active file is updated. You should then edit the newsgroups file in order to add a short description for the created group. The same goes for manually removing or changing the status of a newsgroup. Each line of the newsgroups file consists of two fields separated by at least one tabulation: <name> <description> The first field is the name of the newsgroup. The second field is its description. You can get the newsgroups file of another NNTP server with getlist(1). PREFERRED FORMAT FOR A ONE-LINE NEWSGROUP DESCRIPTION As far as the format of the newsgroups file is concerned, there is a preferred format for each line. Since news administrators do not generally have the time to fix up the lines that are being automatically included from newgroup or checkgroups messages, this information is provided so that control message senders can craft better control messages. It will also be useful for news administrators to know how to format the description of their local newsgroups. There should be at least one hard tab (8 column tab stops) between the group name and the description. If the group name is at least 16 characters, it should be followed with one tab. If the group name is at least 8 characters, it should be followed with two tabs. And in the unlikely event the group name is less than 8 characters, it should be followed with three tabs. For instance: misc.transport.rail.europe Railroads & railways in all of Europe. news.admin.nocem NoCeM protocol policy issues and information. news.groups Discussions and lists of newsgroups. The total line length should be at most 79 columns. The description should start with a capital and not be more than 55 characters (79 - 24) long. If the group name is longer than 24 characters, the description should be correspondingly shorter. If the group is moderated, it should have " (Moderated)" (note the space before the opening parenthesis) at the very end of the description, not counted as part of the length of the description. This text must be exactly that, with no variations, as it is used by news software to find moderated groups. Here is an example of moderated newsgroup: news.lists.misc News-related statistics and lists. (Moderated) Traditionally, all newsgroup descriptions ended with a period, but this is not necessary and steals away one character that is occasionally useful for forming a better description. Some over-long descriptions could be made to easily fit the length by dropping useless wordings like "Discussion of" which do not meaningfully contribute to the description. Others are usually pretty easy to get to no more than column eighty, except when the group names start getting really long. Hopefully then the group name itself contains quite a bit of description. In some cases, a longer description really will be necessary; they can of course be used within the newsgroups file. However, they will probably be less readable and less useful for some Usenet users. Descriptions must not contain any control characters (octets between 0x00 and 0x1F). ENCODING OF THE DESCRIPTIONS
There is, at present, no good mechanism for managing the character set of the newsgroup descriptions. Many non-English hierarchies include newsgroup descriptions in their native languages, since this is more useful for their users, and those are included verbatim in the newsgroups file. This unfortunately means that different lines of the file will require different character set settings to read properly, and those character sets are not documented in the file. Hopefully some future standard will provide a way to address this; in the meantime, using UTF-8 for non-ASCII characters is recommended. MINIMAL NEWSGROUPS FILE
The minimal newsgroups file shipped with INN is: control Various control messages (no posting). control.cancel Cancel messages (no posting). control.checkgroups Hierarchy check control messages (no posting). control.newgroup Newsgroup creation control messages (no posting). control.rmgroup Newsgroup removal control messages (no posting). junk Unfiled articles (no posting). These lines must be tab-delimited, so please be careful in case you copy and paste them from above. HISTORY
Written by Julien Elie for InterNetNews. The preferred format for a one-line newsgroup description is based on the policies by which the newsgroups file in <ftp://ftp.isc.org/pub/usenet/CONFIG/> is maintained; they were originally written by David Lawrence <tale@isc.org> and updated by Russ Allbery <rra@stanford.edu>. $Id: newsgroups.pod 8822 2009-11-20 17:34:15Z iulius $ SEE ALSO
active(5), controlchan(8), ctlinnd(8), getlist(1), nnrpd(8). INN 2.5.3 2010-02-08 NEWSGROUPS(5)
Man Page