Re: Sol2.1 sendmail.cf Question [summary of sendmail "gotchas"]

From: Per Hedeland (per@erix.ericsson.se)
Date: Thu May 20 1993 - 19:29:13 CDT


In article <C7CKDC.GEz@news.Hawaii.Edu> bob@soest.hawaii.edu (Bob Cunningham) writes:
>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.

Yes, this is the way it's supposed to be - but do a
'strings - /usr/lib/sendmail | grep /var' on both SunOS 4.x and 5.x, and
be surprised... The reason for this is of course the ugly 'OR' hack.
Still, it is correct that it doesn't have any effect on sendmail.cf, but
under the circumstances I don't think this is a feature...

(I.e. if one really thinks it is appropriate for sendmail to go and peek
in the directory commonly used for local delivery, the name of that
directory should of course be in sendmail.cf, not hardwired in the binary
- as should the rules to cause forwarding to the host the directory is
NFS-mounted from, if it is.)

--Per Hedeland
per@erix.ericsson.se or
per%erix.ericsson.se@sunic.sunet.se or
...uunet!erix.ericsson.se!per



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:52 CDT