1DISTRIB.PATS(5) InterNetNews Documentation DISTRIB.PATS(5)
2
3
4
6 distrib.pats - Default values for the Distribution header
7
9 The file pathetc/distrib.pats is used by nnrpd to determine the default
10 value of the Distribution header. Blank lines and lines beginning with
11 a number sign ("#") are ignored. All other lines consist of three
12 fields separated by a colon:
13
14 <weight>:<pattern>:<value>
15
16 The first field is the weight to assign to this match. If a newsgroup
17 matches multiple lines, the line with the highest weight is used. This
18 should be an arbitrary integer greater than zero. The order of lines
19 in the file is only important if groups have equal weight (in which
20 case, the first matching line will be used).
21
22 The second field is either the name of a newsgroup or a uwild‐
23 mat(3)-style pattern to specify a set of newsgroups.
24
25 The third field is the value that should be used for the Distribution
26 header of a posted article, if this line was picked as the best match
27 and no Distribution header was supplied by the user. It can be an
28 empty string, specifying that no Distribution header should be added.
29
30 When a post is received by nnrpd that does not already contain a Dis‐
31 tribution header, each newsgroup to which an article is posted will be
32 checked against this file in turn, and the matching line with the high‐
33 est weight will be used as the value of the Distribution header. If no
34 lines match, or if the matching line has an empty string for its third
35 field, no header will be added.
36
38 Written by Rich $alz <rsalz@uunet.uu.net> for InterNetNews. Converted
39 to POD by Russ Allbery <rra@stanford.edu>.
40
41 $Id: distrib.pats.5 6282 2003-04-06 21:50:07Z rra $
42
44 inn.conf(5), nnrpd(8), uwildmat(3)
45
46
47
48INN 2.4.0 2003-04-06 DISTRIB.PATS(5)