11.5 Bogus qf Files
For security reasons, V8 sendmail performs a number of checks on each qf file before
trusting its contents. If any qf file fails to be trustworthy, sendmail converts the leading
q in its name to an uppercase Q.* We discuss eachpossible problem in the sections
that follow.
Note that when sendmail renames a qf file into a Qf file, it logs that it did so. In the
following, qffile is the full path and filename of the qf file, before it was renamed:
Losing qffile: reason here
* This letter might change from a Q to a different letter in the future.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
420 | Chapter 11: Manage the Queue
Also note that although sendmail checks the qf file for a number of plausible errors,
its checking is by no means exhaustive. The checks we describe here are no substitute
for a well-managed system.
11.5.1 Badly Formed qf Filename
V8.6 sendmail always checks the form of the qf file name for correctness. V8.7
through V8.9 sendmail also check the qf filename, but do so only if PICKY_QF_
NAME_CHECK is defined when building sendmail (?§3.4.42 on page 133). V8.10
and later no longer check the form of the qf filename for correctness.
Prior to V8.10, if the qf filename is incorrectly formed (?§11.2.1 on page 396), sendmail
presumes that some other program placed the file in the queue and rejects it:
orderq: bogus qf name bogus name here
For V8.
Pages:
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755