/ where // is the Stalwart account name — the LOCAL PART of the mail // address (platform-api creates mailboxes with name=localPart, see // services/platform-api/src/integrations/stalwart.client.ts). Logins are // full emails (USE_FULLEMAIL_FOR_LOGIN), so the path uses %l, Z-Push's // local-part placeholder, not %u. define('CALDAV_PROTOCOL', 'http'); define('CALDAV_SERVER', getenv('CALDAV_SERVER') ?: 'stalwart'); define('CALDAV_PORT', getenv('CALDAV_PORT') ?: '8080'); define('CALDAV_PATH', '/dav/cal/%l/'); // Stalwart auto-creates a calendar named "default" for every account. define('CALDAV_PERSONAL', 'default'); // sync-collection REPORT (RFC 6578). Start with the safe full-comparison // mode; flip to true once proven against Stalwart's DAV implementation. define('CALDAV_SUPPORTS_SYNC', false); define('CALDAV_MAX_SYNC_PERIOD', 2147483647);