📄 innxmit.8
字号:
.\" $Revision: 1.12 $.TH INNXMIT 8.SH NAMEinnxmit \- send Usenet articles to a remote NNTP server.SH SYNOPSIS.I innxmit[.BI \-A " alt_spool"][.B \-a][.B \-d][.B \-M][.B \-r][.BI \-t " timeout"][.BI \-T " timeout"][.B \-p][.B \-S].I host.I file.SH DESCRIPTION.I Innxmitconnects to the NNTP server at the specified.I hostand sends it the articles specified in the batchfile named.IR file .It is normally invoked by a script run out of.IR cron (8)that uses.IR shlock (1)to lock the host name, followed by a.IR ctlinnd (8)command to flush the batchfile..PP.I Innxmitnormally blocks until the connection is made.To specify a timeout on how long to try to make the connection, use the ``\-t''flag.To specify the total amount of time that should be allowed for articletransfers, use the ``\-T'' flag.The default is to wait until an I/O error occurs, or all the articles havebeen transferred.If the ``\-T'' flag is used, the time is checked just before an articleis started; it will not abort a transfer that is in progress.Both values are measured in seconds..PPIf the.I fileis not an absolute pathname, it is taken relative to the.\" =()<.I @<_PATH_BATCHDIR>@>()=.I /var/spool/news/out.goingdirectory.It is normally written by specifying the ``Wnm'' flags in the.IR newsfeeds (5)file.Each line in the batchfile should be in one of the following formats:.RS.nffilename Message-IDfilename.fi.RE.PPThe.I filenamefield names the article to be sent.If it is not an absolute pathname it is taken relative to the newsspool directory,.\" =()<.IR @<_PATH_SPOOL>@ .>()=.IR /var/spool/news/spool .If the.I Message-IDfield is not specified, it will be obtained by scanning the article.The.I filenameand.I Message-Idfields are separated by a space..PPIf a communication error such as a.IR write (2)failure occurs,.I innxmitwill stop sending and rewrite the batchfile to contain the currentarticle and any other unsent articles..PPIf the remote server sends an unexpected reply code,.I innxmitwill requeue the article and proceed.Use the ``\-r'' flag if the article should not be requeued..PPUpon exit,.I innxmitreports transfer and CPU usage statistics via.IR syslog (3).If the ``\-v'' flag is used, they will also be printed on the standardoutput.If all articles were sent successfully,.I innxmitwill remove the batchfile, otherwise it will rewrite it to contain thelist of unsent articles.If no articles were sent or rejected, the file is left untouched.This can cause the batchfile to grow excessively large if many articleshave been expired and there are communication problems.To always rewrite the batchfile, use the ``\-a'' flag.If the ``\-p'' flag is given, then no connection is made and the batchfileis purged of entries that refer to files that no longer exist.This implies the ``\-a'' flag..PPIf the ``\-S'' flag is given, then.I innxmitwill offer articles to the specified host using the.I "``xreplic''"protocol extension described in.IR innd (8).To use this flag, the input file must contain the history data (commasare transliterated to spaces by the server).In order for this flag to be used, the input must contain the necessaryhistory entries.This is usually done by setting up a ``WnR'' entry in the.I newsfeedsfile..PPUse the ``\-d'' flag to print debugging information on standard error.This will show the protocol transactions between.I innxmitand the NNTP server on the remote host..PPIf the ``\-M'' flag is used then.I innxmitwill scan an article's headers before sending it.If the article appears to be a MIME article that is not in seven-bitformat, the article will be sent in ``quoted-printable'' form..PPThe ``\-A'' flag may be used to specify an alternate spool directory touse if the article is not found; this would normally be an NFS-mountedspool directory of a master server with longer expiration times..SH HISTORYWritten by Rich $alz <rsalz@uunet.uu.net> for InterNetNews..de R$This is revision \\$3, dated \\$4....R$ $Id: innxmit.8,v 1.12 1993/03/18 21:03:40 rsalz Exp $.SH "SEE ALSO"ctlinnd(8),innd(8),newsfeeds(5),shlock(1).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -