If the queue is not empty, sendmail prints the number of messages (number of qf
files) in the queue:
/path (num requests)
The num is the number of queued messages (requests) in the queue directory. If this is
more than the maximum number of messages that can be processed at one time
(defined by the MaxQueueRunSize option [?§24.9.72 on page 1050]),* sendmail prints:
/path (num requests, only ## printed)
* Prior to V8.7, this was determined by defining QUEUESIZE in conf.h.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
11.6 Printing the Queue | 423
The ## is the value of the MaxQueueRunSize option.
Note that it can take several minutes to presort and print extremely full queues
(queues with more than 10,000 messages in them). To see how many messages are
queued, and to avoid the delay of a presort, you can add a small MaxQueueRunSize to
your invocation of mailq:
% mailq -OMaxQueueRunSize=1
This will cause sendmail to swiftly print the number of queued messages, regardless
of how many are queued.
After sendmail prints the number of messages in the queue, it prints an attractive
heading such as the following:
----Q-ID---- --Size-- -----Q-Time----- ------------Sender/Recipient------------
dB928Xl04182 354 Fri Mar 15 08:32 your@your.domain
george@wash.
Pages:
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760