1DISTRIB.PATS(5)           InterNetNews Documentation           DISTRIB.PATS(5)
2
3
4

NAME

6       distrib.pats - Default values for the Distribution header field
7

DESCRIPTION

9       The file pathetc/distrib.pats is used by nnrpd to determine the default
10       body of the Distribution header field.  Blank lines and lines beginning
11       with 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 uwildmat-style
23       pattern to specify a set of newsgroups.
24
25       The third field is the body that should be used for the Distribution
26       header field of a posted article, if this line was picked as the best
27       match and no Distribution header field was supplied by the user.  It
28       can be an empty string, specifying that no Distribution header field
29       should be added.  If it is not empty, it is better to only use US-ASCII
30       characters for that field; otherwise, make sure it is encoded in UTF-8.
31
32       When a post is received by nnrpd that does not already contain a
33       Distribution header field, each newsgroup to which an article is posted
34       will be checked against this file in turn, and the matching line with
35       the highest weight will be used as the body of the Distribution header
36       field.  If no lines match, or if the matching line has an empty string
37       for its third field, no header field will be added.  In case a
38       distribution is added by nnrpd, make sure it is not rejected by the
39       newsfeeds "ME" entry.
40
41       A list of recommended distributions can be specified and described in
42       distributions(5).
43

HISTORY

45       Written by Rich $alz <rsalz@uunet.uu.net> for InterNetNews.  Converted
46       to POD by Russ Allbery <eagle@eyrie.org>.
47

SEE ALSO

49       distributions(5), inn.conf(5), libinn_uwildmat(3), newsfeeds(5),
50       nnrpd(8).
51
52
53
54INN 2.7.1                         2022-07-10                   DISTRIB.PATS(5)
Impressum