General-Purpose Mail Package
|Official GNU Software|
mailutils wicket command looks up matching URLs in the
Mailutils ticket file (by default, ~/.mu-tickets) and prints
them. The URLs to look for are supplied in the command line.
Consider the following ticket file as an example:
smtp://foo:bar@* smtp://bar:email@example.com *://baz:qux@* *://quux:firstname.lastname@example.org
mailutils wicket smtp://email@example.com will show:
(where user is your login name). This means that this URL
matches the line 2 in your .mailutils-tickets file. The
wicket command does not show the actual matching line to
avoid revealing eventual security-sensitive information. You can
instruct it to do so using the --verbose (-v)
$ mailutils wicket -v smtp://firstname.lastname@example.org smtp://email@example.com: /home/user/.mu-tickets:2: smtp://bar:***@gnu.org
As you see, even in that case the tool hides the actual password part
by replacing it with three asterisks. If you are working in a secure
environment, you can tell
mu wicket to show passwords as
well, by supplying the -v option twice.
A counterpart of --verbose is the --quite
(-q) option, which instructs
wicket to suppress any
output, excepting error messages. This can be used in scripts, which
mailutils wicket exit code to alter the control flow.
mailutils wicket tool exits with code 0 if all URLs were
matched and with code 1 if some of them were not matched in the ticket
file. If an error occurred, the code 2 is returned.
This document was generated on February 23, 2019 using makeinfo.Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.