On 04/06/2014 13:08, Ken Murchison wrote:
On 06/04/2014 04:03 AM, Jean-Christophe Delaye wrote:On 03/06/2014 20:20, Ken Murchison wrote:Can you telnet to port 80 on the server and give it the following command (followed by 2 carriage returns): OPTIONS * HTTP/1.0Thanks Ken, Connected to cyrus0.eurecom.fr. Escape character is '^]'. OPTIONS * HTTP/1.0 HTTP/1.1 200 OK Connection: close Date: Wed, 04 Jun 2014 08:00:23 GMT Cache-Control: no-cache Server: Cyrus/v2.4.17-caldav-beta9 (Murder) Cyrus-SASL/2.1.26 OpenSSL/1.0.0 zlib/1.2.3 libxml2/2.6.23 Allow: OPTIONS, GET, HEAD Content-Length: 0OK. It looks like configure didn't find some of the necessary prerequisites for CalDAV support when you compiled Cyrus. You need to have both SQLite and libical. When support for CalDAV is compiled in and enabled, your OPTIONS response should look something like this: HTTP/1.1 200 OK Connection: close Date: Wed, 04 Jun 2014 11:02:57 GMT Cache-Control: no-cache Server: Cyrus/git2.4.17-caldav-beta9+163 (Murder) Cyrus-SASL/2.1.26 OpenSSL/1.0.1e zlib/1.2.7 libxml/2.9.1 SQLite/3.7.13 libical/0.48 DAV: 1, 2, 3, access-control, extended-mkcol DAV: calendar-access, calendar-auto-schedule Allow: OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE Allow: PROPFIND, REPORT, COPY, MOVE, LOCK, UNLOCK, PROPPATCH, MKCOL, ACL Allow: MKCALENDAR Content-Length: 0
Ok that's it. It was a configure issue using ICAL_LIBS the linker flags for ICAL which had overriding pkg-config.
Now, I have the following http response: HTTP/1.1 200 OK Connection: close Date: Wed, 04 Jun 2014 14:57:38 GMT Cache-Control: no-cacheServer: Cyrus/v2.4.17-caldav-beta9 (Murder) Cyrus-SASL/2.1.26 OpenSSL/1.0.0 zlib
/1.2.3 libxml2/2.6.23 SQLite/3.8.4.3 libical/1.0 iSchedule-Version: 1.0 DAV: 1, 2, 3, access-control, extended-mkcol DAV: calendar-access, calendar-auto-schedule Allow: OPTIONS, GET, HEAD, POST, PUT, DELETE Allow: PROPFIND, REPORT, COPY, MOVE, LOCK, UNLOCK, PROPPATCH, MKCOL, ACL Allow: MKCALENDAR Content-Length: 0 I confirm that module automatically create the required calendars for a user at the first login. cyrus0.eurecom.fr> lm user.standard.%.% user.standard.#addressbooks.Default (\HasNoChildren) user.standard.#calendars.Default (\HasNoChildren) user.standard.#calendars.Inbox (\HasNoChildren) user.standard.#calendars.Outbox (\HasNoChildren) user.standard.Junk.Spam_Client (\HasNoChildren) user.standard.Junk.Spam_Server (\HasNoChildren) cyrus0.eurecom.fr> lam user.standard.#calendars.Default standard lrswipkxtecda9 anyone 9 But, I have to deal with "404 Not Found". [ID 596527 local2.notice] login: standard Basic+TLS User logged in[ID 693975 local2.debug] dav_exec(standard.dav): CREATE TABLE IF NOT EXISTS ical_objs ( rowid INTEGER PRIMARY KEY, creationdate INTEGER, mailbox TEXT NOT NULL, resource TEXT NOT NULL, imap_uid INTEGER, lock_token TEXT, lock_owner TEXT, lock_ownerid TEXT, lock_expire INTEGER, comp_type INTEGER, ical_uid TEXT, organizer TEXT, dtstart TEXT, dtend TEXT, recurring INTEGER, transp INTEGER, sched_tag TEXT, UNIQUE( mailbox, resource ) ); [ID 693975 local2.debug] dav_exec(standard.dav): CREATE INDEX IF NOT EXISTS idx_ical_uid ON ical_objs ( ical_uid ); [ID 693975 local2.debug] dav_exec(standard.dav): CREATE TABLE IF NOT EXISTS vcard_objs ( rowid INTEGER PRIMARY KEY, creationdate INTEGER, mailbox TEXT NOT NULL, resource TEXT NOT NULL, imap_uid INTEGER, lock_token TEXT, lock_owner TEXT, lock_ownerid TEXT, lock_expire INTEGER, version INTEGER, vcard_uid TEXT, kind INTEGER, fullname TEXT, name TEXT, nickname TEXT, email TEXT, UNIQUE( mailbox, resource ) ); [ID 693975 local2.debug] dav_exec(standard.dav): CREATE INDEX IF NOT EXISTS idx_vcard_uid ON vcard_objs ( vcard_uid ); [ID 702911 local2.info] as "standard" with "Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 Lightning/2.6.5"; "PROPFIND /dav/calendars/users/standard/Default/ HTTP/1.1" (depth=0) => "404 Not Found" (error=The requested URL was not found on this server.)
On 06/03/2014 11:30 AM, Jean-Christophe Delaye wrote:We're trying to use calendars with Cyrus IMAPD v2.4.17-caldav-beta9. The following caldav settings are in imapd.conf httpmodules: caldav httpprettytelemetry: 1 calendarprefix: #calendars http/https process are listening. master[27932]: [ID local2.debug] listening for messages from http master[27932]: [ID local2.debug] listening for messages from https When trying to use calendars features with Thunderbird/24.5.0 Lightning/2.6.5, Create a new calendar (network) Format CalDAV Location http://cyrus0.eurecom.fr/dav/calendars/users/foo/Default/ I have errors in log: http[1360]: [ID 213405 local2.debug] read & parse request-line http[1360]: [ID 472354 local2.debug] read & parse headers http[1360]: [ID 702911 local2.info] xxxxx.eurecom.fr with "Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 Lightning/2.6.5"; "PROPFIND /dav/calendars/users/foo/Default/ HTTP/1.1 (depth=0) => "405 Method Not Allowed" (error=The requested method is not allowed for the URL.) http[1360]: [ID 286617 local2.debug] read_body(0x8) does anyone have any ideas what could be causing this ? Thanks in advance. ---- 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
Attachment:
http-26864
Description: Binary data
---- 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