summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorTimotheus Pokorra <tp@tbits.net>2015-05-08 16:11:11 +0200
committerTimotheus Pokorra <tp@tbits.net>2015-05-08 16:11:11 +0200
commita520f2f7cda37d4377163acd2bfdf341f367799e (patch)
tree5387a2c0d33a379d288a4b9d040202c15fc7dcc1 /share
parent120eb033c1bdfb957c2ebdc515ecb18733e551b6 (diff)
downloadpykolab-a520f2f7cda37d4377163acd2bfdf341f367799e.tar.gz
also add roundcubemail config value smtp_conn_options
Diffstat (limited to 'share')
-rw-r--r--share/templates/roundcubemail/config.inc.php.tpl13
1 files changed, 9 insertions, 4 deletions
diff --git a/share/templates/roundcubemail/config.inc.php.tpl b/share/templates/roundcubemail/config.inc.php.tpl
index 067a3ec..72ac791 100644
--- a/share/templates/roundcubemail/config.inc.php.tpl
+++ b/share/templates/roundcubemail/config.inc.php.tpl
@@ -214,12 +214,17 @@
'ssl_verify_peer' => false,
);
- # required for php 5.6, see https://bbs.archlinux.org/viewtopic.php?id=193012
+ # required for php 5.6, see https://bbs.archlinux.org/viewtopic.php?id=193012 and http://php.net/manual/de/context.ssl.php
+ # production environment requires real security settings!!!
\$config['imap_conn_options']=array(
'ssl'=>array(
+ 'verify_peer_name'=>false,
'verify_peer'=>false,
- 'allow_self_signed'=>true,
- 'peer_name'=>'localhost.localdomain',
- 'ciphers'=>'TLSv1+HIGH:!aNull:@STRENGTH'));
+ 'allow_self_signed'=>true));
+ \$config['smtp_conn_options']=array(
+ 'ssl'=>array(
+ 'verify_peer_name'=>false,
+ 'verify_peer'=>false,
+ 'allow_self_signed'=>true));
?>