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