The idea is to prepare the directories for use as multiple queue directories first, and
after that, to modify the configuration file so that sendmail can use those queue
directories:
define(`QUEUE_DIR??,`/var/queues/q.*??)
Here, the QUEUE_DIR mc configuration macro is given the value /var/queues/q.*,
which will become the value for the QueueDirectory option. The trailing * character
is a literal asterisk (not a wildcard character) and must appear as a suffix, in the last
position of the path specification. It tells sendmail to use all the queue directories
that begin with the path /var/queues/q. and end with any other characters. In our
example, sendmail will match /var/queues/q.1, /var/queues/q.2, and /var/queues/q.3.
It is not strictly necessary to mount a disk on eachqueue directory. If the directory
name is a symbolic link to another directory, sendmail will use that other directory as
a queue directory. The only requirement is that the other directory has as restrictive
set of permissions as the original queue has.
11.3.1.1 Printing multiple queue directories
After you have configured for multiple queue directories, you will find there is a
small difference in the way various versions of sendmail print the queue contents.
Prior to V8.10 sendmail, the heading for a queue listing printed like this:
Mail queue is empty ?†? when nothing is queued (pre-V8.
Pages:
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724