From 8ed45e959c5bac6d53200197557d4810d84232d9 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Fri, 6 Oct 2017 17:59:45 +0200 Subject: [PATCH] verify tls --- rootfs/etc/confd/templates/config.inc.php.tmpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rootfs/etc/confd/templates/config.inc.php.tmpl b/rootfs/etc/confd/templates/config.inc.php.tmpl index f5f5dd8..48fcc41 100644 --- a/rootfs/etc/confd/templates/config.inc.php.tmpl +++ b/rootfs/etc/confd/templates/config.inc.php.tmpl @@ -9,8 +9,8 @@ $config['syslog_facility'] = LOG_USER; $config['default_host'] = '{{getenv "IMAP_HOST" "tls://%n"}}'; $config['imap_conn_options'] = array( 'ssl' => array( - 'verify_peer' => false, - 'verify_peer_name' => false, + 'verify_peer' => true, + 'verify_peer_name' => true, ), ); @@ -20,8 +20,8 @@ $config['smtp_user'] = '%u'; $config['smtp_pass'] = '%p'; /*$config['smtp_conn_options'] = array( 'ssl' => array( - 'verify_peer' => false, - 'verify_peer_name' => false, + 'verify_peer' => true, + 'verify_peer_name' => true, ), );*/