
Hello, 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 foreground=yes [995] 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. Something like... 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. Terry Riegel

On Mon, 2009-06-22 11:49:56 -0400, Terry Riegel wrote:
[..]
Is there a way to set it up so it can dynamically connect to any server.
Something like...
connect = *:995
Where should stunnel know where to connect to then? The usual way to have stunnel connecting to various servers is to set up a section for each server with a distinct port to listen on. The client selects the server by specifying the port then. This is, however a static configuration. I'm not sure what the use case of your dynamic setup is. Ludolf -- --------------------------------------------------------------- Ludolf Holzheid Tel: +49 621 339960 Bihl+Wiedemann GmbH Fax: +49 621 3392239 Floßwörthstraße 41 e-mail: [email protected] D-68199 Mannheim, Germany ---------------------------------------------------------------
participants (2)
-
Ludolf Holzheid
-
Terry Riegel