Alex Pennace wrote:
> 
> 
> This is a problem. qmail-smtpd should wait on child qmail-queues, or
> those zombie qmail-queues should be cleaned up by init if qmail-smtpd
> exits. What operating system are you running? How are you running
> tcpserver/qmail-smtpd?

Ok, this is the gore detail:

I'm running Sun Solaris 2.5, Sun hardware, and I'm running tcpserver
with this (taken from the sysVinit style, I make it short):

-- snip ---
<cut>

QMAILHOME=/var/qmail                 # ~qmail
USERID=`/usr/xpg4/bin/id -u qmaild`  # UID to run with
GROUPID=`/usr/xpg4/bin/id -g qmaild` # GID to run with
PROG=qmail-smtpd                     # what program?
COMMAND=/var/qmail/bin/qmail-smtpd   # command to start $PROG
DIR=/var/lock/$PROG                  # directory for supervise
LOGDIR=/var/log/$PROG                # directory to log to
LOGUSER=qmaill                       # user to own logs
LOGSIZE="-s 5000000"                 # size of logfile
CDB=/etc/tcp.smtp.cdb                # rules file
CONCURRENT=255                       # number of concurrent connections
                                     # (40 is the default of tcpserver)
PORT=smtp                            # port to watch
VERBOSE=-v                           # use verbose option to tcpserver
INITDIR=/etc/init.d                  # location of initscripts
 
RBL1="/usr/local/bin/rblsmtpd -t 60 -r rbl.maps.vix.com"

<cut>

supervise $DIR \
tcpserver $VERBOSE -c$CONCURRENT -x $CDB -u$USERID -g$GROUPID 0 $PORT
$RBL1 $COMMAND \
2>&1| setuser $LOGUSER accustamp \
| setuser $LOGUSER  cyclog $LOGSIZE $LOGDIR &

<cut>
-- snap ---


TIA,

=pampie

Reply via email to