1 | .\" Copyright (c) 1998-2000, 2002 Sendmail, Inc. and its suppliers. |
---|
2 | .\" All rights reserved. |
---|
3 | .\" Copyright (c) 1983, 1997 Eric P. Allman. All rights reserved. |
---|
4 | .\" Copyright (c) 1985, 1990, 1993 |
---|
5 | .\" The Regents of the University of California. All rights reserved. |
---|
6 | .\" |
---|
7 | .\" By using this file, you agree to the terms and conditions set |
---|
8 | .\" forth in the LICENSE file which can be found at the top level of |
---|
9 | .\" the sendmail distribution. |
---|
10 | .\" |
---|
11 | .\" |
---|
12 | .\" $Id: mailq.1,v 1.1.1.1 2003-04-08 15:08:14 zacheiss Exp $ |
---|
13 | .\" |
---|
14 | .TH MAILQ 1 "$Date: 2003-04-08 15:08:14 $" |
---|
15 | .SH NAME |
---|
16 | mailq |
---|
17 | \- print the mail queue |
---|
18 | .SH SYNOPSIS |
---|
19 | .B mailq |
---|
20 | .RB [ \-Ac ] |
---|
21 | .RB [ \-q... ] |
---|
22 | .RB [ \-v ] |
---|
23 | .SH DESCRIPTION |
---|
24 | .B Mailq |
---|
25 | prints a summary of the mail messages queued for future delivery. |
---|
26 | .PP |
---|
27 | The first line printed for each message |
---|
28 | shows the internal identifier used on this host |
---|
29 | for the message with a possible status character, |
---|
30 | the size of the message in bytes, |
---|
31 | the date and time the message was accepted into the queue, |
---|
32 | and the envelope sender of the message. |
---|
33 | The second line shows the error message that caused this message |
---|
34 | to be retained in the queue; |
---|
35 | it will not be present if the message is being processed |
---|
36 | for the first time. |
---|
37 | The status characters are either |
---|
38 | .B * |
---|
39 | to indicate the job is being processed; |
---|
40 | .B X |
---|
41 | to indicate that the load is too high to process the job; and |
---|
42 | .B - |
---|
43 | to indicate that the job is too young to process. |
---|
44 | The following lines show message recipients, |
---|
45 | one per line. |
---|
46 | .PP |
---|
47 | .B Mailq |
---|
48 | is identical to ``sendmail -bp''. |
---|
49 | .PP |
---|
50 | The relevant options are as follows: |
---|
51 | .TP |
---|
52 | .B \-Ac |
---|
53 | Show the mail submission queue specified in |
---|
54 | .I /etc/mail/submit.cf |
---|
55 | instead of the MTA queue specified in |
---|
56 | .IR /etc/mail/sendmail.cf . |
---|
57 | .TP |
---|
58 | \fB\-q\fR[\fI!\fR]I substr |
---|
59 | Limit processed jobs to those containing |
---|
60 | .I substr |
---|
61 | as a substring of the queue id or not when |
---|
62 | .I ! |
---|
63 | is specified. |
---|
64 | .TP |
---|
65 | \fB\-q\fR[\fI!\fR]R substr |
---|
66 | Limit processed jobs to those containing |
---|
67 | .I substr |
---|
68 | as a substring of one of the recipients or not when |
---|
69 | .I ! |
---|
70 | is specified. |
---|
71 | .TP |
---|
72 | \fB\-q\fR[\fI!\fR]S substr |
---|
73 | Limit processed jobs to those containing |
---|
74 | .I substr |
---|
75 | as a substring of the sender or not when |
---|
76 | .I ! |
---|
77 | is specified. |
---|
78 | .TP |
---|
79 | .B \-v |
---|
80 | Print verbose information. |
---|
81 | This adds the priority of the message and |
---|
82 | a single character indicator (``+'' or blank) |
---|
83 | indicating whether a warning message has been sent |
---|
84 | on the first line of the message. |
---|
85 | Additionally, extra lines may be intermixed with the recipients |
---|
86 | indicating the ``controlling user'' information; |
---|
87 | this shows who will own any programs that are executed |
---|
88 | on behalf of this message |
---|
89 | and the name of the alias this command expanded from, if any. |
---|
90 | Moreover, status messages for each recipient are printed |
---|
91 | if available. |
---|
92 | .PP |
---|
93 | The |
---|
94 | .B mailq |
---|
95 | utility exits 0 on success, and >0 if an error occurs. |
---|
96 | .SH SEE ALSO |
---|
97 | sendmail(8) |
---|
98 | .SH HISTORY |
---|
99 | The |
---|
100 | .B mailq |
---|
101 | command appeared in |
---|
102 | 4.0BSD. |
---|