2 cpyr Copyright (c) 1998 Sendmail, Inc. All rights reserved.
3 cpyr Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved.
4 cpyr Copyright (c) 1988, 1993
5 cpyr The Regents of the University of California. All rights reserved.
8 cpyr By using this file, you agree to the terms and conditions set
9 cpyr forth in the LICENSE file which can be found at the top level of
10 cpyr the sendmail distribution.
12 cpyr @(#)sendmail.hf 8.18 (Berkeley) 11/19/1998
15 smtp HELO EHLO MAIL RCPT DATA
16 smtp RSET NOOP QUIT HELP VRFY
17 smtp EXPN VERB ETRN DSN
18 smtp For more info use "HELP <topic>".
19 smtp To report bugs in the implementation send email to
20 smtp sendmail-bugs@sendmail.org.
21 smtp For local information send email to Postmaster at your site.
23 help The HELP command gives help info.
25 helo Introduce yourself.
27 ehlo Introduce yourself, and request extended SMTP mode.
28 ehlo Possible replies include:
29 ehlo SEND Send as mail [RFC821]
30 ehlo SOML Send as mail or terminal [RFC821]
31 ehlo SAML Send as mail and terminal [RFC821]
32 ehlo EXPN Expand the mailing list [RFC821]
33 ehlo HELP Supply helpful information [RFC821]
34 ehlo TURN Turn the operation around [RFC821]
35 ehlo 8BITMIME Use 8-bit data [RFC1652]
36 ehlo SIZE Message size declaration [RFC1870]
37 ehlo VERB Verbose [Allman]
38 ehlo ONEX One message transaction only [Allman]
39 ehlo CHUNKING Chunking [RFC1830]
40 ehlo BINARYMIME Binary MIME [RFC1830]
41 ehlo PIPELINING Command Pipelining [RFC1854]
42 ehlo DSN Delivery Status Notification [RFC1891]
43 ehlo ETRN Remote Message Queue Starting [RFC1985]
44 ehlo XUSR Initial (user) submission [Allman]
45 mail MAIL FROM: <sender> [ <parameters> ]
46 mail Specifies the sender. Parameters are ESMTP extensions.
47 mail See "HELP DSN" for details.
48 rcpt RCPT TO: <recipient> [ <parameters> ]
49 rcpt Specifies the recipient. Can be used any number of times.
50 rcpt Parameters are ESMTP extensions. See "HELP DSN" for details.
52 data Following text is collected as the message.
53 data End with a single dot.
55 rset Resets the system.
57 quit Exit sendmail (SMTP).
59 verb Go into verbose mode. This sends 0xy responses that are
60 verb not RFC821 standard (but should be) They are recognized
61 verb by humans and other sendmail implementations.
63 vrfy Verify an address. If you want to see what it aliases
64 vrfy to, use EXPN instead.
66 expn Expand an address. If the address indicates a mailing
67 expn list, return the contents of that list.
70 send SEND FROM: <sender>
71 send replaces the MAIL command, and can be used to send
72 send directly to a users terminal. Not supported in this
74 soml SOML FROM: <sender>
75 soml Send or mail. If the user is logged in, send directly,
76 soml otherwise mail. Not supported in this implementation.
77 saml SAML FROM: <sender>
78 saml Send and mail. Send directly to the user's terminal,
79 saml and also mail a letter. Not supported in this
82 turn Reverses the direction of the connection. Not currently
84 etrn ETRN [ <hostname> | @<domain> | #<queuename> ]
85 etrn Run the queue for the specified <hostname>, or
86 etrn all hosts within a given <domain>, or a specially-named
87 etrn <queuename> (implementation-specific).
88 dsn MAIL FROM: <sender> [ RET={ FULL | HDRS} ] [ ENVID=<envid> ]
89 dsn RCPT TO: <recipient> [ NOTIFY={NEVER,SUCCESS,FAILURE,DELAY} ]
90 dsn [ ORCPT=<recipient> ]
91 dsn SMTP Delivery Status Notifications.
93 dsn RET Return either the full message or only headers.
94 dsn ENVID Sender's "envelope identifier" for tracking.
95 dsn NOTIFY When to send a DSN. Multiple options are OK, comma-
96 dsn delimited. NEVER must appear by itself.
97 dsn ORCPT Original recipient.
98 -bt Help for test mode:
99 -bt ? :this help message.
100 -bt .Dmvalue :define macro `m' to `value'.
101 -bt .Ccvalue :add `value' to class `c'.
102 -bt =Sruleset :dump the contents of the indicated ruleset.
103 -bt =M :display the known mailers.
104 -bt -ddebug-spec :equivalent to the command-line -d debug flag.
105 -bt $m :print the value of macro $m.
106 -bt $=c :print the contents of class $=c.
107 -bt /mx host :returns the MX records for `host'.
108 -bt /parse address :parse address, returning the value of crackaddr, and
109 -bt the parsed address (same as -bv).
110 -bt /try mailer addr :rewrite address into the form it will have when
111 -bt presented to the indicated mailer.
112 -bt /tryflags flags :set flags used by parsing. The flags can be `H' for
113 -bt Header or `E' for Envelope, and `S' for Sender or `R'
114 -bt for Recipient. These can be combined, `HR' sets
115 -bt flags for header recipients.
116 -bt /canon hostname :try to canonify hostname.
117 -bt /map mapname key :look up `key' in the indicated `mapname'.
118 -bt rules addr :run the indicated address through the named rules.
119 -bt Rules can be a comma separated list of rules.
120 control Help for smcontrol:
121 control help This message.
122 control restart Restart sendmail.
123 control shutdown Shutdown sendmail.
124 control status Show sendmail status.