xref: /onnv-gate/usr/src/cmd/sendmail/lib/helpfile (revision 3966:7aaa946a7259)
10Sstevel@tonic-gate#vers	2
20Sstevel@tonic-gatecpyr
3*3966Sjbeckcpyr	Copyright (c) 1998-2000, 2002, 2004-2007 Sendmail, Inc. and its suppliers.
40Sstevel@tonic-gatecpyr	    All rights reserved.
50Sstevel@tonic-gatecpyr	Copyright (c) 1983, 1995-1997 Eric P. Allman.  All rights reserved.
60Sstevel@tonic-gatecpyr	Copyright (c) 1988, 1993
70Sstevel@tonic-gatecpyr	    The Regents of the University of California.  All rights reserved.
8*3966Sjbeckcpyr	Copyright 1994-2007 Sun Microsystems, Inc.  All rights reserved.
90Sstevel@tonic-gatecpyr	Use is subject to license terms.
100Sstevel@tonic-gatecpyr
110Sstevel@tonic-gatecpyr
120Sstevel@tonic-gatecpyr	ident	"%Z%%M%	%I%	%E% SMI"
13*3966Sjbeckcpyr	$$Id: helpfile,v 8.48 2007/02/01 18:29:44 ca Exp $$
140Sstevel@tonic-gatecpyr
150Sstevel@tonic-gatesmtp	This is sendmail version $v
160Sstevel@tonic-gatesmtp	Topics:
170Sstevel@tonic-gatesmtp		HELO	EHLO	MAIL	RCPT	DATA
180Sstevel@tonic-gatesmtp		RSET	NOOP	QUIT	HELP	VRFY
19616Sjbecksmtp		EXPN	VERB	ETRN	DSN	STARTTLS
200Sstevel@tonic-gatesmtp	For more info use "HELP <topic>".
210Sstevel@tonic-gatesmtp	To report bugs in the implementation contact Sun Microsystems
220Sstevel@tonic-gatesmtp	Technical Support.
230Sstevel@tonic-gatesmtp	For local information send email to Postmaster at your site.
240Sstevel@tonic-gatehelp	HELP [ <topic> ]
250Sstevel@tonic-gatehelp		The HELP command gives help info.
260Sstevel@tonic-gatehelo	HELO <hostname>
270Sstevel@tonic-gatehelo		Introduce yourself.
280Sstevel@tonic-gateehlo	EHLO <hostname>
290Sstevel@tonic-gateehlo		Introduce yourself, and request extended SMTP mode.
300Sstevel@tonic-gateehlo	Possible replies include:
310Sstevel@tonic-gateehlo		SEND		Send as mail			[RFC821]
320Sstevel@tonic-gateehlo		SOML		Send as mail or terminal	[RFC821]
330Sstevel@tonic-gateehlo		SAML		Send as mail and terminal	[RFC821]
340Sstevel@tonic-gateehlo		EXPN		Expand the mailing list		[RFC821]
350Sstevel@tonic-gateehlo		HELP		Supply helpful information	[RFC821]
360Sstevel@tonic-gateehlo		TURN		Turn the operation around	[RFC821]
370Sstevel@tonic-gateehlo		8BITMIME	Use 8-bit data			[RFC1652]
380Sstevel@tonic-gateehlo		SIZE		Message size declaration	[RFC1870]
390Sstevel@tonic-gateehlo		VERB		Verbose				[Allman]
400Sstevel@tonic-gateehlo		CHUNKING	Chunking			[RFC1830]
410Sstevel@tonic-gateehlo		BINARYMIME	Binary MIME			[RFC1830]
420Sstevel@tonic-gateehlo		PIPELINING	Command Pipelining		[RFC1854]
430Sstevel@tonic-gateehlo		DSN		Delivery Status Notification	[RFC1891]
440Sstevel@tonic-gateehlo		ETRN		Remote Message Queue Starting	[RFC1985]
45616Sjbeckehlo		STARTTLS	Secure SMTP			[RFC2487]
460Sstevel@tonic-gateehlo		ENHANCEDSTATUSCODES	Enhanced status codes	[RFC2034]
470Sstevel@tonic-gateehlo		DELIVERBY	Deliver By			[RFC2852]
48616Sjbeckmail	MAIL From:<sender> [ <parameters> ]
490Sstevel@tonic-gatemail		Specifies the sender.  Parameters are ESMTP extensions.
500Sstevel@tonic-gatemail		See "HELP DSN" for details.
51616Sjbeckrcpt	RCPT To:<recipient> [ <parameters> ]
520Sstevel@tonic-gatercpt		Specifies the recipient.  Can be used any number of times.
530Sstevel@tonic-gatercpt		Parameters are ESMTP extensions.  See "HELP DSN" for details.
540Sstevel@tonic-gatedata	DATA
550Sstevel@tonic-gatedata		Following text is collected as the message.
560Sstevel@tonic-gatedata		End with a single dot.
570Sstevel@tonic-gaterset	RSET
580Sstevel@tonic-gaterset		Resets the system.
590Sstevel@tonic-gatequit	QUIT
600Sstevel@tonic-gatequit		Exit sendmail (SMTP).
61616Sjbeckstarttls	STARTTLS
62616Sjbeckstarttls		Start TLS negotiation.
630Sstevel@tonic-gateverb	VERB
640Sstevel@tonic-gateverb		Go into verbose mode.  This sends 0xy responses that are
650Sstevel@tonic-gateverb		not RFC821 standard (but should be)  They are recognized
660Sstevel@tonic-gateverb		by humans and other sendmail implementations.
670Sstevel@tonic-gatevrfy	VRFY <recipient>
680Sstevel@tonic-gatevrfy		Verify an address.  If you want to see what it aliases
690Sstevel@tonic-gatevrfy		to, use EXPN instead.
700Sstevel@tonic-gateexpn	EXPN <recipient>
710Sstevel@tonic-gateexpn		Expand an address.  If the address indicates a mailing
720Sstevel@tonic-gateexpn		list, return the contents of that list.
730Sstevel@tonic-gatenoop	NOOP
740Sstevel@tonic-gatenoop		Do nothing.
752197Sjbecksend	SEND FROM:<sender>
760Sstevel@tonic-gatesend		replaces the MAIL command, and can be used to send
770Sstevel@tonic-gatesend		directly to a users terminal.  Not supported in this
780Sstevel@tonic-gatesend		implementation.
792197Sjbecksoml	SOML FROM:<sender>
800Sstevel@tonic-gatesoml		Send or mail.  If the user is logged in, send directly,
810Sstevel@tonic-gatesoml		otherwise mail.  Not supported in this implementation.
822197Sjbecksaml	SAML FROM:<sender>
830Sstevel@tonic-gatesaml		Send and mail.  Send directly to the user's terminal,
840Sstevel@tonic-gatesaml		and also mail a letter.  Not supported in this
850Sstevel@tonic-gatesaml		implementation.
860Sstevel@tonic-gateturn	TURN
870Sstevel@tonic-gateturn		Reverses the direction of the connection.  Not currently
880Sstevel@tonic-gateturn		implemented.
89616Sjbecketrn	ETRN [ <hostname> | @<domain> | \#<queuename> ]
900Sstevel@tonic-gateetrn		Run the queue for the specified <hostname>, or
910Sstevel@tonic-gateetrn		all hosts within a given <domain>, or a specially-named
920Sstevel@tonic-gateetrn		<queuename> (implementation-specific).
932197Sjbeckdsn	MAIL From:<sender> [ RET={ FULL | HDRS} ] [ ENVID=<envid> ]
942197Sjbeckdsn	RCPT To:<recipient> [ NOTIFY={NEVER,SUCCESS,FAILURE,DELAY} ]
950Sstevel@tonic-gatedsn			     [ ORCPT=<recipient> ]
960Sstevel@tonic-gatedsn		SMTP Delivery Status Notifications.
970Sstevel@tonic-gatedsn	Descriptions:
980Sstevel@tonic-gatedsn		RET	Return either the full message or only headers.
990Sstevel@tonic-gatedsn		ENVID	Sender's "envelope identifier" for tracking.
1000Sstevel@tonic-gatedsn		NOTIFY	When to send a DSN. Multiple options are OK, comma-
1010Sstevel@tonic-gatedsn			delimited. NEVER must appear by itself.
1020Sstevel@tonic-gatedsn		ORCPT	Original recipient.
1030Sstevel@tonic-gate-bt	Help for test mode:
1040Sstevel@tonic-gate-bt	?		 :this help message.
1050Sstevel@tonic-gate-bt	.Dmvalue	 :define macro `m' to `value'.
1060Sstevel@tonic-gate-bt	.Ccvalue	 :add `value' to class `c'.
1070Sstevel@tonic-gate-bt	=Sruleset	 :dump the contents of the indicated ruleset.
1080Sstevel@tonic-gate-bt	=M		 :display the known mailers.
1090Sstevel@tonic-gate-bt	-ddebug-spec	 :equivalent to the command-line -d debug flag.
1100Sstevel@tonic-gate-bt	$$m		 :print the value of macro $$m.
1110Sstevel@tonic-gate-bt	$$=c		 :print the contents of class $$=c.
1120Sstevel@tonic-gate-bt	/mx host	 :returns the MX records for `host'.
1130Sstevel@tonic-gate-bt	/parse address	 :parse address, returning the value of crackaddr, and
1140Sstevel@tonic-gate-bt			  the parsed address.
1150Sstevel@tonic-gate-bt	/try mailer addr :rewrite address into the form it will have when
1160Sstevel@tonic-gate-bt			  presented to the indicated mailer.
1170Sstevel@tonic-gate-bt	/tryflags flags	 :set flags used by parsing.  The flags can be `H' for
1180Sstevel@tonic-gate-bt			  Header or `E' for Envelope, and `S' for Sender or `R'
1190Sstevel@tonic-gate-bt			  for Recipient.  These can be combined, `HR' sets
1200Sstevel@tonic-gate-bt			  flags for header recipients.
1210Sstevel@tonic-gate-bt	/canon hostname	 :try to canonify hostname.
1220Sstevel@tonic-gate-bt	/map mapname key :look up `key' in the indicated `mapname'.
1230Sstevel@tonic-gate-bt	/quit		 :quit address test mode.
1240Sstevel@tonic-gate-bt	rules addr	 :run the indicated address through the named rules.
1250Sstevel@tonic-gate-bt			  Rules can be a comma separated list of rules.
1260Sstevel@tonic-gatecontrol	Help for smcontrol:
1270Sstevel@tonic-gatecontrol	help		This message.
1280Sstevel@tonic-gatecontrol	restart		Restart sendmail.
1290Sstevel@tonic-gatecontrol	shutdown	Shutdown sendmail.
1300Sstevel@tonic-gatecontrol	status		Show sendmail status.
131*3966Sjbeckcontrol	mstat		Show sendmail status (machine readable format).
1320Sstevel@tonic-gatecontrol	memdump		Dump allocated memory list (for debugging only).
133