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