瀏覽代碼

add english manual page (from Debian GNU/Linux)

Ralf S. Engelschall 24 年之前
父節點
當前提交
27faac0666
共有 2 個文件被更改,包括 155 次插入1 次删除
  1. 153 0
      smtpfeed/smtpfeed.8
  2. 2 1
      smtpfeed/smtpfeed.spec

+ 153 - 0
smtpfeed/smtpfeed.8

@@ -0,0 +1,153 @@
+.TH NAME SECTION 
+.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
+.\" other parms are allowed: see man(7), man(1)
+.SH NAME
+smtpfeed \- SMTP feed, SMTP Fast Exploding External Deliverer for Sendmail
+.SH SYNOPSIS
+.B smtpfeed
+.I "[options]"
+.br
+.SH "DESCRIPTION"
+This manual page documents briefly the
+.BR smtpfeed
+command.
+.B smtpfeed
+is a program that used as external mailer for sendmail.
+.SH OPTIONS
+A summary of options are included below.
+.TP
+.B \-1
+.br
+Disable SMTP piggybacking (equivalent to -R1)
+.TP
+.B \-a
+.I alias
+.br
+Specify my host alias name, which is used to check MX list.
+.TP
+.B \-A
+.br
+try T_ANY query first to get MX.
+.TP
+.B \-b
+.I bufsize
+.br
+Specify TCP send buffer size.
+.TP
+.B \-c
+.I name
+.br
+Specify officianl full-qualified domain name FQDN of this host, which 
+is used in SMTP HELO command.
+.TP
+.B \-d
+.I debugopt
+.br
+Specify debug options.
+.I debugopt 
+are:  A: all, a: address, c: connection, e: event, h: hash, l: LMTP, 
+m: map, n: DNS, s: SMTP, t: transaction, u: res. usage, D: no delivery,
+Q: DNS query only
+.TP
+.B \-E
+.br
+Get queue-id information from Received: header.
+.TP
+.B \-F
+Insert recipient information on Received: header line
+when number of recipients for a SMTP transaction is only one.
+.TP
+.B \-h
+Show help message
+.TP
+.B \-I
+.br
+.equevalent to -i option, but no purge on RSET.
+.TP
+.B \-i
+.I queue-id
+.br
+.I queue-id 
+generated by sendmail just for logging information 
+(macro name for queue-id in sendmail.cf is $i.)
+.TP
+.B \-l 
+.I facility
+.br
+Specify loggin facility (default = local5).
+.TP
+.B \-M
+.I mapfile
+.br
+path of host map file (Default: not defined)
+.TP
+.B \-m
+.I fallbackmx
+.br
+Fallback MX host.
+.TP
+.B \-N
+.I domain
+.br
+specify network domain.
+.I domain
+are: 4:IPv4 only, 6:IPv6 only, B:Both
+.TP
+.B \-n
+.I num
+.br
+Specify maximum number of available sockets.
+.TP
+.B \-o
+.I source-addr
+.br
+source address for SMTP connection
+.TP
+.B \-p
+.I port
+.br
+Specify TCP source port to connect by SMTP.
+.TP
+.B \-R
+.I num
+.br
+Specify maximum number of recipients in a transaction.
+.TP
+.B \-r
+.I num
+.br
+Specify minimum number of recipients required for a transaction.
+.TP
+.B \-s
+.I size
+.br
+Specify maximum message size.
+.TP
+.B \-t
+.I cate
+=
+.I val
+.br
+set timeouts (val: NUM[hms]; default is s(econds)).
+.I cate
+(gory) are: total, connect, greet, helo, mail,
+rcpt, data, body, term, cache, rset, quit
+.TP
+.B \-u
+.br
+reuse SMTP connection for other MX.
+.TP
+.B \-V
+.br
+Force to insert version number in Received: line.
+.TP
+.B \-y
+.br
+refer A RR if this host is the first MX
+.TP
+.B -z
+.br
+Suppress SMTP pipelining.
+.SH AUTHOR
+This manual page was written by Fumitoshi UKAI <ukai@debian.or.jp>,
+for the Debian GNU/Linux system.

+ 2 - 1
smtpfeed/smtpfeed.spec

@@ -40,6 +40,7 @@ Source0:      ftp://ftp.kyoto.wide.ad.jp/pub/mail/smtpfeed/smtpfeed-%{version}.t
 Source1:      smtpfeedd.tar.gz
 Source1:      smtpfeedd.tar.gz
 Source2:      fakesyslog.tar.gz
 Source2:      fakesyslog.tar.gz
 Source3:      rc.smtpfeed
 Source3:      rc.smtpfeed
+Source4:      smtpfeed.8
 
 
 #   build information
 #   build information
 Prefix:       %{l_prefix}
 Prefix:       %{l_prefix}
@@ -104,7 +105,7 @@ AutoReqProv:  no
       %{l_shtool} install -c -s -m 755 \
       %{l_shtool} install -c -s -m 755 \
           smtpfeed $RPM_BUILD_ROOT%{l_prefix}/sbin/
           smtpfeed $RPM_BUILD_ROOT%{l_prefix}/sbin/
       %{l_shtool} install -c -m 644 \
       %{l_shtool} install -c -m 644 \
-          smtpfeed.8 $RPM_BUILD_ROOT%{l_prefix}/man/man8/
+          %{SOURCE smtpfeed.8} $RPM_BUILD_ROOT%{l_prefix}/man/man8/
       %{l_shtool} install -c -m 644 \
       %{l_shtool} install -c -m 644 \
           /dev/null $RPM_BUILD_ROOT%{l_prefix}/var/smtpfeed/smtpfeed.log
           /dev/null $RPM_BUILD_ROOT%{l_prefix}/var/smtpfeed/smtpfeed.log
     )
     )