diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2015-06-01 18:42:43 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-06-07 02:54:09 +0200 |
commit | 2b308feeeaf36017e4255c2685b7a5609b290957 (patch) | |
tree | 1a9b44eb79470be534d61ec281588f5fcd0c0fa0 /roles/IMAP-proxy/files/etc/stunnel/stunnel.conf | |
parent | 21e03ec3a899d98f0fbebbdf928f10d1cdeee8e4 (diff) |
stunnel.conf → imap.conf
Diffstat (limited to 'roles/IMAP-proxy/files/etc/stunnel/stunnel.conf')
-rw-r--r-- | roles/IMAP-proxy/files/etc/stunnel/stunnel.conf | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/roles/IMAP-proxy/files/etc/stunnel/stunnel.conf b/roles/IMAP-proxy/files/etc/stunnel/stunnel.conf deleted file mode 100644 index f1c2a16..0000000 --- a/roles/IMAP-proxy/files/etc/stunnel/stunnel.conf +++ /dev/null @@ -1,68 +0,0 @@ -; Sample stunnel configuration file for Unix by Michal Trojnara 2002-2012 -; Some options used here may be inadequate for your particular configuration -; This sample file does *not* represent stunnel.conf defaults -; Please consult the manual for detailed description of available options - -; ************************************************************************** -; * Global options * -; ************************************************************************** - -; A copy of some devices and system files is needed within the chroot jail -; Chroot conflicts with configuration file reload and many other features -; Remember also to update the logrotate configuration. -;chroot = /var/lib/stunnel4/ -; Chroot jail can be escaped if setuid option is not used -setuid = stunnel4 -setgid = stunnel4 - -; PID is created inside the chroot jail -pid = /var/run/stunnel4/stunnel4.pid - -; Debugging stuff (may useful for troubleshooting) -debug = 4 -;output = /var/log/stunnel4/stunnel.log - -; ************************************************************************** -; * Service defaults may also be specified in individual service sections * -; ************************************************************************** - -; Certificate/key is needed in server mode and optional in client mode -;cert = /etc/stunnel/mail.pem -;key = /etc/stunnel/mail.pem -client = yes -socket = a:SO_BINDTODEVICE=lo - -; Some performance tunings -socket = l:TCP_NODELAY=1 -socket = r:TCP_NODELAY=1 - -; Authentication stuff needs to be configured to prevent MITM attacks -verify = 4 - -; Disable support for insecure protocols -options = NO_SSLv2 -options = NO_SSLv3 -options = NO_TLSv1 -options = NO_TLSv1.1 - -; These options provide additional security at some performance degradation -options = SINGLE_ECDH_USE -options = SINGLE_DH_USE - -ciphers = EECDH+AES:EDH+AES:!MEDIUM:!LOW:!EXP:!aNULL:!eNULL:!SSLv2:!SSLv3:!TLSv1:!TLSv1.1 - -; ************************************************************************** -; * Service definitions (remove all services for inetd mode) * -; ************************************************************************** - -[imaps] -accept = localhost:143 -connect = imap.fripost.org:993 -CAfile = /etc/stunnel/certs/imap.fripost.org.pem - -[ldaps] -accept = localhost:389 -connect = ldap.fripost.org:636 -CAfile = /etc/stunnel/certs/ldap.fripost.org.pem - -; vim:ft=dosini |