Syncing Zimbra calendars using Thunderbird & CalDAV
Syncing your Zimbra calendars to Thunderbird is easy using CalDAV and Mozilla's Lightning extension. Syncing via CalDAV allows you to sync, edit and create new appointments on any of your Zimbra calendars in Thunderbird.
There are some caveats however:
-
In order to sync using CalDAV, you must first download & install the Lightning extension for Thunderbird at: download-lightning
Make sure you have the most recent version of Lightning ... older versions are known to lack support for various parts/elements of the Zimbra calendar system. - There is no explicit support for Locations or Equipment in Thunderbird ... you can add them as Attendees just as you do with persons, but make sure you type in the exact e-mail address. If you type in a wrong e-mail address or type their name in the Location field of the meeting, they will not be stored as such in the Zimbra representation of the meeting ... they will be stored as external attendees just as you can do with other non-local e-mail addresses/persons. Consequently, the location or equipment in question will not be reserved for your meeting. It is therefore best to create meetings involving a room or equipment from within the Zimbra web interface or other native Zimbra client software.
- You can view the free/busy time of attendees from within Thunderbird if you type/give their full e-mail address ... this is either of the form Firstname.Lastname@zimbra.cs.kuleuven.be or loginname@zimbra.cs.kuleuven.be. Do not forget to add the @zimbra.cs.kuleuven.be part because this is essential for Thunderbird to recognize where to look for the free/busy time (i.e. in the Zimbra system ;-)
Once Lightning is installed, open Thunderbird:
In the lower left corner of the main Thunderbird window, select Calendar:
In the menu bar, navigate to Calendar > New Calendar:
Select On the Network, then click Next:
Select CalDAV as the calendar type:
In the location field you will need to enter your Zimbra calendar URL address.
To find the URL for your calendar open a web browser and navigate to:
https://zimbra.cs.kuleuven.be
and login to your Zimbra account. Once logged in, click on the Calendar tab:
In your calendar list, right-click on the calendar you would like to add to Thunderbird's Lightning program then choose Share Calendar:
In the Share Properties window, copy the URL location of your calendar:
In this example, user janie's URL is:
https://zimbra.cs.kuleuven.be/home/janie@zimbra.cs.kuleuven.be/Calendar
Close or minimize the Zimbra web client and navigate back to Lightning's Create a new calendar window.
In the location field, paste the URL location obtained in the Zimbra web client into the Location field:
Delete the word "home" from the URL and replace it with "dav". Then click Next:
So janie's URL becomes
https://zimbra.cs.kuleuven.be/dav/janie@zimbra.cs.kuleuven.be/Calendar
Name your calendar, choose a color for your calendar, check whether or not you would like to alerted to appointment alarms and press Next:
Thunderbird's Lightning extension will confirm your calendar addition. Press Done:
In the main Calendar window, press the reload button to force a sync to your Zimbra account:
Upon reloading your calendar events will appear in Thunderbird's Lightning calendar:
New appointments made in Lightning will sync to your Zimbra acount while appointments made in the Zimbra web interface will sync to Lightning.
To add additional calendars to Thunderbird, repeat these steps from the beginning. For example, to add a Google Calendar to your Thunderbird/Lightning, start adding a new CalDAV calendar and use as Location:
- https://www.google.com/calendar/dav/hex-calendar-id/events
where the hex-calendar-id is what you can find by clicking the down arrow next to your calendar at calendar.google.com and selecting 'Calendar Settings'. More information can be found on the corresponding Google documentation.
e.g. to add the Phases of the Moon calendar, use: https://www.google.com/calendar/dav/ht3jlfaac5lfd6263ulfh4tql8@group.calendar.google.com/events

