"Per-fredrik Pollnow (EPK)" <[EMAIL PROTECTED]>
wrote:

>But how to you do when you are using stunnel + smtpd ?
>
>This is some of the tings I have tried:
>--------------------------
>#!/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 -N smtp -l/var/qmail/bin/qmail-smtpd 2>&1 -- qmail-smtpd

Add the "-f" stunnel option and remove the "-- qmail-smtpd".

>AND
>--------------------------
>#!/bin/sh
>exec /usr/local/sbin/stunnel -p /etc/pem/smtp.pem -d 465 -r 25 2>&1
>
>--------------------------

Add the "-f" stunnel option.

Describe your testing procedure (which client are you using?) and
provide a copy of any error messages you're getting.

-Dave

Reply via email to