Prev | Current Page 747 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

One use for this new switch is to examine the mail queue to
see if any lost files exist:
% mailq -qL
/var/spool/mqueue (1 request)
-----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient-----------
h7AJG4kr009003? 235 Sun Aug 10 13:16

Total requests: 1
Here, the -qL command-line switchwas used withth e mailq command to see if any
lost files were present. This output shows that a lost file (called Qfh7AJG4kr009003) is
located in the /var/spool/mqueue directory. The ??????? character following the file??™s
name indicates that it is a lost envelope.
This -qL switch can be combined with other queue-handling switches to further limit
what can be shown.
11.6 Printing the Queue
When sendmail is run under the name mailq, or when it is given the -bp commandline
switch, it prints the contents of the queue and exits.
Before printing the queue??™s contents, sendmail prereads all the qf files in the queue
and sorts the mail messages internally. This is done so that the queue??™s contents are
displayed in the same order in which the messages will be processed during a queue
run.
If there are no messages in the queue (no qf files), sendmail prints the following message
and exits or, if there are multiple queues, goes on to the next queue:
/path is empty
Here, /path is the full pathname of the queue directory.


Pages:
735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759
pustaki szklane House Extension Kąty Rybackie noclegi kasyno Kołobrzeg