diff --git a/data/web/autodiscover.php b/data/web/autodiscover.php
index 3f2fd1b4..c0a06e87 100644
--- a/data/web/autodiscover.php
+++ b/data/web/autodiscover.php
@@ -33,6 +33,10 @@ if ($config['useEASforOutlook'] == 'no') {
}
}
+if (!isset($_SERVER['HTTP_USER_AGENT']) || empty($_SERVER['HTTP_USER_AGENT'])) { // eM Client sends no user agent
+ $config['autodiscoverType'] = 'imap';
+}
+
$dsn = "$database_type:host=$database_host;dbname=$database_name";
$opt = [
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
@@ -94,6 +98,18 @@ if (!isset($_SERVER['PHP_AUTH_USER']) OR $as !== "user") {
on
off
+
+ CalDAV
+ https:///SOGo/dav//Calendar
+ off
+
+
+
+ CardDAV
+ https:///SOGo/dav//Contacts
+ off
+
+