Re: CalDAV and virtual domains not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx Basic User logged in
>    2013-07-21T20:44:55.580929-04:00 calendar1 calendar/http[30755]: mlookup(user.robn@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@xxxxxxxxxxx" 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@xxxxxxxxxxx
>    * LIST (\HasChildren) "." user.robn.#calendars@xxxxxxxxxxx
>    * LIST (\HasNoChildren) "." user.robn.#calendars.Default@xxxxxxxxxxx
>    * LIST (\HasNoChildren) "." user.robn.#calendars.Inbox@xxxxxxxxxxx
>    * LIST (\HasNoChildren) "." user.robn.#calendars.Outbox@xxxxxxxxxxx
>
> 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

----
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




[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux