xref: /csrg-svn/usr.sbin/sendmail/src/mailq.1 (revision 66227)
165971Seric.\" Copyright (c) 1985, 1990, 1993
265971Seric.\"	The Regents of the University of California.  All rights reserved.
365971Seric.\"
465971Seric.\" %sccs.include.redist.roff%
565971Seric.\"
6*66227Sbostic.\"     @(#)mailq.1	8.4 (Berkeley) 02/22/94
765971Seric.\"
865971Seric.Dd
965971Seric.Dt MAILQ 1
1065971Seric.Os BSD 4
1165971Seric.Sh NAME
1265971Seric.Nm mailq
1365971Seric.Nd print the mail queue
1465971Seric.Sh SYNOPSIS
1565971Seric.Nm mailq
1665971Seric.Op Fl v
1765971Seric.Sh DESCRIPTION
1865971Seric.Nm Mailq
1965971Sericprints a summary of the mail messages queued for future delivery.
2065971Seric.Pp
2165971SericThe first line printed for each message
2265971Sericshows the internal identifier used on this host
2365971Sericfor the message,
2465971Sericthe size of the message in bytes,
2565971Sericthe date and time the message was accepted into the queue,
2665971Sericand the envelope sender of the message.
2765971SericThe second line shows the error message that caused this message
2865971Sericto be retained in the queue;
2965971Sericit will not be present if the message is being processed
3065971Sericfor the first time.
3165971SericThe following lines show message recipients,
3265971Sericone per line.
3365971Seric.Pp
3465971Seric.Nm Mailq
3566218Sbosticis identical to
36*66227Sbostic.Dq Li "sendmail -bp" .
3766218Sbostic.Pp
3866218SbosticThe options are as follows:
3966218Sbostic.Bl -tag -width Ds
4065971Seric.It Fl v
4165971SericPrint verbose information.
4265971SericThis adds the priority of the message and
4365971Serica single character indicator (``+'' or blank)
4465971Sericindicating whether a warning message has been sent
4565971Sericon the first line of the message.
4665971SericAdditionally, extra lines may be intermixed with the recipients
4765971Sericindicating the ``controlling user'' information;
4865971Sericthis shows who will own any programs that are executed
4965971Sericon behalf of this message
5065971Sericand the name of the alias this command expanded from, if any.
5166218Sbostic.El
5266218Sbostic.Pp
5366218SbosticThe
5466218Sbostic.Nm mailq
5566218Sbosticutility exits 0 on success, and >0 if an error occurs.
5665971Seric.Sh SEE ALSO
5765971Seric.Xr sendmail 8
5865971Seric.Sh HISTORY
5965971SericThe
6065971Seric.Nm mailq
6165971Sericcommand appeared in
6265971Seric.Bx 4.0 .
63