Configure autodiscover in vars.inc.php

master
andryyy 2017-06-25 18:10:29 +02:00
parent b6bc1eaf0a
commit 170e030dd6
1 changed files with 0 additions and 20 deletions

View File

@ -1,30 +1,10 @@
<?php
require_once 'inc/vars.inc.php';
require_once 'inc/functions.inc.php';
$autodiscover_config = array(
'useEASforOutlook' => 'yes',
'autodiscoverType' => 'activesync',
'imap' => array(
'server' => $mailcow_hostname,
'port' => '993',
'ssl' => 'on',
),
'smtp' => array(
'server' => $mailcow_hostname,
'port' => '465',
'ssl' => 'on'
),
'activesync' => array(
'url' => 'https://'.$mailcow_hostname.'/Microsoft-Server-ActiveSync'
)
);
if (file_exists('inc/vars.local.inc.php')) {
include_once 'inc/vars.local.inc.php';
}
/* ---------- DO NOT MODIFY ANYTHING BEYOND THIS LINE. IGNORE AT YOUR OWN RISK. ---------- */
error_reporting(0);
$data = trim(file_get_contents("php://input"));