CalDAV and virtual domains not working
Ken Murchison
murch at andrew.cmu.edu
Mon Jul 22 15:58:28 EDT 2013
Hi Robert,
Bron is correct. The code isn't doing the right thing for virtdomains,
mainly because I hadn't bothered to add support for it as I was coding.
Obviously, this needs to be fixed. I guess the big question is what the
URLs should look like. Should we go with the current URL format and
encode the '@' as your log entry shows below, or should we do something
like:
/dav/calendars/domain/fastmail.fm/user/robn/Default/
I think I prefer
/dav/calendars/user/robn%40fastmail.fm/Default/
as long as clients support it.
Bron, any thoughts?
On 07/21/2013 08:53 PM, Robert Norris wrote:
> It looks like the CalDAV stuff is not doing the right thing with virtual
> domains (beta6 and git e415f906)
>
> 2013-07-21T20:44:55.580301-04:00 calendar1 calendar/http[30755]: login: vpn94.mail.srv.osa [10.203.0.94] robn at fastmail.fm Basic User logged in
> 2013-07-21T20:44:55.580929-04:00 calendar1 calendar/http[30755]: mlookup(user.robn at fastmail^fm.#calendars.Default) failed: Mailbox does not exist
> 2013-07-21T20:44:55.581141-04:00 calendar1 calendar/http[30755]: vpn94.mail.srv.osa [10.203.0.94] as "robn at fastmail.fm" with "Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130630 Icedove/17.0.7 Lightning/1.9b1"; "PROPFIND /dav/calendars/user/robn%40fastmail.fm/Default/ HTTP/1.1" (depth=0) => "404 Not Found" (error=Mailbox does not exist)
>
> Mailbox structure via IMAP is:
>
> . LIST "" *
> * LIST (\HasChildren) "." user.robn at fastmail.fm
> * LIST (\HasChildren) "." user.robn.#calendars at fastmail.fm
> * LIST (\HasNoChildren) "." user.robn.#calendars.Default at fastmail.fm
> * LIST (\HasNoChildren) "." user.robn.#calendars.Inbox at fastmail.fm
> * LIST (\HasNoChildren) "." user.robn.#calendars.Outbox at fastmail.fm
>
> Bron tells me (if I understood him correctly) that the domain splitting
> is broken, and it should be producing eg
> "fastmail.fm!user.robn.#calendars.Default" instead.
>
> Cheers,
> Rob N.
> ----
> Cyrus Home Page: http://www.cyrusimap.org/
> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
> To Unsubscribe:
> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
--
Kenneth Murchison
Principal Systems Software Engineer
Carnegie Mellon University
More information about the Info-cyrus
mailing list