Background: We use some public calendars and public address books in our
company. They have URLs like:
https://calendar.polyfoam.com.au:8443/dav/calendars/PublicCalendarName
https://contacts.polyfoam.com.au:8443/dav/addressbooks/PublicAddressBookName
These worked fine on 3.0.8, though they had to be created with manual
IMAP commands like:
AAA CREATE "#calendars/PublicCalendarName" (TYPE CALENDAR)
this trick is documented in a GitHub issue:
https://github.com/cyrusimap/cyrus-imapd/issues/2373
On the weekend I upgraded the server in-place to 3.2.4 (buster-backports
3.2.4-3~bpo10+1 amd64) and performed the post-upgrade steps listed here:
https://www.cyrusimap.org/imap/download/upgrade.html#reconstruct-databases-and-cache
Everything seems to be fine except these public calendars. Although the
folders are present on the server (I can list them with the "lm" command
in cyradm, and the files are still in the filesystem), users are getting
404 not found errors through Outlook CalDavSynchronizer:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"><html><head><title>404
Not Found</title></head><body><h1>Not
Found</h1><p>Mailbox does not
exist</p><hr><address>Cyrus-HTTP/3.2.4-Debian-3.2.4-3~bpo10+1
Cyrus-SASL/2.1.27 Lib/XML2.9.4 Jansson/2.12 OpenSSL/1.1.1d Zlib/1.2.11
Brotli/1.0.7 LibiCal/3.0 ICU4C/63.1 SQLite/3.27.2 Server at
calendar.polyfoam.com.au Port 8443</address></body></html>
And when I try to add the calendar in Thunderbird, I get this peculiar
warning:
The requests for MyCalendarName are being redirected to a new location.
Would you like to change the location to the following value?
https://calendar.polyfoam.com.au:8443/dav/calendars/user/debbiep@xxxxxxxxxxxxxxx/(null).PublicCalendarName/
as if it's trying to subscribe me to a personal calendar instead of the
public one.
At this stage I don't know if (a) one of the post-migration steps has
corrupted the calendars and address books, or (b) this is a bug in Cyrus
3.2's IMAP server, or (c) this is a bug in the Cyrus *DAV server.
I'm not much of an expert in running raw CalDAV commands on the command
line, or of the many Cyrus database-maintenance commands, so I'd welcome
some advice on how I can narrow down the cause.
Thanks.
------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/Td603eb775ed9502c-M47f0329655b05b3eff3164b4
Delivery options: https://cyrus.topicbox.com/groups/info/subscription