mailq(1) — USER COMMANDS
NAME
mailq − print mail queue for sendmail
SYNOPSIS
/usr/ucb/mailq
DESCRIPTION
mailq prints the mail queue collected by the sendmail. The following is sample output from mailq:
Mail Queue (2 requests)
--QID-- --Size-- -----Q-Time----- ------------Sender/Recipient------------
AA02491 1260 Thu Oct 1 09:58 <sender@somewhere.com>
(Deferred: Connection refused by host1.thisplace.com)
<user1@host1.thisplace.com>
AA02240 288 Thu Oct 1 09:46 <user2@host2.thisplace.com>
(Deferred: Connection refused by host1.thisplace.com)
<user3@host1.thisplace.com>
If there is no mail in the queue, mailq prints
Mail queue is empty
If there is no queue, mailq prints
No queue to print
mailq is a link to sendmail; sendmail −bp produces the same output.
SEE ALSO
— BSD Compatibility Package