3 nntpsend \- send Usenet articles to remote site
57 is a front-end that invokes
59 to send Usenet articles to a remote NNTP site.
61 The sites to be fed may be specified by giving
64 pairs on the command line.
65 If no such pairs are given,
67 defaults to the information given in the
73 should be the name of the site as specified in the
78 should be the hostname or IP address of the remote site.
82 is launched for sites with queued news.
85 processes are spawned in the background and the script waits for
86 them all to finish before returning.
87 Output is sent to the file
88 .IR <pathlog\ in\ inn.conf>/nntpsend.log .
89 In order to keep from overwhelming the local system,
91 waits five seconds before spawning each child.
94 expects that the batchfile for a site is named
95 .IR <pathoutgoing\ in\ inn.conf>/sitename .
96 To prevent batchfile corruption,
98 is used to ``lock'' these files.
103 pairs are given on the command line,
104 any flags given on the command completely describe how
109 When no such pairs are given on the command line, then
110 the information found in
112 becomes the default flags for that site.
113 Any flags given on the command line override the default flags
118 The ``\-d'' flag causes
120 to send output to stdout rather than the log file
121 .IR <pathlog\ in\ inn.conf>/nntpsend.log .
122 The ``\-D'' flag does the same
123 and it passes ``\-d'' to all
125 invocations, which in turn causes
127 to go into debug mode.
130 If the ``\-n'' flag is used, then
134 and does not lock batch files.
137 If the ``\-s'' flag is used, then
139 will be invoked to perform a head truncation on the batchfile and the flag
140 will be passed to it.
143 If the ``\-w'' flag is used, then
147 seconds after flushing the site before launching
150 .B "\-a \-c \-l \-N \-P \-p \-r \-S \-T \-t"
151 The ``\fB\-a\fP'', ``\fB\-c\fP'', ``\fB\-l\fP'', ``\fB\-P\fP'', ``\fB\-p\fP'',
152 ``\fB\-r\fP'', \``\fB\-S\fP'', ``\fB\-T\fP'' and ``\fB\-t\fP''
153 flags are passed on to the child
155 program. The ``\-N'' flag is passed as ``\fB\-s\fP'' flag to the child
161 Note that if the ``\-p'' flag is used then no connection is made and
162 no articles are fed to the remote site.
167 with this flag in case a site cannot be reached for an extended period of time.
175 nsavax:erehwon.nsavax.gov::-S -t60
176 group70:group70.org::
177 walldrug:walldrug.com:4m-1m:-T1800 -t300
178 kremvax:kremvax.cis:2m:
188 will result in the following:
192 Sitename Truncation Innxmit flags
193 nsavax (none) \-a \-S \-t60
194 group70 (none) \-a \-t180
195 walldrug 1m if >4m \-a \-T1800 \-t300
196 kremvax 2m \-a \-t180
206 will result in the following:
210 Sitename Truncation Innxmit flags
211 nsavax (none) \-a \-d \-S \-T1200 \-t60
212 group70 (none) \-a \-d \-T1200 \-t180
213 walldrug 1m if >4m \-a \-d \-T1200 \-t300
214 kremvax 2m \-a \-d \-T1200 \-t180
221 nntpsend \-s 5m \-T1200 nsavax erehwon.nsavax.gov group70 group70.org
224 will result in the following:
228 Sitename Truncation Innxmit flags
229 nsavax 5m \-a \-T1200 \-t180
230 group70 5m \-a \-T1200 \-t180
234 Remember that ``\-a'' is always given, and ``\-t'' defaults to 180.
236 Written by Landon Curt Noll <chongo@toad.com>
237 and Rich $alz <rsalz@uunet.uu.net> for InterNetNews.
239 This is revision \\$3, dated \\$4.
241 .R$ $Id: nntpsend.8 5909 2002-12-03 05:17:18Z vinocur $