Linux Command
mailq
Display the queue of emails to be sent
Supplementary instructions
mailq command The user displays the mail queue to be sent. Each item displayed includes the mail queue id, mail size, queue joining time, mail sender and recipient. If the email has not been delivered after the last attempt, the reason for delivery failure is displayed.
grammar
mailq(option)
Options
-v: Display detailed information.
Example
[root@localhost ~]# mailq -v
/var/spool/mqueue is empty
Total requests: 0


