Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD master CVS tree commits



"Perry E. Metzger" <perry%piermont.com@localhost> 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



Home | Main Index | Thread Index | Old Index