mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-11-11 19:01:32 +00:00
[Web] Autodiscover: no ActiveSync when autodiscoverType is imap
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -31,7 +31,7 @@ error_reporting(0);
|
||||
|
||||
$data = trim(file_get_contents("php://input"));
|
||||
|
||||
if (strpos($data, 'autodiscover/outlook/responseschema') !== false) {
|
||||
if (strpos($data, 'autodiscover/outlook/responseschema') !== false && $autodiscover_config['autodiscoverType'] == 'activesync') {
|
||||
$autodiscover_config['autodiscoverType'] = 'imap';
|
||||
if ($autodiscover_config['useEASforOutlook'] == 'yes' &&
|
||||
// Office for macOS does not support EAS
|
||||
|
||||
Reference in new issue
Block a user