CalDAV and CardDAV autoconfig

Hi, hopefully I can help a little.

  1. It looks like, per the RFC, we should but aren’t required to try the local-part of the address as a user name if the full address fails, but it sounds like we don’t do that. This sounds like something we ought to implement. I’d appreciate it if you could file a bug on Bugzilla in the “Provider: CalDAV” component.
  2. Do you mean that you’ve set up a well-known URI but aren’t sure how to make it indicate the resource where cyrus is serving the calendar? Per https://www.rfc-editor.org/rfc/rfc6764#section-5, the well-known URI should redirect to the correct path.