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