On Wed, 2004-09-29 at 20:04, Jason 'XenoPhage' Frisvold wrote:
> Hi all,
> 
>     I just determined that pop3ds is not working at all here...  
> Apparently the script calls several parameters for stunnel that are no 
> longer available in stunnel?  I have the stock pop3ds run file from the 
> toaster which assumes stunnel 3.x ...  I'm running stunnel 4.x ...
> 
> Anyone know how to set this up for stunnel 4.x ??
> 

I think stunnel changed from using arguments on command line to a
configuration file.
This is my qmail-pop3ds supervise run script:

#!/bin/sh

VPOPMAILUID=`id -u vpopmail`
VPOPMAILGID=`id -g vpopmail`

exec envdir /etc/relay-ctrl \
        /usr/bin/relay-ctrl-chdir \
        /usr/local/bin/tcpserver -l 0 -R -H -v             \
        -u"$VPOPMAILUID" -g"$VPOPMAILGID" 0 995                        \
        /usr/sbin/stunnel /etc/stunnel/qmail.conf 2>&1

And this is the /etc/stunnel/qmail.conf file:

cat /etc/stunnel/qmail.conf

# Sample qmail-pop3d with relay-ctrl config file
# Paul Foremski ( pavcio(at)users.sf.net )
#cert = /usr/local/etc/stunnel/stunnel.pem
cert = /etc/stunnel/pop3d.pem
debug = 7
#output = /var/log/stunnel.log
#####
client = no
foreground = yes
exec = /var/qmail/bin/qmail-popup
execargs = qmail-popup alien77.com /Appz2/VPopMail/bin/vchkpw
/usr/bin/relay-ctrl-allow /var/qmail/bin/qmail-pop3d Maildir

Hope that helps.

Reply via email to