source: trunk/third/sendmail/sendmail/mailq.1 @ 19204

Revision 19204, 2.8 KB checked in by zacheiss, 21 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r19203, which included commits to RCS files with non-trunk default branches.
Line 
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
16mailq
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
25prints a summary of the mail messages queued for future delivery.
26.PP
27The first line printed for each message
28shows the internal identifier used on this host
29for the message with a possible status character,
30the size of the message in bytes,
31the date and time the message was accepted into the queue,
32and the envelope sender of the message. 
33The second line shows the error message that caused this message
34to be retained in the queue;
35it will not be present if the message is being processed
36for the first time. 
37The status characters are either
38.B *
39to indicate the job is being processed;
40.B X
41to indicate that the load is too high to process the job; and
42.B -
43to indicate that the job is too young to process.
44The following lines show message recipients,
45one per line.
46.PP
47.B Mailq
48is identical to ``sendmail -bp''.
49.PP
50The relevant options are as follows:
51.TP
52.B \-Ac
53Show the mail submission queue specified in
54.I /etc/mail/submit.cf
55instead of the MTA queue specified in
56.IR /etc/mail/sendmail.cf .
57.TP
58\fB\-q\fR[\fI!\fR]I substr
59Limit processed jobs to those containing
60.I substr
61as a substring of the queue id or not when
62.I !
63is specified.
64.TP
65\fB\-q\fR[\fI!\fR]R substr
66Limit processed jobs to those containing
67.I substr
68as a substring of one of the recipients or not when
69.I !
70is specified.
71.TP
72\fB\-q\fR[\fI!\fR]S substr
73Limit processed jobs to those containing
74.I substr
75as a substring of the sender or not when
76.I !
77is specified.
78.TP
79.B \-v
80Print verbose information. 
81This adds the priority of the message and
82a single character indicator (``+'' or blank)
83indicating whether a warning message has been sent
84on the first line of the message.
85Additionally, extra lines may be intermixed with the recipients
86indicating the ``controlling user'' information;
87this shows who will own any programs that are executed
88on behalf of this message
89and the name of the alias this command expanded from, if any.
90Moreover, status messages for each recipient are printed
91if available.
92.PP
93The
94.B mailq
95utility exits 0 on success, and >0 if an error occurs.
96.SH SEE ALSO
97sendmail(8)
98.SH HISTORY
99The
100.B mailq
101command appeared in
1024.0BSD.
Note: See TracBrowser for help on using the repository browser.