Bill Rogers <[EMAIL PROTECTED]> wrote:
>Using the straight script out of LWQ a: script stop
>will kill smtpd and pop3 supervise, but not the underlying
>tcpserver and then restarting doesn't work becasue the port
>is bound.
>
>Here's the run files:
>#!/bin/sh
>QMAILDUID=`id -u qmaild`
>NOFILESGID=`id -g qmaild`
>exec /usr/local/bin/softlimit -m 2000000 \
> /usr/local/bin/tcpserver -v -p -x /etc/tcprules.d/qmail-smtpd.cdb \
> -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 \
> |/usr/local/bin/tai64n |/usr/local/bin/tai64nlocal
>and
>#!/bin/sh
>exec env PATH="/var/qmail/bin:$PATH" \
> /usr/local/bin/softlimit -m 2000000 \
> /usr/local/bin/tcpserver -v -R 0 pop-3 qmail-popup famvid.com \
> checkpassword qmail-pop3d Maildir 2>&1 \
> |/usr/local/bin/tai64n |/usr/local/bin/tai64nlocal
These run scripts aren't "straight out of LWQ". The pipes are the
problem.
-Dave