DOKK / manpages / debian 10 / courier-mta / mailq.1.en
MAILQ(1) Double Precision, Inc. MAILQ(1)

mailq - Display the mail queue

mailq [-sort] [-batch]

mailq displays a list of all messages that have not been delivered yet. The display contains: the queue ID; sending user; the size of the message and the time the message was created; the return address, and a list of the message's recipients. If the message was already delivered or failed for some recipients, this will be indicated as well.

The optional -sort sorts the list according to the messages' timestamps, oldest messages first. This may take a while if the mail queue is very large.

The optional -batch uses an alternative, machine-parsable output format, one line per message:

size;qid;date;user;from;[status;recipient];[status;recipient];[...]

Only the superuser can view the contents of the entire mail queue. Everyone else can only see their own messages.

The 80-column limitation forced a somewhat ugly design.

cancelmsg(1)[1], courier(8)[2].

Sam Varshavchik

Author

1.

cancelmsg(1)

http://www.courier-mta.org/cancelmsg.html
2.

courier(8)

http://www.courier-mta.org/courier.html
07/24/2017 Courier Mail Server