/Microsoft-Server-ActiveSync. define('ZPUSH_HOST', getenv('ZPUSH_HOST') ?: 'mail.dezky.eu'); define('TIMEZONE', 'Europe/Copenhagen'); define('BASE_PATH', dirname($_SERVER['SCRIPT_FILENAME']) . '/'); // Devices authenticate as the full mail address — matches the main config // and what the portal tells users. define('USE_FULLEMAIL_FOR_LOGIN', true); define('AUTODISCOVER_LOGIN_TYPE', AUTODISCOVER_LOGIN_EMAIL); // Autodiscover authenticates the requesting user through the same backend // stack as sync does (ZPush::GetBackend() reads this constant from THIS // file, not from the main config.php). define('BACKEND_PROVIDER', 'BackendCombined'); define('LOGBACKEND', 'filelog'); define('LOGFILEDIR', '/var/log/z-push/'); define('LOGFILE', LOGFILEDIR . 'autodiscover.log'); define('LOGERRORFILE', LOGFILEDIR . 'autodiscover-error.log'); define('LOGLEVEL', LOGLEVEL_INFO); define('LOGUSERLEVEL', LOGLEVEL_DEVICEID); // The logger passes this global straight to SetSpecialLogUsers(array) — // it must exist even when no per-user WBXML debugging is wanted. $specialLogUsers = array();