[Techtalk] sendmail on NetBSD

Brenda Bell k15a-list-linuxchix at theotherbell.com
Sat Aug 9 22:24:20 EST 2003

Quoting "Rudy L. Zijlstra" <rudy at edsons.demon.nl>:

> Not until your dsl connection is back, no. Also, such  command should 
> aready be active. During startup a command like:
> sendmail -bd -q15m
> or for newer releases:
>  sendmail_start() {
>   if [ -x /usr/sbin/sendmail ]; then
>     echo "Starting sendmail MTA daemon:  /usr/sbin/sendmail -L sm-mta 
> -bd -q15m"
>     /usr/sbin/sendmail -L sm-mta -bd -q15m
>     echo "Starting sendmail MSP queue runner:  /usr/sbin/sendmail -L 
> sm-msp-queue -Ac -q15m"
>     /usr/sbin/sendmail -L sm-msp-queue -Ac -q15m
>   fi
> The second incarnation is the sendmail queue daemon., which takes care 
> of handling queued messages. In this case every 15 minutes.
> Without you dsl connection, your DNS does not work, thus sendmail cannot
> deliver. Sendmail is in that aspect totally dependent on DNS.

That part's clear.  The DSL is down for an hour or two in the middle of the
night about once a month.  My Net BSD firewall gets rebooted about once
every six months (if that).

Sounds like I can simply set up a cron job to restart sendmail to
periodically flush the queue.


> Cheers,
> Rudy


More information about the Techtalk mailing list