Network

The mailq command

Shows the system mail queue (messages pending delivery).

Copy-ready examples

$ mailqSee the queue

You can try them in the browser terminal: it does not touch your computer.

Typical mistakes

  • An empty queue means everything was delivered.

Related commands

FAQ

What does mailq show?

The mail queue waiting to be sent.

And if it is empty?

It shows Mail queue is empty.

Learn to actually use it

The basic Linux course takes you from zero to console fluency with 24 self-grading lessons.

Start the free course