From e26563d51e3cec3447a0e72f626a597de50b3214 Mon Sep 17 00:00:00 2001 From: Phoenix Eve Aspacio Date: Sun, 23 Jul 2017 21:27:18 +0800 Subject: [PATCH] Enable Fail2ban in Autodiscover --- data/web/autodiscover.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/web/autodiscover.php b/data/web/autodiscover.php index fd8cd641f..061acb613 100644 --- a/data/web/autodiscover.php +++ b/data/web/autodiscover.php @@ -7,6 +7,10 @@ if(file_exists('inc/vars.local.inc.php')) { } $configuration = array_merge($default_autodiscover_config, $autodiscover_config); +// Redis +$redis = new Redis(); +$redis->connect('redis-mailcow', 6379); + error_reporting(0); $data = trim(file_get_contents("php://input"));