2017-09-10 23:54:46 +02:00
|
|
|
Open/create `data/web/inc/vars.local.inc.php` and add your changes to the configuration array.
|
2017-07-02 10:56:50 +02:00
|
|
|
|
2017-09-10 23:54:46 +02:00
|
|
|
Changes will be merged with "$autodiscover_config" in `data/web/inc/vars.inc.php`):
|
2017-05-06 00:22:26 +02:00
|
|
|
|
2017-06-28 18:56:01 +02:00
|
|
|
```
|
2017-09-13 09:33:45 +02:00
|
|
|
<?php
|
2017-06-28 18:56:01 +02:00
|
|
|
$autodiscover_config = array(
|
|
|
|
// Enable the autodiscover service for Outlook desktop clients
|
|
|
|
'useEASforOutlook' => 'yes',
|
|
|
|
// General autodiscover service type: "activesync" or "imap"
|
|
|
|
'autodiscoverType' => 'activesync',
|
2017-07-02 10:56:50 +02:00
|
|
|
// Please don't use STARTTLS-enabled service ports here.
|
|
|
|
// The autodiscover service will always point to SMTPS and IMAPS (TLS-wrapped services).
|
2017-06-28 18:56:01 +02:00
|
|
|
'imap' => array(
|
|
|
|
'server' => $mailcow_hostname,
|
|
|
|
'port' => getenv('IMAPS_PORT'),
|
|
|
|
),
|
|
|
|
'smtp' => array(
|
|
|
|
'server' => $mailcow_hostname,
|
|
|
|
'port' => getenv('SMTPS_PORT'),
|
|
|
|
),
|
|
|
|
'activesync' => array(
|
|
|
|
'url' => 'https://'.$mailcow_hostname.'/Microsoft-Server-ActiveSync'
|
2017-07-02 10:56:50 +02:00
|
|
|
),
|
|
|
|
'caldav' => array(
|
|
|
|
'url' => 'https://'.$mailcow_hostname
|
2017-10-26 09:12:26 +02:00
|
|
|
),
|
2017-07-02 10:56:50 +02:00
|
|
|
'carddav' => array(
|
|
|
|
'url' => 'https://'.$mailcow_hostname
|
2017-06-28 18:56:01 +02:00
|
|
|
)
|
|
|
|
);
|
|
|
|
```
|
2017-05-06 00:22:26 +02:00
|
|
|
|
|
|
|
To always use IMAP and SMTP instead of EAS, set `'autodiscoverType' => 'imap'`.
|
2017-06-28 18:56:01 +02:00
|
|
|
|
2017-09-10 23:54:46 +02:00
|
|
|
Disable ActiveSync for Outlook desktop clients by setting "useEASforOutlook" to "no".
|