The mu pop 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 readline and history facilities are enabled (provided that Mailutils is configured with GNU Readline).
The mu pop commands form two major groups. 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.
The argument ‘off’ (the default) turns off all additional output. The ‘verbose on’ command enables POP3 protocol tracing output. Additional arguments can be used to provide more verbosity. The ‘secure’ argument enables display of user passwords in the trace output and the ‘payload’ argument enables showing payload data (e.g. response body sent in the reply to ‘RETR’ command, etc.) Thus, the full diagnostics output is obtained by
verbose on secure payload
The ‘mask’ and ‘unmask’ arguments allow to disable and enable such additional verbosity. For example, supposing the command above is in action, the following command will suppress the display of user passwords in the traces:
verbose mask secure
Similarly, verbose unmask secure will turn it back again.
$name ${name}
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:
Variable | Expansion
|
---|---|
user | Login name of the authenticated POP3 user. If the session is not authenticated yet, expands to ‘[nouser]’.
|
host | Name of the remote host, or ‘[nohost]’ if no
connection is established.
|
program-name | Name of the program, as typed on the command
line to invoke it.
|
canonical-program-name | ‘mu’
|
package | ‘Mailutils’
|
version | Mailutils version number (2.99.97)
|
status | Session status. One of: ‘disconnected’,
‘connected’ or ‘logged in’.
|
For example:
prompt "[${user}@$host "
Notice the use of quotes to include the space character in the prompt.
With one argument, displays a terse description for the given command.