Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

distrib.pats(5) [suse man page]

DISTRIB.PATS(5) 					    InterNetNews Documentation						   DISTRIB.PATS(5)

NAME
distrib.pats - Default values for the Distribution: header DESCRIPTION
The file pathetc/distrib.pats is used by nnrpd to determine the default value of the Distribution: header. Blank lines and lines beginning with a number sign ("#") are ignored. All other lines consist of three fields separated by a colon: <weight>:<pattern>:<value> The first field is the weight to assign to this match. If a newsgroup matches multiple lines, the line with the highest weight is used. This should be an arbitrary integer greater than zero. The order of lines in the file is only important if groups have equal weight (in which case, the first matching line will be used). The second field is either the name of a newsgroup or a uwildmat(3)-style pattern to specify a set of newsgroups. The third field is the value that should be used for the Distribution: header of a posted article, if this line was picked as the best match and no Distribution: header was supplied by the user. It can be an empty string, specifying that no Distribution: header should be added. If it is not empty, it is better to only use US-ASCII characters for that field; otherwise, make sure it is encoded in UTF-8. When a post is received by nnrpd that does not already contain a Distribution: header, each newsgroup to which an article is posted will be checked against this file in turn, and the matching line with the highest weight will be used as the value of the Distribution: header. If no lines match, or if the matching line has an empty string for its third field, no header will be added. In case a distribution is added by nnrpd, make sure it is not rejected by the newsfeeds "ME" entry. A list of recommended distributions can be specified and described in distributions(5). HISTORY
Written by Rich $alz <rsalz@uunet.uu.net> for InterNetNews. Converted to POD by Russ Allbery <rra@stanford.edu>. $Id: distrib.pats.pod 8803 2009-11-15 09:29:41Z iulius $ SEE ALSO
distributions(5), inn.conf(5), newsfeeds(5), nnrpd(8), uwildmat(3). INN 2.5.2 2009-11-15 DISTRIB.PATS(5)

Check Out this Related Man Page

ACTIVE.TIMES(5) 					    InterNetNews Documentation						   ACTIVE.TIMES(5)

NAME
active.times - List of local creation times of newsgroups DESCRIPTION
The file pathdb/active.times provides a chronological record of when newsgroups were created on the local server. This file is normally updated by mod-active and innd whenever a newgroup control message is processed or a "ctlinnd newgroup" command is issued, and is used by nnrpd to answer NEWGROUPS requests. Each line consists of three fields: <name> <time> <creator> The first field is the name of the newsgroup. The second field is the time it was created, expressed as the number of seconds since the epoch. The third field is plain text intended to describe the entity that created the newsgroup. This field is encoded in UTF-8 and is usually the e-mail address of the person who created the group, as specified in the control message or on the ctlinnd command line, or the newsmaster specified at configure time if no creator argument was given to ctlinnd (by default, it is "usenet"). You can get the active.times file of another NNTP server with getlist(1). EXAMPLE
The line: news.admin.moderation 1175716803 <group-admin@isc.org> shows that the newsgroup news.admin.moderation was created on April 4th, 2007, at 20:00:03 UTC. This date can be obtained for instance with "convdate -c 1175716803" (convdate(1) is shipped with INN) or "date -u -d "Jan 1, 1970 00:00:00 +0000 + 1175716803 seconds"". It is when the newsgroup was locally created; in this example, it is when a control message sent by "group-admin@isc.org" was received and processed by the news server (see control.ctl(5) for more details). Therefore, the time is not necessarily the same on every news server. HISTORY
Written by Rich $alz <rsalz@uunet.uu.net> for InterNetNews. Converted to POD by Russ Allbery <rra@stanford.edu>. $Id: active.times.pod 8638 2009-09-28 19:59:48Z iulius $ SEE ALSO
active(5), convdate(1), ctlinnd(8), getlist(1), inn.conf(5), innd(8), mod-active(8), nnrpd(8). INN 2.5.2 2009-09-29 ACTIVE.TIMES(5)
Man Page