Network
The mailq command
Shows the system mail queue (messages pending delivery).
Copy-ready examples
$ mailqSee the queueYou can try them in the browser terminal: it does not touch your computer.
Typical mistakes
- An empty queue means everything was delivered.
FAQ
What does mailq show?
The mail queue waiting to be sent.
And if it is empty?
It shows Mail queue is empty.
More Network commands
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