]>
Commit | Line | Data |
---|---|---|
d5253945 AG |
1 | diff -burN stunnel-4.06.orig/tools/stunnel.conf-sample.in stunnel-4.06/tools/stunnel.conf-sample.in |
2 | --- stunnel-4.06.orig/tools/stunnel.conf-sample.in 2004-12-26 18:33:15.119066912 +0100 | |
3 | +++ stunnel-4.06/tools/stunnel.conf-sample.in 2004-12-26 19:14:48.552007488 +0100 | |
4 | @@ -3,15 +3,15 @@ | |
5 | ; Please make sure you understand them (especially the effect of chroot jail) | |
a4ee43ea | 6 | |
d5253945 | 7 | ; Certificate/key is needed in server mode and optional in client mode |
a4ee43ea | 8 | -cert = @prefix@/etc/stunnel/mail.pem |
d5253945 AG |
9 | -;key = @prefix@/etc/stunnel/mail.pem |
10 | +;cert = /etc/stunnel/mail.pem | |
11 | +;key = /etc/stunnel/mail.pem | |
12 | ||
13 | ; Some security enhancements for UNIX systems - comment them out on Win32 | |
14 | -chroot = @prefix@/var/stunnel/ | |
a4ee43ea | 15 | -setuid = nobody |
16 | -setgid = nogroup | |
d5253945 | 17 | +;chroot = @prefix@/var/stunnel/ |
a4ee43ea | 18 | +setuid = stunnel |
19 | +setgid = stunnel | |
d5253945 AG |
20 | ; PID is created inside chroot jail |
21 | -pid = /stunnel.pid | |
22 | +pid = /var/run/stunnel/stunnel.pid | |
a4ee43ea | 23 | |
d5253945 AG |
24 | ; Some performance tunings |
25 | socket = l:TCP_NODELAY=1 | |
26 | @@ -41,17 +41,17 @@ | |
a4ee43ea | 27 | |
d5253945 | 28 | ; Service-level configuration |
a4ee43ea | 29 | |
30 | -[pop3s] | |
31 | -accept = 995 | |
32 | -connect = 110 | |
33 | - | |
34 | -[imaps] | |
35 | -accept = 993 | |
36 | -connect = 143 | |
37 | - | |
38 | -[ssmtp] | |
39 | -accept = 465 | |
40 | -connect = 25 | |
d5253945 AG |
41 | +;[pop3s] |
42 | +;accept = 995 | |
43 | +;connect = 110 | |
a4ee43ea | 44 | + |
d5253945 AG |
45 | +;[imaps] |
46 | +;accept = 993 | |
47 | +;connect = 143 | |
a4ee43ea | 48 | + |
d5253945 AG |
49 | +;[ssmtp] |
50 | +;accept = 465 | |
51 | +;connect = 25 | |
a4ee43ea | 52 | |
d5253945 AG |
53 | ;[https] |
54 | ;accept = 443 |