<?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_pop</id>
	<title>Mailutils pop - 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_pop"/>
	<link rel="alternate" type="text/html" href="https://mailutils.org/usqay/index.php?title=Mailutils_pop&amp;action=history"/>
	<updated>2026-08-28T12:09:48Z</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_pop&amp;diff=410&amp;oldid=prev</id>
		<title>Gray at 11:06, 11 July 2015</title>
		<link rel="alternate" type="text/html" href="https://mailutils.org/usqay/index.php?title=Mailutils_pop&amp;diff=410&amp;oldid=prev"/>
		<updated>2015-07-11T11:06:48Z</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 11:06, 11 July 2015&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-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;lt;tt&amp;gt;mailutils pop&amp;lt;/tt&amp;gt; command invokes an interactive POP3 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;/div&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;The &amp;lt;tt&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[mu|&lt;/ins&gt;mailutils&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]] &lt;/ins&gt;pop&amp;lt;/tt&amp;gt; command invokes an interactive POP3 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;/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;/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;/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;The &amp;lt;tt&amp;gt;mailutils pop&amp;lt;/tt&amp;gt; commands form two major groups.  The POP3 protocol commands interact with the remote POP3 server and display responses obtained from it.  These commands are named after their POP3 equivalents.  Another group, ''internal commands'', are used to configure the shell itself.&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;The &amp;lt;tt&amp;gt;mailutils pop&amp;lt;/tt&amp;gt; commands form two major groups.  The POP3 protocol commands interact with the remote POP3 server and display responses obtained from it.  These commands are named after their POP3 equivalents.  Another group, ''internal commands'', are used to configure the shell itself.&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_pop&amp;diff=409&amp;oldid=prev</id>
		<title>Gray: Created page with &quot;The &lt;tt&gt;mailutils pop&lt;/tt&gt; command invokes an interactive POP3 client shell.  It reads commands from the standard input, executes them and displays the results on the standard ou...&quot;</title>
		<link rel="alternate" type="text/html" href="https://mailutils.org/usqay/index.php?title=Mailutils_pop&amp;diff=409&amp;oldid=prev"/>
		<updated>2015-07-11T11:06:33Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The &amp;lt;tt&amp;gt;mailutils pop&amp;lt;/tt&amp;gt; command invokes an interactive POP3 client shell.  It reads commands from the standard input, executes them and displays the results on the standard ou...&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;mailutils pop&amp;lt;/tt&amp;gt; command invokes an interactive POP3 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;
The &amp;lt;tt&amp;gt;mailutils pop&amp;lt;/tt&amp;gt; commands form two major groups.  The POP3 protocol commands interact with the remote POP3 server and display responses obtained from it.  These commands are named after their POP3 equivalents.  Another group, ''internal commands'', are used to configure the shell itself.&lt;br /&gt;
&lt;br /&gt;
== POP3 protocol commands ==&lt;br /&gt;
&lt;br /&gt;
;connect [-tls] ''hostname'' [''port'']&lt;br /&gt;
:Open connection to ''hostname''.  If the &amp;lt;tt&amp;gt;-tls&amp;lt;/tt&amp;gt; option is given, TLS encryption (also known as POPS protocol) will be used.  If ''port'' argument is not given, the command uses port 110 for a plain POP connection or 995 for POPS (if &amp;lt;tt&amp;gt;-tls&amp;lt;/tt&amp;gt; is given). &lt;br /&gt;
&lt;br /&gt;
;stls&lt;br /&gt;
:Start TLS negotiation.  This command is valid only after successful unencrypted connection has been initiated (using &amp;lt;tt&amp;gt;connect&amp;lt;/tt&amp;gt; without &amp;lt;tt&amp;gt;-tls&amp;lt;/tt&amp;gt; argument).&lt;br /&gt;
&lt;br /&gt;
;user ''name''&lt;br /&gt;
:Send user name to the server.  The &amp;lt;tt&amp;gt;pass&amp;lt;/tt&amp;gt; command must follow.&lt;br /&gt;
;pass [''password''] &lt;br /&gt;
:Send password.  This command is valid only after &amp;lt;tt&amp;gt;user&amp;lt;/tt&amp;gt;.  If the ''password'' argument is omitted, the shell will ask you to enter it.  While entering, both echoing and history recording will be disabled.  Use this to avoid compromising your password.&lt;br /&gt;
&lt;br /&gt;
;apop ''user'' [''password''] &lt;br /&gt;
:Authenticate with APOP.   If the ''password'' argument is omitted, you will be asked to supply it.  While entering, both echoing and history recording will be disabled.&lt;br /&gt;
&lt;br /&gt;
;capa [-reread] [''name''...] &lt;br /&gt;
:List server capabilities.  Any number of ''name'' arguments is accepted.  If given, the shell will display only the named capabilities, otherwise it displays entire list.  By default &amp;lt;tt&amp;gt;capa&amp;lt;/tt&amp;gt; reuses the response of its previous invocation (if there was any), instead of resending the &amp;lt;tt&amp;gt;CAPA&amp;lt;/tt&amp;gt; command to the server.  To force it do so, use the &amp;lt;tt&amp;gt;-reread&amp;lt;/tt&amp;gt; option. &lt;br /&gt;
&lt;br /&gt;
;noop &lt;br /&gt;
:Send a ''no operation''.&lt;br /&gt;
&lt;br /&gt;
;stat&lt;br /&gt;
:Get the mailbox size and number of messages in it.&lt;br /&gt;
&lt;br /&gt;
;uidl [''number'']&lt;br /&gt;
:Shows unique message identifiers.  Without arguments, shows identifiers for each message in the mailbox.  If ''number'' is given, the command returns the UIDL of that particular message only.&lt;br /&gt;
&lt;br /&gt;
;list [''number'']&lt;br /&gt;
:Lists messages.  See above for the meaning of ''number''.  Each line of the produced listing contains describes a single message and contains at least the message number and size in bytes.  Depending on the POP3 server implementation, additional fields may be present.  For example, GNU Mailutils '''pop3d''' can also output number of lines in the message in the additional third field.&lt;br /&gt;
&lt;br /&gt;
;retr ''number''&lt;br /&gt;
:Retrieve a message.&lt;br /&gt;
&lt;br /&gt;
;top ''msgno'' [''number''] &lt;br /&gt;
:Display message headers and first ''number'' (default 5) lines of its body.&lt;br /&gt;
&lt;br /&gt;
;dele ''number''&lt;br /&gt;
:Mark message for deletion.&lt;br /&gt;
;rset&lt;br /&gt;
:Remove deletion marks.&lt;br /&gt;
&lt;br /&gt;
;quit&lt;br /&gt;
:Quit pop3 session.&lt;br /&gt;
&lt;br /&gt;
;disconnect&lt;br /&gt;
:Close existing connection.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;pop-internal&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
== Internal commands ==&lt;br /&gt;
;verbose [on|off|mask|unmask] [secure [payload]]&lt;br /&gt;
Control output verbosity.  Without arguments the &amp;lt;tt&amp;gt;verbose&amp;lt;/tt&amp;gt; command shows current settings.&lt;br /&gt;
The argument &amp;lt;tt&amp;gt;off&amp;lt;/tt&amp;gt; (the default) turns off all additional output.  The &amp;lt;tt&amp;gt;verbose on&amp;lt;/tt&amp;gt; command enables POP3 protocol tracing output.  Additional arguments can be used to provide more verbosity.  The &amp;lt;tt&amp;gt;secure&amp;lt;/tt&amp;gt; argument enables display of user passwords in the trace output and the &amp;lt;tt&amp;gt;payload&amp;lt;/tt&amp;gt; enables showing payload data (e.g. response body sent in the reply to &amp;lt;tt&amp;gt;RETR&amp;lt;/tt&amp;gt; command, etc.)  Thus, the full diagnostics output is obtained by&lt;br /&gt;
&lt;br /&gt;
  verbose on secure payload&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;mask&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;unmask&amp;lt;/tt&amp;gt; argument allow to disable and enable such additional verbosity.  For example, supposing the command above is in action, the following command&lt;br /&gt;
will suppress the display of user passwords in the traces:&lt;br /&gt;
&lt;br /&gt;
  verbose mask secure&lt;br /&gt;
&lt;br /&gt;
Similarly, &amp;lt;tt&amp;gt;verbose unmask secure&amp;lt;/tt&amp;gt; will turn it back again.&lt;br /&gt;
&lt;br /&gt;
;prompt ''string''&lt;br /&gt;
:Set command prompt.  The argument can contain ''variable references'' in the following forms:&lt;br /&gt;
&lt;br /&gt;
  $''name''&lt;br /&gt;
  ${''name''}&lt;br /&gt;
&lt;br /&gt;
where ''name'' is the variable name.  Such references are expanded to the actual value of the variable at the time of expansion.  The following variables are defined:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #000&amp;quot;&lt;br /&gt;
! style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|Variable&lt;br /&gt;
! style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|Expansion&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|user&lt;br /&gt;
| style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|Login name of the authenticated POP3 user.  If the session is not authenticated yet, expands to ''[nouser]''.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|host&lt;br /&gt;
| style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|Name of the remote host, or ''[nohost]'' if no connection is established.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|program-name&lt;br /&gt;
| style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|Name of the program, as typed on the command line to invoke it.&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|canonical-program-name&lt;br /&gt;
| style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|''mailutils''&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|package&lt;br /&gt;
| style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|''Mailutils''&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|version&lt;br /&gt;
| style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|Mailutils version number&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|status&lt;br /&gt;
| style=&amp;quot;border-style: solid; border-width: 1px&amp;quot;|Session status.  One of: ''disconnected'', ''connected'' or ''logged in''.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
  prompt &amp;quot;[${user}@$host] &amp;quot;&lt;br /&gt;
&lt;br /&gt;
Notice the use of quotes to include the space character in the prompt.&lt;br /&gt;
&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;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[mailutils (utility)]]&lt;br /&gt;
&lt;br /&gt;
[[Category:utilities]]&lt;/div&gt;</summary>
		<author><name>Gray</name></author>
	</entry>
</feed>