Subject: Re: PR bin/2932
To: None <current-users@NetBSD.ORG>
From: Patrick Welche <prlw1@cam.ac.uk>
List: current-users
Date: 09/26/1997 17:10:41
Phil Nelson wrote:
> 
> 
> >Perhaps we need a local configuration file for things of this nature.
> >I'm thinking that there must be other things that people like to
> >replace with other versions.  Something like:
> >
> >sendmail no
> 
> I believe that this is already in place in /etc/rc.conf.
> 
> Excerpt from a -current /etc/conf
> 
> ># `NO' disables a toggle or a program with flags.
> ># `YES' enables a toggle.
> ># `DEFAULT' enables a program with the default flags (as listed).
> ># Any other string is used as a set of flags.
> >...
> >sendmail_flags=NO               # default: "-bd -q30m"

I think the original point was that you build the smail executable, or
other mailer, and call it /usr/sbin/sendmail (either copy or
link). Later you make build, and your mailer gets replaced by the real
/usr/sbin/sendmail.

sendmail_flags=NO means don't run sendmail as a daemon on startup.

(I don't however see a decent solution other than keeping it in mind
as afterall sendmail was changed to something else by someone who
knows about it. Or maybe alias sendmail -> smail after installation of
smail and leave the contents of /usr/sbin alone.)

Hmm,

 Patrick