.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "SEND-UUCP 8" .TH SEND-UUCP 8 2024-01-10 "perl v5.38.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME send\-uucp \- Send Usenet articles via UUCP .SH SYNOPSIS .IX Header "SYNOPSIS" \&\fBsend-uucp\fR [\fISITE\fR ...] .SH DESCRIPTION .IX Header "DESCRIPTION" The \fBsend-uucp\fR program processes batch files written by \fBinnd\fR\|(8) to send Usenet articles to UUCP sites. It reads a configuration file to control how it behaves with various sites. Normally, it's run periodically out of cron to put together batches and send them to remote UUCP sites. .SH OPTIONS .IX Header "OPTIONS" Any arguments provided to the program are interpreted as a list of sites specfied in \fIsend\-uucp.cf\fR for which batches should be generated. If no arguments are supplied then batches will be generated for all sites listed in that configuration file. .SH CONFIGURATION .IX Header "CONFIGURATION" The sites to which articles are to be sent must be configured in the configuration file \fIsend\-uucp.cf\fR. Each site is specified with a line of the form: .PP .Vb 1 \& site[:host] [compressor [maxsize [batchtime]]] .Ve .IP \fIsite\fR 4 .IX Item "site" The news site name being configured. This must match a site name from \fBnewsfeeds\fR\|(5). .IP \fIhost\fR 4 .IX Item "host" The UUCP host name to which batches should be sent for this site. If omitted, the news site name will be used as the UUCP host name. .IP \fIcompressor\fR 4 .IX Item "compressor" The compression method to use for batches. This should be one of compress, gzip, bzip2, xz or none. Arguments for the compression command may be specified by using \f(CW\*(C`_\*(C'\fR instead of spaces. For example, \f(CW\*(C`gzip_\-9\*(C'\fR. The default value is \&\f(CW\*(C`compress\*(C'\fR. .IP \fImaxsize\fR 4 .IX Item "maxsize" The maximum size of a single batch before compression. The default value is 500,000 bytes. .IP \fIbatchtime\fR 4 .IX Item "batchtime" A comma separated list of hours during which batches should be generated for a given site. When \fBsend-uucp\fR runs, a site will only be processed if the current hour matches one of the hours in \fIbatchtime\fR. The default is no limitation on when to generate batches. .PP Fields are seperated by spaces and only the site name needs to be specified, with defaults being used for unspecified values. If the first character on a line is a \f(CW\*(C`#\*(C'\fR then the rest of the line is ignored. .SH EXAMPLE .IX Header "EXAMPLE" Here is an example send\-uucp.cf configuration file: .PP .Vb 7 \& zoetermeer gzip 1048576 5,18,22 \& hoofddorp gzip 1048576 5,18,22 \& pa3ebv gzip 1048576 5,18,22 \& drinkel gzip 1048576 5,6,18,20,22,0,2 \& manhole compress 1048576 5,18,22 \& owl compress 1048576 \& able .Ve .PP This defines seven UUCP sites. The first four use gzip compression and the last three use compress. The first six use a batch size of 1MB, and the last site (able) uses the default of 500,000 bytes. The zoetermeer, hoofddorp, pa3ebv, and manhole sites will only have batches generated for them during the hours of 05:00, 18:00, and 22:00, and the drinkel site will only have batches generated during those hours and 20:00, 00:00, and 02:00. There are no restrictions on when batches will be generated for owl or able. .SH FILES .IX Header "FILES" .IP \fIpathetc\fR/send\-uucp.cf 4 .IX Item "pathetc/send-uucp.cf" Configuration file specifying a list of sites to be processed. .SH NOTES .IX Header "NOTES" The usual flags used for a UUCP feed in the \fInewsfeeds\fR file are \f(CW\*(C`Tf,Wfb\*(C'\fR. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBinnd\fR\|(8), \fBnewsfeeds\fR\|(5), \fBuucp\fR\|(8) .SH AUTHOR .IX Header "AUTHOR" This program was originally written by Edvard Tuinder and then maintained and extended by Miquel van Smoorenburg . Marco d'Itri cleaned up the code for inclusion in INN. This manual page was written by Mark Brown .