[stunnel-users] Dynamic hosts
riegel at clearimageonline.com
Mon Jun 22 17:49:56 CEST 2009
I have just set up stunnel to allow unsecured client pop3 connections
to my secured pop3 server
chroot = /stunnel/
pid = /stunnel.pid
setuid = www
setgid = www
client = yes
accept = localhost:10110
connect = mail.clearimageonline.com:995
And it works as expected.
Is there a way to set it up so it can dynamically connect to any server.
connect = *:995
I was able to start a new instance of stunnel with a separate config
file but this seems inefficient as it starts up 6 processes each time.
What I would like to do is dynamically add/subtract servers that it
can connect to.
My goal here is to build a webmail client that can use stunnel to do
the secure connections to either POP or IMAP servers. My client
software uses unsecured sockets.
Any help would be greatly appreciated.
More information about the stunnel-users