Sync Zimbra and iPhone with Funambol

From wiki.breedveld.net
Revision as of 10:45, 12 January 2011 by Roland (Talk | contribs)

Jump to: navigation, search

Sync iPhone contacts with Zimbra using Funambol

To sync my iPhone contacts with Zimbra, I use Funambol for data synchronisation.
It works perfectly, also your contact photo's from your iPhone will be visible in Zimbra.

Install funambol on your Zimbra server:
dowload the latest version here
run as root:

./funambol-<version>.bin

check if funambol is running with a web browser:

http://<server>:8080/funambol/

Install the Zimbra module:
download the latest version here
Unzip it, and copy this connector to the right place:

cp ./ZimbraConnector_<version>/output/ZimbraConnector.s4j /opt/Funambol/ds-server/modules/ZimbraConnector.s4j

after this you can delete the unzipped dir ./ZimbraConnector_<version>

create the config dir:

mkdir /opt/Funambol/config/connector/

create the file /opt/Funambol/config/connector/ZimbraConnector.xml :

<java version="1.5.0" class="java.beans.XMLDecoder">
 <object class="ru.korusconsulting.connector.config.ConnectorConfig">
  <void property="dataSource">
   <string>jdbc/fnblds</string> 
  </void>
 </object>
</java>

edit /opt/Funambol/ds-server/install.properties , add the Zimbra connector to last line:

modules-to-install=content-provider-8.7.0,email-connector-8.7.0,foundation-8.7.0,phones-support-8.7.0,webdemo-8.7.0,ZimbraConnector

install the connector in Funambol:

cd /opt/Funambol/bin
./install-modules.sh

you can answer yes on all questions


Install the admin software on your client, or run it direct on the server, if you have X:

/opt/Funambol/admin/bin/funamboladmin

log in to your Funambol server, with admin/sa port 8080

Users.png
first change the admin password:
(select users, and click search)
after changing the admin password, you shoul log-in again

create a user with the same name as in Zimbra, with role user, for syncing with Zimbra

Delete all PIM entry's (by rightclick):

Delete pim.png
Add the new syncsources in the Zimbra Connector: card, scard, cal, event, scal, stask and task
source URI and name should be the same
URL to the Zimbra server should be:

http://<server>:80/service/soap/

You should see now:

New sources.png
on iPhone
install Funambol application from the apps-store
Point iPhone to:

http://<server>:8080/funambol/ds/


add the user id and password
at Contacts, select the sync direction and card for Remote name

You should be able to sync your device now with Zimbra

Tip 1: before syncing, export als your contacts on Zimbra as a backup file
Tip 2: do this frequently by a cron job
Tip 3: to avoid doubles I only use the option sync Server to Phone