MQ

Section: Misc. Reference Manual Pages (8L)
Updated: local
Index Return to Main Contents
 

NAME

mq - print the contents of the mail queue  

SYNTAX

mq [-w] [-n] [-v] [-f [name]] [-t [name]] [-d name]  

DESCRIPTION

By default, mq lists the contents of the mail queue in the same format as sendmail when invoked as mailq except that items in the queue without a control file are not displayed by mq. That is, it displays an error message (if any), the queue identification code, file size, queue time, sender, and recipient(s) for each entry in the queue so that the result can fit into 80 columns of standard output.  

Options

-f
from. If name is specified, mq lists only messages with name in the `sender' field. Otherwise, mq will list only messages with the user's login name (as given by the environment variable LOGNAME on System V and by USER on BSD systems) in the `sender' field.
-t
to. If name is specified, mq lists only messages with name in the `recipient' field. Otherwise, mq will list only messages with $USER/$LOGNAME in the `recipient' field.
-d name
don't. List all messages that do not contain the string name in the `recipient' field.
-h
help. Print the mq syntax.
-w
wide. Mq will not truncate `sender' and `recipient' fields on output.
-n
number. List only a count of the selected files in the mail queue.
-v
verbose. Display the contents of the mail queue listing the sender, recipient(s) and queue time in noncolumnar format.
 

FILES

/usr/lib/sendmail.cf  

SEE ALSO

sendmail(8)  

AUTHOR

Kevin Sweet


 

Index

NAME
SYNTAX
DESCRIPTION
Options
FILES
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 06:20:50 GMT, December 12, 2024