MAILQ(1)
๐ MAILQ(1) โ she's from the General Commands Manual ๐
okay bestie, welcome to the mailq page โ yes, that mailq โ and we're about to print the mail queue together. no cap, she's iconic. ๐
โจ NAME โจ
mailq โ print the mail queue.
๐ SYNOPSIS ๐
mailq [-Ac] [-q...] [-v]
๐ DESCRIPTION ๐
mailq prints a summary of the mail messages queued for future delivery. literal queen behavior. ๐
The first line printed for each message shows the internal identifier used on this host for the message with a possible status character, the size of the message in bytes, the date and time the message was accepted into the queue, and the envelope sender of the message.
The second line shows the error message that caused this message to be retained in the queue; it will not be present if the message is being processed for the first time.
The status characters are either * to indicate the job is being processed; X to indicate that the load is too high to process the job; and - to indicate that the job is too young to process.
The following lines show message recipients, one per line.
mailq is identical to sendmail -bp.
The relevant options are as follows:
-Acโ Show the mail submission queue specified in/etc/mail/submit.cfinstead of the MTA queue specified in/etc/mail/sendmail.cf.-qLโ Show the "lost" items in the mail queue instead of the normal queue items.-qQโ Show the quarantined items in the mail queue instead of the normal queue items.-q[!]I substrโ Limit processed jobs to those containingsubstras a substring of the queue id or not when!is specified.-q[!]Q substrโ Limit processed jobs to quarantined jobs containingsubstras a substring of the quarantine reason or not when!is specified.-q[!]R substrโ Limit processed jobs to those containingsubstras a substring of one of the recipients or not when!is specified.-q[!]S substrโ Limit processed jobs to those containingsubstras a substring of the sender or not when!is specified.-vโ Print verbose information. This adds the priority of the message and a single character indicator (+or blank) indicating whether a warning message has been sent on the first line of the message. Additionally, extra lines may be intermixed with the recipients indicating the โcontrolling userโ information; this shows who will own any programs that are executed on behalf of this message and the name of the alias this command expanded from, if any. Moreover, status messages for each recipient are printed if available.
Several sendmail.cf options influence the behavior of the mailq utility: The number of items printed per queue group is restricted by MaxQueueRunSize if that value is set. The status character * is not printed for some values of QueueSortOrder, e.g., filename, random, modification, and none, unless a -q option is used to limit the processed jobs.
The mailq utility exits 0 on success, and >0 if an error occurs.
๐ SEE ALSO ๐
๐ HISTORY ๐
The mailq command appeared in 4.0BSD.
that's the whole page, bestie โ signing off from MAILQ(1), dated $Date: 2013-11-22 20:51:55 $ ๐๐ซถ
๐ฆ where this page comes from
- epel 10: sendmail 8.18.1-4.el10_0 ยท sendmail-8.23 AND MIT AND MIT-CMU AND BSD-3-Clause AND CDDL-1.0 AND BSD-4-Clause AND BSD-4-Clause-UC AND PostgreSQL AND ISC AND HPND-sell-variant AND mailprio
- fedora 43: sendmail 8.18.1-13.fc43 ยท sendmail-8.23 AND MIT AND MIT-CMU AND BSD-3-Clause AND CDDL-1.0 AND BSD-4-Clause AND BSD-4-Clause-UC AND PostgreSQL AND ISC AND HPND-sell-variant AND mailprio
- fedora 44: sendmail 8.18.2-2.fc44 ยท sendmail-8.23 AND MIT AND MIT-CMU AND BSD-3-Clause AND CDDL-1.0 AND BSD-4-Clause AND BSD-4-Clause-UC AND PostgreSQL AND ISC AND HPND-sell-variant AND mailprio
- fedora 44: sendmail 8.18.2-4.fc44 ยท sendmail-8.23 AND MIT AND MIT-CMU AND BSD-3-Clause AND CDDL-1.0 AND BSD-4-Clause AND BSD-4-Clause-UC AND PostgreSQL AND ISC AND HPND-sell-variant AND mailprio
- Copyright (c) 1998-2000, 2002, 2007 Proofpoint, Inc. and its suppliers
- Copyright (c) 1983, 1997 Eric P. Allman. All rights reserved
- Copyright (c) 1985, 1990, 1993 The Regents of the University of California. All rights reserved
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms