Hello!

I have tried to configure stunnel 4.X (the newest version) for dbmail
imap and pop, but it's not working...
[specs: whitebox linux, kernel 2.4, postfix, mysql, dbmail, squirrelmail]

In this link http://linuxgazette.net/107/odonovan.html, i found that
(quote) "Stunnel recently went through some major changes and the
current version (4.x) has a completely different architecture than
previous versions". So here is the "new way", according to the article
:

Create a file name stunnel-email.conf with this:

# Sample stunnel configuration file for POP3/IMAP

# Provide the full path to your certificate-key pair file
cert = /usr/local/etc/stunnel/stunnel.pem

# lock the process into a chroot jail
chroot = /usr/local/var/run/stunnel/
# and create the PID file in this jail
pid = /stunnel.pid

# change the UID and GID of the process for security reasons
setuid = nobody
setgid = nobody

# Configure our secured POP3 and IMAP services

[pop3s]
accept  = 995
connect = 110

[imaps]
accept  = 993
connect = 143

And then, execute:
stunnel stunnel-email.conf

However, it doesn't work! I have even try to comment the chroot and
pid lines, but no use... In the log files, I keep seing the passwords
in clear text when the users log in.

Thanks in advance for any help in the subject.

Cheers!

Lorna.

Reply via email to