This document is intended as a guide for users and
administrators who are concerned about the sendmail-related issues they may
encounter when migrating from older releases of Solaris to Solaris 9.
There are two other sets of features which are no longer supported in Solaris 9's version of sendmail: remote mode, and the Sun reverse alias features.
/var/mail was remotely mounted via NFS.
This was non-standard, however: there is no logical relationship between
where /var/mail is mounted from and either where mail should be routed to
or how mail should be addressed. This feature is no longer supported as
of Solaris 9. For routing, the
SMART_HOST
feature, documented on our Masquerading
and Relaying page, which is already enabled in the Solaris subsidiary
configuration file, takes care of this by default.
Regarding addressing: remote mode, when in use, set the sender's address to that of the remote mail server. With the removal of remote mode, the default subsidiary configuration file will, as of Solaris 9, use the client host's name just like the main configuration file does. Users who would prefer to use a different host name may wish to study our Masquerading and Relaying page. Here is a primer on how to change the default configuration to use masquerading:
cd /usr/lib/mail/cf
cp subsidiary.mc myhost.mc
MASQUERADE_AS(`foo')after the
DOMAIN line but before the MAILER lines,
where foo is the host name you would like outbound mail messages
to have. Note that $m is the macro for the local domain name,
which is a common masquerade value. (Note: see our
Sun migration page for some
gotchas with fully-qualified host names and the domain portion thereof.)
/usr/ccs/bin/make myhost.cf
cp myhost.cf /etc/mail/sendmail.cf
/etc/init.d/sendmail restart
FEATURE(`sun_reverse_alias_files') FEATURE(`sun_reverse_alias_nis') FEATURE(`sun_reverse_alias_nisplus')These features were proprietary, and are no longer supported as of Solaris 9. The preferred method for reverse-aliasing is the genericstable feature, documented in our Configuration Features page and in our Virtual Hosting page.