FILE LOCATIONS
sendmail 8.9 has introduced a new configuration directory for sendmail
related files, /etc/mail. The new files available for sendmail 8.9 --
the class {R} /etc/mail/relay-domains and the access database
/etc/mail/access -- take advantage of this new directory. Beginning with
8.10, all files will use this directory by default (some options may be
set by OSTYPE() files). This new directory should help to restore
uniformity to sendmail's file locations.
Below is a table of some of the common changes:
| Old filename | New filename |
| /etc/bitdomain | /etc/mail/bitdomain |
| /etc/domaintable | /etc/mail/domaintable |
| /etc/genericstable | /etc/mail/genericstable |
| /etc/uudomain | /etc/mail/uudomain |
| /etc/virtusertable | /etc/mail/virtusertable |
| /etc/userdb | /etc/mail/userdb |
| /etc/aliases | /etc/mail/aliases |
| /etc/sendmail/aliases | /etc/mail/aliases |
| /etc/ucbmail/aliases | /etc/mail/aliases |
| /usr/adm/sendmail/aliases | /etc/mail/aliases |
| /usr/lib/aliases | /etc/mail/aliases |
| /usr/lib/mail/aliases | /etc/mail/aliases |
| /usr/ucblib/aliases | /etc/mail/aliases |
| /etc/sendmail.cw | /etc/mail/local-host-names |
| /etc/mail/sendmail.cw | /etc/mail/local-host-names |
| /etc/sendmail/sendmail.cw | /etc/mail/local-host-names |
| /etc/sendmail.ct | /etc/mail/trusted-users |
| /etc/sendmail.oE | /etc/mail/error-header |
| /etc/sendmail.hf | /etc/mail/helpfile |
| /etc/mail/sendmail.hf | /etc/mail/helpfile |
| /usr/ucblib/sendmail.hf | /etc/mail/helpfile |
| /etc/ucbmail/sendmail.hf | /etc/mail/helpfile |
| /usr/lib/sendmail.hf | /etc/mail/helpfile |
| /usr/share/lib/sendmail.hf | /etc/mail/helpfile |
| /usr/share/misc/sendmail.hf | /etc/mail/helpfile |
| /share/misc/sendmail.hf | /etc/mail/helpfile |
| /etc/service.switch | /etc/mail/service.switch |
| /etc/sendmail.st | /etc/mail/statistics |
| /etc/mail/sendmail.st | /etc/mail/statistics |
| /etc/mailer/sendmail.st | /etc/mail/statistics |
| /etc/sendmail/sendmail.st | /etc/mail/statistics |
| /usr/lib/sendmail.st | /etc/mail/statistics |
| /usr/ucblib/sendmail.st | /etc/mail/statistics |
Note that all of these paths actually use a new m4 macro MAIL_SETTINGS_DIR
to create the pathnames. The default value of this variable is
`/etc/mail/'. If you set this macro to a different value, you must include
a trailing slash.
Notice: all filenames used in a .mc (or .cf) file should be absolute
(starting at the root, i.e., with '/'). Relative filenames most
likely cause surprises during operations (unless otherwise noted).
|