This, among other reasons, is good cause to always make sure you are
running the latest version of sendmail.
??? Th esendmail program assumes that only it and other trusted root programs will
place files into its primary queue directory. Consequently, it trusts everything it
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
11.12 The qf File Internals | 445
finds there that is correctly formatted and has the correct ownership and permissions.
The queue directory must be protected from other users and untrusted
programs.
??? If the queue directory is on a disk mounted separately from / and /usr, be certain
to mount that disk before starting the sendmail daemon. If you reverse these
steps, the sendmail daemon will chdir(2) into the queue before the mount. One
effect of the reversal is that incoming mail will use a directory different from that
used by outgoing mail. Another effect is that incoming queued mail will be invisible.
Yet another effect is that the outgoing queue will never be processed by the
daemon.
??? When using multiple queues, it might be possible to umount a directory while
sendmail is still running, but you should avoid this temptation. Never mount or
umount queue disks while sendmail is running. Stop sendmail first, do your
maintenance, and then restart sendmail.
Pages:
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800