1MODERATORS(5) File Formats Manual MODERATORS(5)
2
3
4
6 moderators - submission addresses for moderated newsgroups
7
9 When an unapproved article is posted locally to a moderated newsgroup,
10 it is not passed off to innd(8) for normal handling; instead it's
11 instead sent via e-mail to the submission address for that newsgroup.
12 The file <pathetc in inn.conf>/moderators lists the submission
13 addresses for moderated newsgroups. This file is used by nnrpd(8),
14 inews(1), and any other program that uses the GetModeratorAddress()
15 routine (see libinn(3)).
16
17 The moderators file is a list of associations between uwildmat(3) pat‐
18 terns matching newsgroups and the submission address for those news‐
19 groups. Blank lines and lines starting with a number sign (``#'') are
20 ignored. All other lines should consist of two fields separated by a
21 colon.
22
23 The first field specifies the group or groups to match using uwild‐
24 mat(3). The first matching line is used, so more specific patterns
25 should occur earlier than general patterns.
26
27 The second field, the submission address, may have at most one %s any‐
28 where in it; if present, this will be replaced by the name of the news‐
29 group with periods replaced by dashes. If there is a literal ``%'' in
30 the submission address, it must be written as ``%%'' (even if not fol‐
31 lowed by an ``s'').
32
33 Here is a sample file:
34
35 example.important:announce-request@example.com
36 example.*:%s@smtp.example.com
37 gnu.*:%s@prep.ai.mit.edu
38 *:%s@moderators.isc.org
39
40 Using the above file, postings to the moderated newsgroup in the left
41 column will be sent to the address shown in the right column:
42
43 example.important announce-request@example.com
44 example.x.announce example-x-announce@smtp.example.com
45 gnu.emacs.sources gnu-emacs-sources@prep.ai.mit.edu
46 comp.sources.unix comp-sources-unix@moderators.isc.org
47
48 Periods are converted to dashes for historical reasons, from back in
49 the days when periods in the local part of addresses were not always
50 handled correctly. It's probably no longer necessary, but so much now
51 depends on it that it can't be easily changed.
52
53 It's intended that the sample moderators file included in the INN dis‐
54 tribution always be sufficient for all world-wide newsgroups. The
55 hosts behind moderators.isc.org have graciously volunteered to handle
56 forwarding tasks for all world-wide newsgroups so that individual sites
57 don't have to keep track of the submission addresses for moderated
58 groups. The forwarding database used by moderators.isc.org is coordi‐
59 nated by moderators-request@isc.org; if you know of a world-wide news‐
60 group hierarchy that is not correctly handled by moderators.isc.org,
61 please send the details to that address.
62
63 Given that, the only thing you should have to add to the sample file
64 under normal circumstances are the forwarding addresses for local or
65 limited-distribution moderated groups.
66
68 Written by Rich $alz <rsalz@uunet.uu.net> for InterNetNews. This is
69 revision 5909, dated 2002-12-03.
70
72 inews(1), inn.conf(5), libinn(3), uwildmat(3).
73
74
75
76 MODERATORS(5)