LinuxCommandLibrary

mailq

displays the mail queue

TLDR

Show mail queue

$ mailq
copy
Show queue summary
$ mailq -p
copy
Show verbose output
$ mailq -v
copy

SYNOPSIS

mailq [options]

DESCRIPTION

mailq displays the mail queue. It shows messages waiting to be delivered.
The tool is usually a symlink to sendmail or postfix. It lists queued, deferred, and held mail.

PARAMETERS

-p

Print queue summary.
-v
Verbose output.
--help
Display help information.

CAVEATS

MTA dependent output. May need root for full details. Part of MTA package.

HISTORY

mailq provides a standard interface to view mail queues across different Mail Transfer Agents (MTAs).

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community