Subject: Re: NetBSD master CVS tree commits
To: None <perry@piermont.com>
From: Michael Graff <explorer@flame.org>
List: source-changes
Date: 01/14/1998 15:24:59
"Perry E. Metzger" <perry@piermont.com> writes:

> > Wait...  Was the change to use /bin/mail, or /usr/sbin/sendmail?  If the
> > former, I think that is ok.  If the latter, I disagree.  I do not want
> > to constantly replace /usr/sbin/sendmail with the qmail binary.  I strongly
> > believe in seperation of who owns what, and /usr/sbin is owned by the
> > NetBSD installation.
> 
> /usr/bin/mail, which gets called by your cron scripts, calls sendmail.
> 
> You need the qmail /usr/sbin/sendmail to make things work anyway.

Put this in your /etc/mail.rc file:

set sendmail=/var/qmail/bin/sendmail

and it doesn't anymore.

Wouldn't this all be simplier if there was a library function to send
mail, which would either be configured to run qmail or sendmail via
loadable objects or config files, which the admin could control?  :)

--Michael