Index Click this button to go to the index for this section.


mailq(1)

NAME

mailq - Displays the contents of the mail queue

SYNOPSIS

mailq [-v]

DESCRIPTION

The mailq command displays a list of messages in the mail queue. The mailq command is the same as the sendmail command with the -bp option; see sendmail for more information.

EXAMPLES

1. The mailq command lists the mail queue as shown in the following example: Mail Queue (1 request) --QID--- -Size- ---Q-Time------- --Sender/Recipient--- AA002508 3 Thu Dec 17 10:01 root 2. The mailq -v command lists the mail queue as shown in the following example: Mail Queue (1 request) --QID--- -Size- -Priority- ---Q-Time---- -Sender/Recipient- AA002508 3 1005 Dec 17 10:01 root (Output might be formatted differently on your system.) The fields have the following meaning: QID Contains the message queue ID of the message. Size Contains the number of bytes in the body of the message (header information not included). Priority Contains the priority of the message. Q-Time Contains the date that the message entered the queue. Sender/Recipient Contains the user ID of the sender (first), and then the user ID of the receiver of the message. In this example, a message also indicates the status of the message.

FILES

/var/spool/mqueue Contains the log file and temporary files associated with the messages in the mail queue.

SEE ALSO

Commands: sendmail(8)