LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

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.

INSTALL

sudo apt install dma
copy
sudo dnf install postfix
copy
sudo pacman -S postfix
copy
sudo apk add postfix
copy
sudo zypper install postfix
copy
nix profile install nixpkgs#dma
copy

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

Copied to clipboard
Kai