Name
mailq
Synopsis
mailq [options]List all messages in the sendmail mail queue. Equivalent to sendmail -bp.
Options
- -Ac
Show queue specified in /etc/mail/submit.cf instead of queue specified in /etc/mail/sendmail.cf.
- -q[
!]Isubstring Show items in mail queue with queue ids containing substring. In this, and in similar options below, invert the match when
!is specified.- -qL
Show lost items in mail queue.
Show quarantined items in the mail queue.
- -q[
!]Qsubstring Show quarantined messages with quarantine reasons containing substring.
- -q[
!]Rsubstring Show items in mail queue with recipients containing substring.
- -q[
!]Ssubstring Show items in mail queue with senders containing substring.
- -v
Verbose mode.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access