MODERATORS(5)

NAME
moderators - mail addresses for moderated Usenet newsgroups

DESCRIPTION
The GetModeratorAddress(3) routine reads the file /usr/local/news/moderators to determine how to reach the moderator of a newsgroup. This is used by inews(1) when an unapproved local posting is made to a moderated newsgroup.

The file is read until a match is found. Blank lines and lines starting with a number sign (``#'') are ignored. All other lines should consist of two fields separated by a colon. Matches with the first field can occur in two different ways, and the style of the match determines the interpretation of the second field.

If the first field exactly matches the name of the moderated newsgroup, then the second field is taken to be the mailing address of the moderator. If the first field is a wildmat(3)-style pattern that matches the name of the newsgroup, then the second field is taken to be a format string for sprintf(3). This string should have a single %s parameter, which will be given the name of the newsgroup with periods transliterated to dashes.

Here is a sample file:
    foo.important:announce-request@foo.com
    foo.*:%s@mailer.foo.com
    gnu.*:%s@prep.ai.mit.edu
    *:%s@uunet.uu.net
Using the above file, postings to the moderated newsgroup in the left column will be sent to the address shown in the right column:
    foo.important	announce-request@foo.com
    foo.x.announce	foo-x-announce@mailer.foo.com
    gnu.emacs.sources	gnu-emacs-sources@prep.ai.mit.edu
    comp.sources.unix	comp-sources-unix@uunet.uu.net

HISTORY
Written by Rich $alz <rsalz@uunet.uu.net> for InterNetNews.

SEE ALSO
inews(1), inn.conf(5), libinn(3), wildmat(3).