Hi,

I have been trying to use stunnel with qmail-smtp but I don't get it to work, maybe 
someone have some suggestions how to do or where to find information about using 
stunnel with smtpd.. 

I have been trying this in some desperate moments to get it to work(and some other 
things) :=) :

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 2000000 \
    /usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
     -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /usr/local/sbin/stunnel -p 
/etc/pem/smtp.pem -l /var/qmail/bin/qmail-smtpd 2>&1

But this is not working for sure.

Reply via email to