manpages.info - online man pages   

SunOS man pages : mailq (1)

User Commands                                            mailq(1)

NAME

mailq - print the mail queue

SYNOPSIS

/usr/bin/mailq [ -q Xstring ] [ -v ]

DESCRIPTION

mailq displays a summary of the mail messages queued for future delivery. The first line displayed for each mail message shows the internal identifier used on this host for the message, 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 of the display shows the error mes- sage that caused this message to be retained in the queue. This line will not be displayed if the message is being pro- cessed for the first time. The mailq utility is identical to sendmail -bp.

OPTIONS

The following options are supported: -q Xstring Run the queue once, limiting the jobs to those match- ing Xstring. The Xstring argument consists of a key letter (X) followed by string. The key letter X can be an I, R or S. Use I to limit based on queue iden- tifier. Use R to limit based on recipient. Use S to limit based on sender. A particular queued job is accepted if one of the corresponding addresses con- tains the specified string. -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 is expanded from, if any.

EXIT STATUS

0 Successful completion. >0 An error occurred.

ATTRIBUTES

See attributes(5) for descriptions of the following attri- butes: SunOS 5.8 Last change: 6 Jul 1998 1 User Commands mailq(1) ____________________________________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |_____________________________|_____________________________| | Availability | SUNWsndmu | |_____________________________|_____________________________|

SEE ALSO

sendmail(1M), attributes(5) SunOS 5.8 Last change: 6 Jul 1998 2