Subject: Re: the 'right' way to start sendmail (from pkgsrc) to
To: netbsd-users <netbsd-users@NetBSD.org>
From: Bob Bernstein <rs@bernstein.providence.ri.us>
List: netbsd-users
Date: 09/10/2004 00:32:48
On Fri, 2004-09-10 at 00:01, Carl Brewer wrote:
> Bob Bernstein wrote:
> 
> > On Thu, 2004-09-09 at 23:14, Carl Brewer wrote:
> > 
> > 
> >>But that seems way too clunky, is there a way to start the
> >>MSP queue processing from rc.conf?
> > 
> > 
> > See /etc/defaults/rc.conf for the lines pertaining to sendmail.
> 
> 
> My 1.6.2 install just has this :
> 
> sendmail=NO             sendmail_flags="-bd -q30m"

Here are the sendmail-related lines from the /etc/default/rc.conf from
an oldish 'current' that featured sendmail version 8.12.11:

-=snip=-
# sendmail can now be run either as a suid root binary or as a sgid
# smmsp binary.  In the former case, you must not have the file
# /etc/mail/submit.cf, otherwise sendmail will behave as if it was
# sgid.  This can result in mail not being delivered.
#
# For those people who wish only to send mail (locally or remotely),
# but not receive mail (via the network) in the sgid case, you must
# also run the sendmail daemon with one of the following two options:
#
#       -ODaemonPortOptions=Family=inet,Addr=127.0.0.1,Name=MTA
#       -ODaemonPortOptions=Family=inet6,Addr=::1,Name=MTA6
#
# The smmsp process is a sendmail helper that periodically flushes the
# "client" queue in the sgid case.  If you are using sendmail as a
# suid root program, then smmsp is not needed.
#
sendmail=NO             sendmail_flags="-Lsm-mta -bd -q30m"
sendmail_suidroot=NO
smmsp=NO                smmsp_flags="-Lsm-msp-queue -Ac -q30m"
-=snip=-


-- 
Bob Bernstein