source: trunk/third/sendmail/src/mailq.1 @ 12887

Revision 12887, 1.9 KB checked in by danw, 26 years ago (diff)
add in mdoc magic
Line 
1.\" Dummy comment to avoid confusing man
2.so /usr/athena/share/tmac/tmac.doc
3.\" Copyright (c) 1998 Sendmail, Inc.  All rights reserved.
4.\" Copyright (c) 1983, 1997 Eric P. Allman.  All rights reserved.
5.\" Copyright (c) 1985, 1990, 1993
6.\"     The Regents of the University of California.  All rights reserved.
7.\"
8.\" By using this file, you agree to the terms and conditions set
9.\" forth in the LICENSE file which can be found at the top level of
10.\" the sendmail distribution.
11.\"
12.\"
13.\"     @(#)mailq.1     8.10 (Berkeley) 5/19/1998
14.\"
15.Dd May 19, 1998
16.Dt MAILQ 1
17.Os BSD 4
18.Sh NAME
19.Nm mailq
20.Nd print the mail queue
21.Sh SYNOPSIS
22.Nm mailq
23.Op Fl v
24.Sh DESCRIPTION
25.Nm Mailq
26prints a summary of the mail messages queued for future delivery.
27.Pp
28The first line printed for each message
29shows the internal identifier used on this host
30for the message,
31the size of the message in bytes,
32the date and time the message was accepted into the queue,
33and the envelope sender of the message.
34The second line shows the error message that caused this message
35to be retained in the queue;
36it will not be present if the message is being processed
37for the first time.
38The following lines show message recipients,
39one per line.
40.Pp
41.Nm Mailq
42is identical to
43.Dq Li "sendmail -bp" .
44.Pp
45The options are as follows:
46.Bl -tag -width Ds
47.It Fl v
48Print verbose information.
49This adds the priority of the message and
50a single character indicator (``+'' or blank)
51indicating whether a warning message has been sent
52on the first line of the message.
53Additionally, extra lines may be intermixed with the recipients
54indicating the ``controlling user'' information;
55this shows who will own any programs that are executed
56on behalf of this message
57and the name of the alias this command expanded from, if any.
58.El
59.Pp
60The
61.Nm mailq
62utility exits 0 on success, and >0 if an error occurs.
63.Sh SEE ALSO
64.Xr sendmail 8
65.Sh HISTORY
66The
67.Nm mailq
68command appeared in
69.Bx 4.0 .
Note: See TracBrowser for help on using the repository browser.