helpfile revision 4aac33d31b41cc7e3ac6fb66747ff2cae63d08cf
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedy#vers 2
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedycpyr
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedycpyr Copyright (c) 1998-2000, 2002, 2004-2007 Sendmail, Inc. and its suppliers.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedycpyr All rights reserved.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedycpyr Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedycpyr Copyright (c) 1988, 1993
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedycpyr The Regents of the University of California. All rights reserved.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedycpyr Copyright 1994-2007 Sun Microsystems, Inc. All rights reserved.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedycpyr Use is subject to license terms.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedycpyr
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedycpyr
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedycpyr ident "%Z%%M% %I% %E% SMI"
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedycpyr $$Id: helpfile,v 8.48 2007/02/01 18:29:44 ca Exp $$
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedycpyr
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedysmtp This is sendmail version $v
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedysmtp Topics:
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedysmtp HELO EHLO MAIL RCPT DATA
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedysmtp RSET NOOP QUIT HELP VRFY
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedysmtp EXPN VERB ETRN DSN STARTTLS
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedysmtp For more info use "HELP <topic>".
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedysmtp To report bugs in the implementation contact Sun Microsystems
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedysmtp Technical Support.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedysmtp For local information send email to Postmaster at your site.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyhelp HELP [ <topic> ]
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyhelp The HELP command gives help info.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyhelo HELO <hostname>
4b5c8e93cab28d3c65ba9d407fd8f46e3be1db1cMatthew Ahrenshelo Introduce yourself.
4b5c8e93cab28d3c65ba9d407fd8f46e3be1db1cMatthew Ahrensehlo EHLO <hostname>
1d32ba663e202c24a5a1f2e5aef83fffb447cb7fJohn Wren Kennedyehlo Introduce yourself, and request extended SMTP mode.
4b5c8e93cab28d3c65ba9d407fd8f46e3be1db1cMatthew Ahrensehlo Possible replies include:
4b5c8e93cab28d3c65ba9d407fd8f46e3be1db1cMatthew Ahrensehlo SEND Send as mail [RFC821]
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyehlo SOML Send as mail or terminal [RFC821]
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyehlo SAML Send as mail and terminal [RFC821]
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyehlo EXPN Expand the mailing list [RFC821]
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyehlo HELP Supply helpful information [RFC821]
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyehlo TURN Turn the operation around [RFC821]
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyehlo 8BITMIME Use 8-bit data [RFC1652]
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyehlo SIZE Message size declaration [RFC1870]
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyehlo VERB Verbose [Allman]
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyehlo CHUNKING Chunking [RFC1830]
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyehlo BINARYMIME Binary MIME [RFC1830]
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyehlo PIPELINING Command Pipelining [RFC1854]
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyehlo DSN Delivery Status Notification [RFC1891]
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyehlo ETRN Remote Message Queue Starting [RFC1985]
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyehlo STARTTLS Secure SMTP [RFC2487]
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyehlo ENHANCEDSTATUSCODES Enhanced status codes [RFC2034]
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyehlo DELIVERBY Deliver By [RFC2852]
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedymail MAIL From:<sender> [ <parameters> ]
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedymail Specifies the sender. Parameters are ESMTP extensions.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedymail See "HELP DSN" for details.
1d32ba663e202c24a5a1f2e5aef83fffb447cb7fJohn Wren Kennedyrcpt RCPT To:<recipient> [ <parameters> ]
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyrcpt Specifies the recipient. Can be used any number of times.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyrcpt Parameters are ESMTP extensions. See "HELP DSN" for details.
1d32ba663e202c24a5a1f2e5aef83fffb447cb7fJohn Wren Kennedydata DATA
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedydata Following text is collected as the message.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedydata End with a single dot.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyrset RSET
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyrset Resets the system.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyquit QUIT
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyquit Exit sendmail (SMTP).
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedystarttls STARTTLS
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedystarttls Start TLS negotiation.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyverb VERB
1d32ba663e202c24a5a1f2e5aef83fffb447cb7fJohn Wren Kennedyverb Go into verbose mode. This sends 0xy responses that are
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyverb not RFC821 standard (but should be) They are recognized
1d32ba663e202c24a5a1f2e5aef83fffb447cb7fJohn Wren Kennedyverb by humans and other sendmail implementations.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyvrfy VRFY <recipient>
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyvrfy Verify an address. If you want to see what it aliases
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyvrfy to, use EXPN instead.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyexpn EXPN <recipient>
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyexpn Expand an address. If the address indicates a mailing
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyexpn list, return the contents of that list.
1d32ba663e202c24a5a1f2e5aef83fffb447cb7fJohn Wren Kennedynoop NOOP
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedynoop Do nothing.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedysend SEND FROM:<sender>
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedysend replaces the MAIL command, and can be used to send
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedysend directly to a users terminal. Not supported in this
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedysend implementation.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedysoml SOML FROM:<sender>
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedysoml Send or mail. If the user is logged in, send directly,
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedysoml otherwise mail. Not supported in this implementation.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedysaml SAML FROM:<sender>
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedysaml Send and mail. Send directly to the user's terminal,
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedysaml and also mail a letter. Not supported in this
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedysaml implementation.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyturn TURN
1d32ba663e202c24a5a1f2e5aef83fffb447cb7fJohn Wren Kennedyturn Reverses the direction of the connection. Not currently
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyturn implemented.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyetrn ETRN [ <hostname> | @<domain> | \#<queuename> ]
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyetrn Run the queue for the specified <hostname>, or
1d32ba663e202c24a5a1f2e5aef83fffb447cb7fJohn Wren Kennedyetrn all hosts within a given <domain>, or a specially-named
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedyetrn <queuename> (implementation-specific).
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedydsn MAIL From:<sender> [ RET={ FULL | HDRS} ] [ ENVID=<envid> ]
1d32ba663e202c24a5a1f2e5aef83fffb447cb7fJohn Wren Kennedydsn RCPT To:<recipient> [ NOTIFY={NEVER,SUCCESS,FAILURE,DELAY} ]
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedydsn [ ORCPT=<recipient> ]
1d32ba663e202c24a5a1f2e5aef83fffb447cb7fJohn Wren Kennedydsn SMTP Delivery Status Notifications.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedydsn Descriptions:
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedydsn RET Return either the full message or only headers.
d583b39bfb4e2571d3e41097c5c357ffe353ad45John Wren Kennedydsn ENVID Sender's "envelope identifier" for tracking.
dsn NOTIFY When to send a DSN. Multiple options are OK, comma-
dsn delimited. NEVER must appear by itself.
dsn ORCPT Original recipient.
-bt Help for test mode:
-bt ? :this help message.
-bt .Dmvalue :define macro `m' to `value'.
-bt .Ccvalue :add `value' to class `c'.
-bt =Sruleset :dump the contents of the indicated ruleset.
-bt =M :display the known mailers.
-bt -ddebug-spec :equivalent to the command-line -d debug flag.
-bt $$m :print the value of macro $$m.
-bt $$=c :print the contents of class $$=c.
-bt /mx host :returns the MX records for `host'.
-bt /parse address :parse address, returning the value of crackaddr, and
-bt the parsed address.
-bt /try mailer addr :rewrite address into the form it will have when
-bt presented to the indicated mailer.
-bt /tryflags flags :set flags used by parsing. The flags can be `H' for
-bt Header or `E' for Envelope, and `S' for Sender or `R'
-bt for Recipient. These can be combined, `HR' sets
-bt flags for header recipients.
-bt /canon hostname :try to canonify hostname.
-bt /map mapname key :look up `key' in the indicated `mapname'.
-bt /quit :quit address test mode.
-bt rules addr :run the indicated address through the named rules.
-bt Rules can be a comma separated list of rules.
control Help for smcontrol:
control help This message.
control restart Restart sendmail.
control shutdown Shutdown sendmail.
control status Show sendmail status.
control mstat Show sendmail status (machine readable format).
control memdump Dump allocated memory list (for debugging only).