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