1SEND-UUCP(8) InterNetNews Documentation SEND-UUCP(8)
2
3
4
6 send-uucp - Send Usenet articles via UUCP
7
9 send-uucp [site ...]
10
12 The send-uucp program processes batch files written by innd(8) to send
13 Usenet articles to UUCP sites. It reads a configuration file to
14 control how it behaves with various sites. Normally, it is run
15 periodically out of cron to put together batches and send them to
16 remote UUCP sites.
17
18 It makes it possible to reduce bandwidth usage and to send news to
19 remote UUCP sites which cannot receive a real-time feed (for instance
20 if they are over dial-up connections).
21
23 Any arguments provided to the program are interpreted as a list of
24 sites specified in send-uucp.cf for which batches should be generated.
25 If no arguments are supplied then batches will be generated for all
26 sites listed in that configuration file.
27
29 The sites to which articles are to be sent must be configured in the
30 configuration file send-uucp.cf in pathetc as set in inn.conf. Each
31 site is specified with a line of the form:
32
33 site[:host[:funnel]] [compressor [maxsize [batchtime]]]
34
35 site
36 The news site name being configured. This must match a site name
37 from newsfeeds(5).
38
39 host
40 The UUCP host name to which batches should be sent for this site.
41 If omitted, the news site name will be used as the UUCP host name.
42
43 funnel
44 In the case of a site configured as a funnel, send-uucp needs to
45 flush the channel (or exploder) being used as the target of the
46 funnel instead of flushing the site. This is the way to tell send-
47 uucp the name of the channel or exploder to flush for this site.
48 If not specified, default to flushing the site.
49
50 compressor
51 The compression method to use for batches. This should be one of
52 "bzip2", "compress", "gzip" or "none". Arguments for the
53 compression command may be specified by using "_" instead of
54 spaces. For example, "gzip_-9". The default value is "gzip".
55
56 maxsize
57 The maximum size in bytes of a single batch before compression.
58 The default value is 500000 bytes.
59
60 batchtime
61 A comma separated list of hours during which batches should be
62 generated for a given site. When send-uucp runs, a site will only
63 be processed if the current hour matches one of the hours in
64 batchtime. The default is no limitation on when to generate
65 batches.
66
67 Fields are separated by spaces and only the site name needs to be
68 specified, with defaults being used for unspecified values. If the
69 first character on a line is a hash sign ("#") then the rest of the
70 line is ignored.
71
73 Here is an example for the send-uucp.cf configuration file:
74
75 zoetermeer gzip 1048576 5,18,22
76 hoofddorp gzip 1048576 5,18,22
77 pa3ebv gzip 1048576 5,18,22
78 drinkel bzip2 1048576 5,6,18,20,22,0,2
79 manhole compress 1048576 5,18,22
80 owl compress 1048576
81 able
82 pern::MYFUNNEL!
83
84 This defines eight UUCP sites. The first three and the last two use
85 "gzip" compression, the fourth site ("drinkel") uses "bzip2" and the
86 remaining sites ("manhole" and "owl") use "compress". The first six
87 use a batch size of 1 MB, and the two last sites ("able" and "pern")
88 use the default of 500,000 bytes. The "zoetermeer", "hoofddorp",
89 "pa3ebv", and "manhole" sites will only have batches generated for them
90 during the hours of 05:00, 18:00, and 22:00, and the "drinkel" site
91 will only have batches generated during those hours and 06:00, 20:00,
92 00:00, and 02:00. There are no restrictions on when batches will be
93 generated for "owl", "able" and "pern".
94
95 The "pern" site is configured as a funnel into "MYFUNNEL!". send-uucp
96 will issue "ctlinnd flush MYFUNNEL!" instead of "ctlinnd flush pern".
97
98 As for the newsfeeds file, the usual flags used for a UUCP feed are
99 "Tf,Wnb". Here is a typical entry for "zoetermeer", where the batching
100 is kept between 4 KB and 1 KB:
101
102 zoetermeer\
103 :*,!junk,!control,!control.*/!foo\
104 :Tf,Wnb,B4096/1024:
105
107 pathbin/send-uucp
108 The Perl script itself used to create news batches from the
109 outgoing files.
110
111 pathetc/send-uucp.cf
112 The configuration file which specifies a list of sites to be
113 processed.
114
116 This program was originally written by Edvard Tuinder <ed@elm.net> and
117 then maintained and extended by Miquel van Smoorenburg
118 <miquels@cistron.nl>. Marco d'Itri <md@linux.it> cleaned up the code
119 for inclusion in INN. This manual page was written by Mark Brown
120 <broonie@sirena.org.uk>.
121
123 innd(8), newsfeeds(5), uucp(8).
124
125
126
127INN 2.6.4 2016-11-06 SEND-UUCP(8)