Subject: Re: the 'right' way to start sendmail (from pkgsrc) to process client
To: Bob Bernstein <rs@bernstein.providence.ri.us>
From: Carl Brewer <carl@bl.echidna.id.au>
List: netbsd-users
Date: 09/10/2004 10:01:27
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"

Which I already have, and have set as follows :

sendmail=YES            sendmail_flags="-bd -q15m"

but that doesn't kick off the msp processing.

Does anyone have a more complete set of arguments
that they use as an example?  I'm using sendmail 8.13.1 from
pkgsrc (thanks Adrian!).  I'm not too sure if sendmail will
work with multiple daemons starting from rc.conf like this?

At the moment I have two daemons running, one started from
rc.conf :

root    3443  0.0  0.5  1092  1432 ??  Ss   Thu09AM  0:05.53 sendmail: 
accepting connections

and one from my manual kickoff of the msp processor :

smmsp  17230  0.0  0.5   956  1268 ??  Ss    9:46AM  0:00.00 sendmail: 
Queue control

Attempts to start the MSP queue processor from the same rc.conf
line failed, I tried the following two options :

#sendmail=YES           sendmail_flags="-bd -q15m -qp5m"
#sendmail=YES           sendmail_flags="-bd -q15m -Ac"

Neither of which started the MSP processor (oddly enough!)