Author: Jaz
Date: 20-03-03 21:16
This can be accomplished by using this supervise script (See Life with Qmail http://www.lifewithqmail.org/ for supervise):
LOCAL=`head -1 /var/qmail/control/me`
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 11000000 \
/usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtps \
/usr/sbin/stunnel -T ssmtp -p /path/to/stunnel.pem -l \
/var/qmail/bin/qmail-smtpd 2>&1
Adjusted to your path, of course...
|
|