summaryrefslogtreecommitdiff
path: root/doc/sendmail.1
diff options
context:
space:
mode:
Diffstat (limited to 'doc/sendmail.1')
-rw-r--r--doc/sendmail.193
1 files changed, 93 insertions, 0 deletions
diff --git a/doc/sendmail.1 b/doc/sendmail.1
new file mode 100644
index 0000000..705034f
--- /dev/null
+++ b/doc/sendmail.1
@@ -0,0 +1,93 @@
+.TH sendmail 1
+.SH NAME
+sendmail \- sendmail emulator interface for nullmailer
+.SH SYNOPSIS
+.B sendmail
+[
+.B flags
+] [
+.I recipients
+] <
+.I message
+.SH DESCRIPTION
+This program is a front end program for
+.B nullmailer-inject
+and
+.BR nullmailer-smtpd .
+It is used by programs that expect a
+.I sendmail
+interface for sending email.
+After parsing the command-line arguments, this program executes either
+.B nullmailer-inject
+or
+.B nullmailer-smtpd
+depending on the presence of the
+.I \-bs
+option on the command-line.
+See the documentation for
+.B nullmailer-inject
+for details on how messages are reformatted and queued.
+.SH OPTIONS
+.TP
+.B \-B TYPE
+.TP
+.B \-C FILE
+.TP
+.B \-d DEBUG
+.TP
+.B \-h COUNT
+.TP
+.B \-i
+.TP
+.B \-L TAG
+.TP
+.B \-N DSN
+.TP
+.B \-n
+.TP
+.B \-O OPTION
+.TP
+.B \-o OPTION
+.TP
+.B \-p PROTOCOL
+.TP
+.B \-q TIME
+.TP
+.B \-R RETURN
+.TP
+.B \-U
+.TP
+.B \-V ENVID
+.TP
+.B \-v
+.TP
+.B \-X LOGFILE
+Ignored for compatibility
+.TP
+.B \-bm
+Read mail from standard input (default).
+.TP
+.B \-bp
+List information about mail queue. This executes
+.BR mailq .
+.TP
+.B \-bs
+Use the SMTP protocol on standard input and standard output. This
+executes
+.BR nullmailer-smtpd .
+.TP
+.B \-F ADDRESS
+Sets the full name of the sender.
+.TP
+.B \-f ADDRESS
+Sets the envelope sender address.
+.TP
+.B \-r ADDRESS
+An alternate and obsolete form of the \-f flag.
+.TP
+.B \-t
+Read message for recipients and ignore the command-line arguments.
+.SH SEE ALSO
+mailq(1),
+nullmailer-inject(1),
+nullmailer-smtpd(1)