diff -burN stunnel-4.06.orig/tools/stunnel.conf-sample.in stunnel-4.06/tools/stunnel.conf-sample.in --- stunnel-4.06.orig/tools/stunnel.conf-sample.in 2004-12-26 18:33:15.119066912 +0100 +++ stunnel-4.06/tools/stunnel.conf-sample.in 2004-12-26 19:14:48.552007488 +0100 @@ -3,15 +3,15 @@ ; Please make sure you understand them (especially the effect of chroot jail) ; Certificate/key is needed in server mode and optional in client mode -cert = @prefix@/etc/stunnel/mail.pem -;key = @prefix@/etc/stunnel/mail.pem +;cert = /etc/stunnel/mail.pem +;key = /etc/stunnel/mail.pem ; Some security enhancements for UNIX systems - comment them out on Win32 -chroot = @prefix@/var/stunnel/ -setuid = nobody -setgid = nogroup +;chroot = @prefix@/var/stunnel/ +setuid = stunnel +setgid = stunnel ; PID is created inside chroot jail -pid = /stunnel.pid +pid = /var/run/stunnel/stunnel.pid ; Some performance tunings socket = l:TCP_NODELAY=1 @@ -41,17 +41,17 @@ ; Service-level configuration -[pop3s] -accept = 995 -connect = 110 - -[imaps] -accept = 993 -connect = 143 - -[ssmtp] -accept = 465 -connect = 25 +;[pop3s] +;accept = 995 +;connect = 110 + +;[imaps] +;accept = 993 +;connect = 143 + +;[ssmtp] +;accept = 465 +;connect = 25 ;[https] ;accept = 443