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

NAME

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

DESCRIPTION

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
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
23       uwildmat(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       If it is not empty, it is better to only use US-ASCII characters for
30       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, each newsgroup to which an article is posted will
34       be checked against this file in turn, and the matching line with the
35       highest weight will be used as the value of the Distribution: header.
36       If no lines match, or if the matching line has an empty string for its
37       third field, no header will be added.  In case a distribution is added
38       by nnrpd, make sure it is not rejected by the newsfeeds "ME" entry.
39
40       A list of recommended distributions can be specified and described in
41       distributions(5).
42

HISTORY

44       Written by Rich $alz <rsalz@uunet.uu.net> for InterNetNews.  Converted
45       to POD by Russ Allbery <eagle@eyrie.org>.
46
47       $Id: distrib.pats.pod 9767 2014-12-07 21:13:43Z iulius $
48

SEE ALSO

50       distributions(5), inn.conf(5), newsfeeds(5), nnrpd(8), uwildmat(3).
51
52
53
54INN 2.6.4                         2015-09-12                   DISTRIB.PATS(5)
Impressum