Mailing List Message #95361
From: Aaron Willems <>
Subject: Re: Apple iCal & CalDAV anyone?
Date: Fri, 27 Jun 2008 15:01:25 -0700
To: CommuniGate Pro Discussions <>
Re: Apple iCal & CalDAV anyone? I’m having some issues logging into my Calendar via iCal. I feel like I’m almost there. I get the login prompt, but when I login I get the following error.

“Error subscribing to the calendar
Request for failed.
The server responded with
"HTTP/1.1 500 mailbox does not exist"

The Calendar does exist, so I’m a little perplexed. I hope I’m just missing the oblivious.

Aaron Willems
Systems Administrator
Lieberman Productions
455 9th St.
San Francisco, Ca 94103

From: Ben Hanes <>
Reply-To: CommuniGate Pro Discussions <>
Date: Thu, 12 Jun 2008 18:30:45 -0700
To: CommuniGate Pro Discussions <>
Subject: Re: Apple iCal & CalDAV anyone?

I have had the same problems with iCal seeing the Calendars, but not being able to make any changes/additions.  After spending a great deal of time on this, I have some insights:

  1. Creating a new user and a new Calendar worked.
  2. Removing the default Calendar and recreating it for my user worked
  3. Using more than 1 calendar does not work
  4. Using a calendar alias from another account does not work

Now, as long as I only have 1 Calendar, it is working.  I can setup iCal to see multiple accounts with success.  This is an OK workaround for now.

Another glitch I'm seeing is the Availability in iCal keeps reverting to 2AM - 5PM Mon - Thurs.  If I change this in iCal it just changes back.  If I verify/change this n WebMail/Pronto, it makes no difference to iCal.

At this point, I'm just happy to have some syncing calendars using CalDAV in iCal.


Ben Hanes
Email Administrator
Children's Hospital Oakland Research Institute

On Jun 12, 2008, at 3:04 PM, Gavin Lawrie wrote:

On 12 Jun 2008, at 21:49, Andreas Steinmann wrote:

looks like iCal can show a CGP calendar, but events created in iCal does not show on CGP:

22:30:58.419 3 MAILBOX( failed to parse calendar message 243044. Error Code=Illegal Calendar data format
22:30:58.419 3 MAILBOX( failed to parse calendar message 243045. Error Code=Illegal Calendar data format
22:30:58.423 3 MAILBOX( failed to parse calendar message 243070. Error Code=Illegal Calendar data format
22:30:59.285 1 HTTPU-013462([]) Unsupported method: ACL /CalDAV/Dropbox/71212FE3-ACCF-4B8A-8529-B923F10A70AE.dropbox/ HTTP/1.1
22:32:41.329 1 HTTPU-013469([]) Unsupported method: ACL /CalDAV/Dropbox/71212FE3-ACCF-4B8A-8529-B923F10A70AE.dropbox/ HTTP/1.1
22:32:43.854 1 HTTPU-013474([]) Unsupported method: ACL /CalDAV/Dropbox/71212FE3-ACCF-4B8A-8529-B923F10A70AE.dropbox/ HTTP/1.1

What's wrong with the Calendar data format?
Why is CGP trying to parse the Calendar data to INBOX?
What does unsupported method... mean?

We don't seen any problems with events created in iCal appearing in CGP (e.g. Webmail's calendar), or in Sunbird.  I suspect there is something odd with your setup of the CGP account that is causing these problems.  A simple way we have found to ensure everything is working OK is to create a calendar folder via webmail and create a junk meeting in that folder in webmail, and create a general folder in webmail off the root directory called Dropbox.  

Then, when you connect to CGP from iCal using CalDAV iCal scans the root folder and identifies the created calendar folder as a calendar, along with any other calendars you have created.  So if you have three calendar folders in the root folder, you'll see three calendars appear in the iCal CalDAV account also.  Of course, if you are sure your calendar folder is working OK, you don't need to create the extra folder.

I'm guessing from the error that there might be something wrong with the ACL and / or location of your Dropbox folder.  We put it off the root folder, and by creating it via webmail ensure the ACL is set for the user to access.  I'm sure the wizards in this forum could do the same thing many dozen other ways, but this is simple and reliable.  All iCal seems to do with the Dropbox folder is dump files in - CGP is not directly involved, and there is nothing obviously complex going on.  It seems that the Dropbox folder can be of any type.

I use my_server:8100/CalDAV/Calendar to connect from Mozilla Sunbird and everything works fine.

We have CGP web access on port 80, so don't use port qualifiers.  But don't see why the port should have anything to do with it.  But the URL we use to connect to iCal via CalDAV doesn't have anything in after CalDAV/ - there probably is some way to pick only the calendar you want, but we've not worked it out yet.

Same address does not work from iCal - here i use http://my_server:8100/CalDAV/

So you are doing what we do.  Works for us.

But when I change something in iCal, I get: request to the server failed (code 30).

This is probably because of the problems with your access to Dropbox.  The only purpose that Dropbox seems to serve on CGP is to make the 'Calendar not found' errors less common.  They don't go away completely, but it helps.  Without Dropbox working, even doing something like changing the colour of the calendar will trigger this error.  If you have more than one calendar defined you'll get that many copies of the error too.  Nice!  Apparently more recent versions of CGP are less noisy in this respect, but what exactly is cause has not been disclosed (at least to me).  We're running 5.2.3 on OS X Intel if that helps.

If you have specific issues you are welcome to contact me off-forum and I'll see if I can help.  But don't get your hopes up - CGP and iCal via CalDAV is really still at proof of concept level: it is better than not having it, particularly if you have multiple machines and want to update calendar from several places, but for general use where you only have one machine talking to calendars on CGP it really is more trouble than it is worth, and you are better off sticking with publish / subscribe.


Gavin Lawrie

2GC Limited is a limited company registered in England and Wales.
 Address: Albany House, Market Street, Maidenhead, Berkshire, SL6 8BE.
 Contact: +44 (0) 1628 421506 // <>
Registered number: 3754183.
 Registered office:16, Wentworth Road, Oxford OX2 7TQ. <>  

Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster