<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mailutils.org/usqay/index.php?action=history&amp;feed=atom&amp;title=Mailutils_smtp</id>
	<title>Mailutils smtp - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mailutils.org/usqay/index.php?action=history&amp;feed=atom&amp;title=Mailutils_smtp"/>
	<link rel="alternate" type="text/html" href="https://mailutils.org/usqay/index.php?title=Mailutils_smtp&amp;action=history"/>
	<updated>2026-09-07T03:48:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.13</generator>
	<entry>
		<id>https://mailutils.org/usqay/index.php?title=Mailutils_smtp&amp;diff=440&amp;oldid=prev</id>
		<title>Gray at 14:16, 8 February 2016</title>
		<link rel="alternate" type="text/html" href="https://mailutils.org/usqay/index.php?title=Mailutils_smtp&amp;diff=440&amp;oldid=prev"/>
		<updated>2016-02-08T14:16:55Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:16, 8 February 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l76&quot; &gt;Line 76:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 76:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;history&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;history&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:Shows command history.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:Shows command history.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== See also ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [[mailutils (utility)]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:utilities]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Gray</name></author>
	</entry>
	<entry>
		<id>https://mailutils.org/usqay/index.php?title=Mailutils_smtp&amp;diff=439&amp;oldid=prev</id>
		<title>Gray: Created page with &quot;The &lt;tt&gt;mailutils smtp&lt;/tt&gt; command invokes an interactive SMTP client shell.  It reads commands from the standard input, executes them and displays the results on the sta...&quot;</title>
		<link rel="alternate" type="text/html" href="https://mailutils.org/usqay/index.php?title=Mailutils_smtp&amp;diff=439&amp;oldid=prev"/>
		<updated>2016-02-08T14:02:52Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The &amp;lt;tt&amp;gt;&lt;a href=&quot;/wiki/Mu&quot; class=&quot;mw-redirect&quot; title=&quot;Mu&quot;&gt;mailutils&lt;/a&gt; smtp&amp;lt;/tt&amp;gt; command invokes an interactive SMTP client shell.  It reads commands from the standard input, executes them and displays the results on the sta...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The &amp;lt;tt&amp;gt;[[mu|mailutils]] smtp&amp;lt;/tt&amp;gt; command invokes an interactive SMTP client shell.  It reads commands from the standard input, executes them and displays the results on the standard output.  If the standard input is connected to a terminal, the [http://cnswww.cns.cwru.edu/php/chet/readline/readline.html#Command-Line-Editing readline and history] facilities are enabled (provided that Mailutils is configured with GNU Readline). &lt;br /&gt;
&lt;br /&gt;
== Initializing connection ==&lt;br /&gt;
&lt;br /&gt;
;connect [-tls] ''hostname'' [''port'']&lt;br /&gt;
:Connect to SMTP server at ''hostname'' (IP address or host name).  If the &amp;lt;tt&amp;gt;-tls&amp;lt;/tt&amp;gt; option is given, TLS encryption (also known as SMTPS protocol) will be used.  Default port number is 25 for plain SMTP and 465 for SMTPS. Explicit ''port'' argument overrides the default value.&lt;br /&gt;
&lt;br /&gt;
== Connection parameters ==&lt;br /&gt;
&lt;br /&gt;
A number of parameters is associated with an open connection:&lt;br /&gt;
&lt;br /&gt;
;domain&lt;br /&gt;
:Domain name used in ''EHLO'' statement.  Defaults to the current host name.&lt;br /&gt;
&lt;br /&gt;
The following parameters are used for ESMTP authentication:&lt;br /&gt;
&lt;br /&gt;
;username&lt;br /&gt;
:User name.&lt;br /&gt;
;password&lt;br /&gt;
:User password.&lt;br /&gt;
;service&lt;br /&gt;
:GSASL service name.&lt;br /&gt;
;realm &lt;br /&gt;
:Realm name. &lt;br /&gt;
;host&lt;br /&gt;
:Host name&lt;br /&gt;
;url&lt;br /&gt;
:[[Fetching_Mail_with_Movemail#SMTP_Mailboxes|SMTP URL]].  It can contain all of the above.  Default is &amp;lt;tt&amp;gt;smtp://&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These parameters are manipulated using the following statements:&lt;br /&gt;
&lt;br /&gt;
;set ''param'' ''value'' [''param'' ''value''...]&lt;br /&gt;
:Set parameter ''param'' to ''value''.  Several parameters can be set with one &amp;lt;tt&amp;gt;set&amp;lt;/tt&amp;gt; statement.&lt;br /&gt;
;clear [''param''...]&lt;br /&gt;
:Unset named connection parameters.  If used without arguments, unsets all parameters.&lt;br /&gt;
;list [''param''...]&lt;br /&gt;
:List connection parameters.  If used without arguments, lists all parameters.&lt;br /&gt;
&lt;br /&gt;
==SMTP commands==&lt;br /&gt;
&lt;br /&gt;
;ehlo [''domain'']&lt;br /&gt;
Send the ESMTP greeting.  Unless ''domain'' is supplied, the connection parameter ''domain'' is used.&lt;br /&gt;
;capa [''name''...]&lt;br /&gt;
List the server capabilities.&lt;br /&gt;
;starttls                 &lt;br /&gt;
Initiate encrypted connection.  This command is disabled if the connection is opened with the '''-tls''' option.&lt;br /&gt;
;auth ''mech [mech...] &lt;br /&gt;
Authenticate&lt;br /&gt;
;rset       &lt;br /&gt;
Reset the session state&lt;br /&gt;
;from [''email'']&lt;br /&gt;
Sets sender email address.  Used without arguments, prints the sender email address.&lt;br /&gt;
;to [''email'']&lt;br /&gt;
Sets recipient email address.  Used without arguments, prints all recepient names collected so far.&lt;br /&gt;
;smtp ''command'' [''args''...]&lt;br /&gt;
Send ''command'' with arguments verbatim.&lt;br /&gt;
;quit&lt;br /&gt;
:Quits the SMTP session.&lt;br /&gt;
&lt;br /&gt;
;send [''file'']              &lt;br /&gt;
Read the message from ''file'' and send it.  If ''file'' is not supplied, the action depends on whether a &amp;lt;tt&amp;gt;send&amp;lt;/tt&amp;gt; command was used prevously within the same session.  If so, '''mailutils''' will first ask whether to reuse already supplied message.  If not, it will start an editor, allowing you to enter the message.  When you exit from the editor, you will be prompted on what to do with the message: send, edit, or quit (discard) it. &lt;br /&gt;
&lt;br /&gt;
==Internal commands==&lt;br /&gt;
;verbose [on|off|mask|unmask] [secure [payload]]&lt;br /&gt;
:Control output verbosity.  See the [[Mailutils pop#Internal commands|detailed description here]].&lt;br /&gt;
;prompt ''string''&lt;br /&gt;
:Set command prompt.  See the [[Mailutils pop#Internal commands|detailed description here]].&lt;br /&gt;
;exit&lt;br /&gt;
:Exit the program.&lt;br /&gt;
&lt;br /&gt;
;help [''command'']&lt;br /&gt;
:Without arguments displays a list of commands with possible arguments and short descriptions.&lt;br /&gt;
:With one argument, displays a terse description for the given ''command''.&lt;br /&gt;
;? [''command'']&lt;br /&gt;
:A synonym for &amp;lt;tt&amp;gt;help&amp;lt;/tt&amp;gt;.&lt;br /&gt;
;history&lt;br /&gt;
:Shows command history.&lt;/div&gt;</summary>
		<author><name>Gray</name></author>
	</entry>
</feed>