
272
|
Chapter 3: Linux Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
record file
Use file as the path to record outgoing mail. If not set,
outgoing mail is not saved.
searchheaders
When given the specifier /x:y, expand all messages that
contain the string y in the x header field.
toplines num
Print num lines of message with the top command. Default
value is 5.
verbose
Same as -v on command line.
mailq
mailq [options]
System administration command. List all messages in the sendmail
mail queue. Equivalent to sendmail -bp.
Options
-Ac
Show queue specified in /etc/mail/submit.cf instead of queue
specified in /etc/mail/sendmail.cf.
-q[
!]Isubstring
Show items in mail queue with queue ids containing substring.
In this, and in similar options below, invert the match when
!
is specified.
-qL
Show lost items in mail queue.
-qQ
Show quarantined items in the mail queue.
-q[
!]Qsubstring
Show quarantined messages with quarantine reasons
containing substring.
-q[
!]Rsubstring
Show items in mail queue with recipients containing substring.
-q[
!]Ssubstring
Show items in mail queue with senders containing substring.
-v Verbose mode.
mailstats
mailstats [options]
System administration command. Display a formatted report of the
current sendmail mail statistics.
Options
-c Use configuration in /etc/mail/submit.cf instead of /etc/mail/
sendmail.cf.
-C file
Use sendmail configuration ...