[Applies to Solaris2.1 and Solaris2.2.]
If you craft your own sendmail.cf file, make sure you put it in
/etc/mail/sendmail.cf (not /etc/sendmail.cf) and use the following
locations for these files:
OA/etc/mail/aliases
OH/etc/mail/sendmail.hf
OS/etc/mail/sendmail.st
The mqueue directory hasn't changed, it's still:
OQ/var/spool/mqueue
The fact that the mail spool directory is /var/mail under Solaris2 doesn't
have any effect on sendmail.cf files. Sendmail itself does not actually
have anything to do with that directory. It's the local delivery program
(/bin/mail) and the mail user agents (mailx, mailtool, etc.) that have
to know where that spool directory is.
To usefully mount /var/mail as /var/spool/mail on Solaris1
systems, reset /var/mail with these permissions:
drwxrwsrwt 3 root mail 2560 May 20 12:20 mail
If you fiddle with mailer flags, note that /usr/bin/mail (aka
/bin/mail) shouldn't have the 'r' flag, and definitely needs the 'f'
and 'S' flags. In other words:
Mlocal, P=/bin/mail, F=flsSDFMmnP, S=10, R=20, A=mail -d $u
Finally, /usr/bin/mail is only really usable by sendmail (for local delivery).
Users should NOT use it (if they do, at a minimum, "To:" and "From:"
headers won't be correct), but should use mailx or /usr/ucb/mail instead.
--- Bob Cunningham bob@soest.hawaii.edu School of Ocean & Earth Science & Technology, University of Hawaii
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:52 CDT