Probably a misunderstood.
> > Try something like:
> >
> > [snip] /usr/local/sbin/stunnel -p /etc/stunnel.pem -N spop3 -f -l
> > /var/qmail/bin/qmail-popup -- qmail-popup [snip]
>
> No. Running stunnel not as daemon but under tcpserver is a good idea.
> Maex posted a good example script a few days ago.
The first [snip] was the tcpserver command, the second one was the
qmail-command.
I just said that stunnel was bad invoked, infact I add the -N (servicename)
and the -f switch.
This is my run script under tcpserver, uptime 83days with no problems.
exec /usr/bin/env - PATH="/var/qmail/bin:$PATH" \
/usr/local/bin/tcpserver -v -c 50 -H -P -R -l hostname ip port \
/usr/local/stunnel/sbin/stunnel -p /var/qmail/control/spop3.pem \
-N spop3 -f -l /var/qmail/bin/qmail-popup /var/qmail/bin/qmail-popup \
hostname /usr/local/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir
2>&1
Just to be clear :)
---
Cordiali saluti / Best regards
Andrea Cerrito
^^^^^^^^^^^^^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 0744 5441330
Fax. +39 0744 5441372