In the following, we show an /etc/fstab file for a SunOS machine that uses
the direct-mount approach:
/dev/sd0g /var/spool/mqueue/df 4.2 rw 1 4
/dev/sd2g /var/spool/mqueue/qf 4.2 rw 1 2
swap /var/spool/mqueue/xf tmp rw 0 0
Shortly. we will describe how to use a different type of disk for each part, and how
performance is impacted by such choices.
An artifact of using qf, df, and xf subdirectories is seen when printing the queue.
The df directory is always the one listed:
/var/spool/mqueue/df is empty
11.3.3 Handle Deep Queues
To understand the potential problems associated with deep queues, first consider
how sendmail processes a single queue when its QueueSortOrder option (?§24.9.92 on
page 1073) is set to the default of priority.* When sendmail is instructed to process a
queue it opens the queue directory for reading and reads that directory to gather a
list of qf files to process. Each qf file sendmail finds is opened for reading and
scanned for important pieces of information. The N line in each qf file, for example,
holds the number of times the message has been tried. The P line holds each message??™s
current priority.
After all messages have been opened, read, and closed, and after the information
from eachh as been saved internally, sendmail sorts that information. The purpose of
the sort is to ensure that new mail is tried before old, and that high-priority mail is
tried before low-priority mail.
Pages:
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728