xref: /freebsd/contrib/sendmail/src/helpfile (revision 06f25ae9f1d6020a600a10f713046203d1a82570)
106f25ae9SGregory Neil Shapiro#vers	2
206f25ae9SGregory Neil Shapirocpyr
306f25ae9SGregory Neil Shapirocpyr	Copyright (c) 1998, 1999 Sendmail, Inc. and its suppliers.
406f25ae9SGregory Neil Shapirocpyr	    All rights reserved.
506f25ae9SGregory Neil Shapirocpyr	Copyright (c) 1983, 1995-1997 Eric P. Allman.  All rights reserved.
606f25ae9SGregory Neil Shapirocpyr	Copyright (c) 1988, 1993
706f25ae9SGregory Neil Shapirocpyr	    The Regents of the University of California.  All rights reserved.
806f25ae9SGregory Neil Shapirocpyr
906f25ae9SGregory Neil Shapirocpyr
1006f25ae9SGregory Neil Shapirocpyr	By using this file, you agree to the terms and conditions set
1106f25ae9SGregory Neil Shapirocpyr	forth in the LICENSE file which can be found at the top level of
1206f25ae9SGregory Neil Shapirocpyr	the sendmail distribution.
1306f25ae9SGregory Neil Shapirocpyr
1406f25ae9SGregory Neil Shapirocpyr	$$Id: helpfile,v 8.31.16.3 2000/07/19 18:54:55 gshapiro Exp $$
1506f25ae9SGregory Neil Shapirocpyr
1606f25ae9SGregory Neil Shapirosmtp	This is sendmail version $v
1706f25ae9SGregory Neil Shapirosmtp	Topics:
1806f25ae9SGregory Neil Shapirosmtp		HELO	EHLO	MAIL	RCPT	DATA
1906f25ae9SGregory Neil Shapirosmtp		RSET	NOOP	QUIT	HELP	VRFY
2006f25ae9SGregory Neil Shapirosmtp		EXPN	VERB	ETRN	DSN	AUTH
2106f25ae9SGregory Neil Shapirosmtp		STARTTLS
2206f25ae9SGregory Neil Shapirosmtp	For more info use "HELP <topic>".
2306f25ae9SGregory Neil Shapirosmtp	To report bugs in the implementation send email to
2406f25ae9SGregory Neil Shapirosmtp		sendmail-bugs@sendmail.org.
2506f25ae9SGregory Neil Shapirosmtp	For local information send email to Postmaster at your site.
2606f25ae9SGregory Neil Shapirohelp	HELP [ <topic> ]
2706f25ae9SGregory Neil Shapirohelp		The HELP command gives help info.
2806f25ae9SGregory Neil Shapirohelo	HELO <hostname>
2906f25ae9SGregory Neil Shapirohelo		Introduce yourself.
3006f25ae9SGregory Neil Shapiroehlo	EHLO <hostname>
3106f25ae9SGregory Neil Shapiroehlo		Introduce yourself, and request extended SMTP mode.
3206f25ae9SGregory Neil Shapiroehlo	Possible replies include:
3306f25ae9SGregory Neil Shapiroehlo		SEND		Send as mail			[RFC821]
3406f25ae9SGregory Neil Shapiroehlo		SOML		Send as mail or terminal	[RFC821]
3506f25ae9SGregory Neil Shapiroehlo		SAML		Send as mail and terminal	[RFC821]
3606f25ae9SGregory Neil Shapiroehlo		EXPN		Expand the mailing list		[RFC821]
3706f25ae9SGregory Neil Shapiroehlo		HELP		Supply helpful information	[RFC821]
3806f25ae9SGregory Neil Shapiroehlo		TURN		Turn the operation around	[RFC821]
3906f25ae9SGregory Neil Shapiroehlo		8BITMIME	Use 8-bit data			[RFC1652]
4006f25ae9SGregory Neil Shapiroehlo		SIZE		Message size declaration	[RFC1870]
4106f25ae9SGregory Neil Shapiroehlo		VERB		Verbose				[Allman]
4206f25ae9SGregory Neil Shapiroehlo		ONEX		One message transaction only	[Allman]
4306f25ae9SGregory Neil Shapiroehlo		CHUNKING	Chunking			[RFC1830]
4406f25ae9SGregory Neil Shapiroehlo		BINARYMIME	Binary MIME			[RFC1830]
4506f25ae9SGregory Neil Shapiroehlo		PIPELINING	Command Pipelining		[RFC1854]
4606f25ae9SGregory Neil Shapiroehlo		DSN		Delivery Status Notification	[RFC1891]
4706f25ae9SGregory Neil Shapiroehlo		ETRN		Remote Message Queue Starting	[RFC1985]
4806f25ae9SGregory Neil Shapiroehlo		STARTTLS	Secure SMTP			[RFC2487]
4906f25ae9SGregory Neil Shapiroehlo		AUTH		Authentication			[RFC2554]
5006f25ae9SGregory Neil Shapiroehlo		XUSR		Initial (user) submission	[Allman]
5106f25ae9SGregory Neil Shapiroehlo		ENHANCEDSTATUSCODES	Enhanced status codes	[RFC2034]
5206f25ae9SGregory Neil Shapiromail	MAIL FROM: <sender> [ <parameters> ]
5306f25ae9SGregory Neil Shapiromail		Specifies the sender.  Parameters are ESMTP extensions.
5406f25ae9SGregory Neil Shapiromail		See "HELP DSN" for details.
5506f25ae9SGregory Neil Shapirorcpt	RCPT TO: <recipient> [ <parameters> ]
5606f25ae9SGregory Neil Shapirorcpt		Specifies the recipient.  Can be used any number of times.
5706f25ae9SGregory Neil Shapirorcpt		Parameters are ESMTP extensions.  See "HELP DSN" for details.
5806f25ae9SGregory Neil Shapirodata	DATA
5906f25ae9SGregory Neil Shapirodata		Following text is collected as the message.
6006f25ae9SGregory Neil Shapirodata		End with a single dot.
6106f25ae9SGregory Neil Shapirorset	RSET
6206f25ae9SGregory Neil Shapirorset		Resets the system.
6306f25ae9SGregory Neil Shapiroquit	QUIT
6406f25ae9SGregory Neil Shapiroquit		Exit sendmail (SMTP).
6506f25ae9SGregory Neil Shapiroauth	AUTH mechanism [initial-response]
6606f25ae9SGregory Neil Shapiroauth		Start authentication.
6706f25ae9SGregory Neil Shapirostarttls	STARTTLS
6806f25ae9SGregory Neil Shapirostarttls		Start TLS negotiation.
6906f25ae9SGregory Neil Shapiroverb	VERB
7006f25ae9SGregory Neil Shapiroverb		Go into verbose mode.  This sends 0xy responses that are
7106f25ae9SGregory Neil Shapiroverb		not RFC821 standard (but should be)  They are recognized
7206f25ae9SGregory Neil Shapiroverb		by humans and other sendmail implementations.
7306f25ae9SGregory Neil Shapirovrfy	VRFY <recipient>
7406f25ae9SGregory Neil Shapirovrfy		Verify an address.  If you want to see what it aliases
7506f25ae9SGregory Neil Shapirovrfy		to, use EXPN instead.
7606f25ae9SGregory Neil Shapiroexpn	EXPN <recipient>
7706f25ae9SGregory Neil Shapiroexpn		Expand an address.  If the address indicates a mailing
7806f25ae9SGregory Neil Shapiroexpn		list, return the contents of that list.
7906f25ae9SGregory Neil Shapironoop	NOOP
8006f25ae9SGregory Neil Shapironoop		Do nothing.
8106f25ae9SGregory Neil Shapirosend	SEND FROM: <sender>
8206f25ae9SGregory Neil Shapirosend		replaces the MAIL command, and can be used to send
8306f25ae9SGregory Neil Shapirosend		directly to a users terminal.  Not supported in this
8406f25ae9SGregory Neil Shapirosend		implementation.
8506f25ae9SGregory Neil Shapirosoml	SOML FROM: <sender>
8606f25ae9SGregory Neil Shapirosoml		Send or mail.  If the user is logged in, send directly,
8706f25ae9SGregory Neil Shapirosoml		otherwise mail.  Not supported in this implementation.
8806f25ae9SGregory Neil Shapirosaml	SAML FROM: <sender>
8906f25ae9SGregory Neil Shapirosaml		Send and mail.  Send directly to the user's terminal,
9006f25ae9SGregory Neil Shapirosaml		and also mail a letter.  Not supported in this
9106f25ae9SGregory Neil Shapirosaml		implementation.
9206f25ae9SGregory Neil Shapiroturn	TURN
9306f25ae9SGregory Neil Shapiroturn		Reverses the direction of the connection.  Not currently
9406f25ae9SGregory Neil Shapiroturn		implemented.
9506f25ae9SGregory Neil Shapiroetrn	ETRN [ <hostname> | @<domain> | #<queuename> ]
9606f25ae9SGregory Neil Shapiroetrn		Run the queue for the specified <hostname>, or
9706f25ae9SGregory Neil Shapiroetrn		all hosts within a given <domain>, or a specially-named
9806f25ae9SGregory Neil Shapiroetrn		<queuename> (implementation-specific).
9906f25ae9SGregory Neil Shapirodsn	MAIL FROM: <sender> [ RET={ FULL | HDRS} ] [ ENVID=<envid> ]
10006f25ae9SGregory Neil Shapirodsn	RCPT TO: <recipient> [ NOTIFY={NEVER,SUCCESS,FAILURE,DELAY} ]
10106f25ae9SGregory Neil Shapirodsn			     [ ORCPT=<recipient> ]
10206f25ae9SGregory Neil Shapirodsn		SMTP Delivery Status Notifications.
10306f25ae9SGregory Neil Shapirodsn	Descriptions:
10406f25ae9SGregory Neil Shapirodsn		RET	Return either the full message or only headers.
10506f25ae9SGregory Neil Shapirodsn		ENVID	Sender's "envelope identifier" for tracking.
10606f25ae9SGregory Neil Shapirodsn		NOTIFY	When to send a DSN. Multiple options are OK, comma-
10706f25ae9SGregory Neil Shapirodsn			delimited. NEVER must appear by itself.
10806f25ae9SGregory Neil Shapirodsn		ORCPT	Original recipient.
10906f25ae9SGregory Neil Shapiro-bt	Help for test mode:
11006f25ae9SGregory Neil Shapiro-bt	?		 :this help message.
11106f25ae9SGregory Neil Shapiro-bt	.Dmvalue	 :define macro `m' to `value'.
11206f25ae9SGregory Neil Shapiro-bt	.Ccvalue	 :add `value' to class `c'.
11306f25ae9SGregory Neil Shapiro-bt	=Sruleset	 :dump the contents of the indicated ruleset.
11406f25ae9SGregory Neil Shapiro-bt	=M		 :display the known mailers.
11506f25ae9SGregory Neil Shapiro-bt	-ddebug-spec	 :equivalent to the command-line -d debug flag.
11606f25ae9SGregory Neil Shapiro-bt	$$m		 :print the value of macro $$m.
11706f25ae9SGregory Neil Shapiro-bt	$$=c		 :print the contents of class $$=c.
11806f25ae9SGregory Neil Shapiro-bt	/mx host	 :returns the MX records for `host'.
11906f25ae9SGregory Neil Shapiro-bt	/parse address	 :parse address, returning the value of crackaddr, and
12006f25ae9SGregory Neil Shapiro-bt			  the parsed address.
12106f25ae9SGregory Neil Shapiro-bt	/try mailer addr :rewrite address into the form it will have when
12206f25ae9SGregory Neil Shapiro-bt			  presented to the indicated mailer.
12306f25ae9SGregory Neil Shapiro-bt	/tryflags flags	 :set flags used by parsing.  The flags can be `H' for
12406f25ae9SGregory Neil Shapiro-bt			  Header or `E' for Envelope, and `S' for Sender or `R'
12506f25ae9SGregory Neil Shapiro-bt			  for Recipient.  These can be combined, `HR' sets
12606f25ae9SGregory Neil Shapiro-bt			  flags for header recipients.
12706f25ae9SGregory Neil Shapiro-bt	/canon hostname	 :try to canonify hostname.
12806f25ae9SGregory Neil Shapiro-bt	/map mapname key :look up `key' in the indicated `mapname'.
12906f25ae9SGregory Neil Shapiro-bt	/quit		 :quit address test mode.
13006f25ae9SGregory Neil Shapiro-bt	rules addr	 :run the indicated address through the named rules.
13106f25ae9SGregory Neil Shapiro-bt			  Rules can be a comma separated list of rules.
13206f25ae9SGregory Neil Shapirocontrol	Help for smcontrol:
13306f25ae9SGregory Neil Shapirocontrol	help		This message.
13406f25ae9SGregory Neil Shapirocontrol	restart		Restart sendmail.
13506f25ae9SGregory Neil Shapirocontrol	shutdown	Shutdown sendmail.
13606f25ae9SGregory Neil Shapirocontrol	status		Show sendmail status.
137