Mailutils (utility)

From Mailutils
Revision as of 11:13, 11 July 2015 by Gray (talk | contribs) (Split into separate articles)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

mailutils is a multi-purpose tool for various mail- and database-related tasks. It is also used as an auxiliary tool for compiling and linking programs with GNU Mailutils.

It was called mu in GNU Mailutils versions up to 2.99.99. Starting with version 2.99.99 it was reluctantly renamed to mailutils to avoid name clash with another tool bearing that name.

Syntax

mailutils is a command line tool. Its invocation syntax is:

mailutils [options] command [args]

where options are options that affect the behavior of mailutils as a whole, command instructs it what it is to do and args are any arguments the command needs in order to be executed.

The commands are:

2047
Decodes or encodes email message headers.
acl
Tests Mailutils access control lists.
cflags
Shows compiler options needed to compile with Mailutils.
dbm
Invokes a DBM management tool.
filter
Applies a chain of filters to the input.
help
Displays a terse help summary.
imap
Invokes an IMAP4 client shell.
info
Displays information about Mailutils compile-time configuration.
ldflags
Constructs a ld(1) command line for linking a program with Mailutils.
logger
Logs information using Mailutils log facility.
pop
Invokes a POP3 client shell.
query
Queries configuration values.
send
Sends a message using the given SMTP relay.
smtp
Runs an interactive SMTP shell.
wicket

Scans wickets for matching URLs

Obtaining help

The mailutils help command lists all available options and command names along with short descriptions of what each of them does. It is similar to the mailutils --help option.

A command name can be supplied as an argument to help, in which case it will display a help page for that particular command, e.g.:

 mailutils help ldflags

will output help for the ldflags command. It is synonymous to the --help option used with that particular command, e.g.: mailutils ldflags --help.