mailcow-dockerized-docs/docs/u_e-autodiscover_config.md

35 Zeilen
1,2 KiB
Markdown

2017-07-02 10:56:50 +02:00
Open/create `data/web/vars.local.inc.php` and add your changes to the configuration array.
Changes will be merged with "$autodiscover_config" in `data/web/vars.inc.php`):
2017-05-06 00:22:26 +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).
'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
)
'carddav' => array(
'url' => 'https://'.$mailcow_hostname
)
);
```
2017-05-06 00:22:26 +02:00
To always use IMAP and SMTP instead of EAS, set `'autodiscoverType' => 'imap'`.
Disable ActiveSync for Outlook desktop clients by setting "useEASforOutlook" to "no".