Compile and Install sendmail
Before replacing your current
with a new version,
be sure that the queue is empty. The new version may not be able
to properly process old (or different)
style queued files.
After running the new
for the first time, look
in the queue directory for filenames that start with an
Section 23.3, "A Bogus qf File (V8 only): Qf"
for a description
of why these files appear and what to do about them.
If you change the location of the queue to a different disk,
be sure that disk is mounted (in
daemon is started. If
first, there is a risk that messages will be queued in the
mount point before the disk is mounted. This will result in
mysteriously vanishing mail.
Always save the old
and configuration file.
The new version may work fine for a while, then suddenly fail.
If the failure is difficult to diagnose, you may need to
run the old version while you fix the new version.
But beware that the old version may not be able to read the queue
files created by the new version.
Some operating systems allow disks to be mounted such that
permissions are disallowed. If you relocate
, avoid locating it on such a disk.
Don't be mistaken in the belief that
will correctly give
you MX for hosts. If, after compiling and installing
, you find that you cannot send mail to hosts using MX
records, you should recompile with NAMED_BIND defined (see
Section 18.8.23, NAMED-BIND
). Also note that a misconfigured
service-switch file can also prevent proper MX lookups
Section 34.8.61, ServiceSwitchFile