On Tue, 2009-06-23 08:13:08 -0400, Terry Riegel wrote:
Take a look at mail2web.com
You type in your server, it dynamically connects secure or otherwise.
Ah, o.k. you want to use stunnel from inside a CGI. You could have the CGI dynamically write the stunnel configuration file then.
Maybe you should specify 'foreground = yes' in order to avoid detaching to the background and to get stunnel's log messages written to the web server log. This depends on the CGI, of course.
Ludolf