Configure autodiscover in vars.inc.php
parent
b6bc1eaf0a
commit
170e030dd6
|
@ -1,30 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
require_once 'inc/vars.inc.php';
|
require_once 'inc/vars.inc.php';
|
||||||
require_once 'inc/functions.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')) {
|
if (file_exists('inc/vars.local.inc.php')) {
|
||||||
include_once '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);
|
error_reporting(0);
|
||||||
|
|
||||||
$data = trim(file_get_contents("php://input"));
|
$data = trim(file_get_contents("php://input"));
|
||||||
|
|
Loading…
Reference in New Issue