Skip to content

v1.0.21-debug — CalDAV host fix

Choose a tag to compare

@Dvalin21 Dvalin21 released this 20 Jul 20:51

Fix: calendar/tasks/contacts now sync (TLS handshake failure resolved)

Root cause: the app built the CalDAV/CardDAV URL from the email-domain apex (e.g. houseofmanns.com). That host fails the TLS handshake — the *.houseofmanns.com wildcard certificate excludes the apex and nginx rejects the unknown SNI (TLSV1_ALERT_UNRECOGNIZED_NAME). IMAP/SMTP were unaffected because they use imap./smtp. subdomains covered by the wildcard.

Fix: build the DAV URL from the mailcow web FQDN (mail.<domain> by default), which is a valid SAN. The host is editable in Advanced for servers that expose SOGo on a different ADDITIONAL_SERVER_NAME (e.g. email.<domain>).

  • Account.MailcowDefaults: https://mail.<domain>/SOGo/dav/<user>/Calendar/personal/
  • Autodiscover.sogoDavProbe: https://mail.<domain>/SOGo/dav/
  • versionCode 20→21, versionName 1.0.20→1.0.21

Install the APK below (sideload — no adb install from this environment).

Verify

After sign-in, Calendar + Tasks + Contacts should populate. Expected logcat:

  • imapHost=imap.houseofmanns.com port=993 ssl=true (unchanged, working)
  • calendar leg: no TLSV1_ALERT_UNRECOGNIZED_NAME; events downloaded