Browse Source

Enable Fail2ban in Autodiscover

Phoenix Eve Aspacio 8 years ago
parent
commit
e26563d51e
1 changed files with 4 additions and 0 deletions
  1. 4 0
      data/web/autodiscover.php

+ 4 - 0
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"));