Difference between revisions of "Sync Zimbra and iPhone with Funambol"

From wiki.breedveld.net
Jump to: navigation, search
Line 2: Line 2:
 
To sync my iPhone contacts with Zimbra, I use Funambol for data synchronisation.<br>
 
To sync my iPhone contacts with Zimbra, I use Funambol for data synchronisation.<br>
 
<br>
 
<br>
Install funambol on Ubuntu x64 Ubuntu server:<br>
+
Install funambol on your Zimbra server:<br>
 
[https://www.forge.funambol.org/download/ dowload the latest version here]
 
[https://www.forge.funambol.org/download/ dowload the latest version here]
 
<br>
 
<br>
 
run as root:   
 
run as root:   
  ./funambol-8.7.0-x64.bin
+
  ./funambol-<version>.bin
 
check if funambol is running with a web browser:<br>
 
check if funambol is running with a web browser:<br>
 
  http://<server>:8080/funambol/
 
  http://<server>:8080/funambol/
Line 13: Line 13:
 
[http://sourceforge.net/projects/zimbrafunambol/files/zimbrafunambol/ download the latest version here]<br>
 
[http://sourceforge.net/projects/zimbrafunambol/files/zimbrafunambol/ download the latest version here]<br>
 
Unzip it, and copy this connector to the right place:
 
Unzip it, and copy this connector to the right place:
  cp ./ZimbraConnector_0.6.02/output/ZimbraConnector.s4j /opt/Funambol/ds-server/modules/ZimbraConnector.s4j
+
  cp ./ZimbraConnector_<version>/output/ZimbraConnector.s4j /opt/Funambol/ds-server/modules/ZimbraConnector.s4j
 
after this you can delete ./ZimbraConnector_0.6.02<br>
 
after this you can delete ./ZimbraConnector_0.6.02<br>
 
create the config dir:
 
create the config dir:
Line 25: Line 25:
 
   </object>
 
   </object>
 
  </java>
 
  </java>
edit /opt/Funambol/ds-server/install.properties , change the last line to:
+
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
 
  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:
 
install the connector in Funambol:

Revision as of 10:35, 12 January 2011

Sync iPhone contacts with Zimbra using Funambol
To sync my iPhone contacts with Zimbra, I use Funambol for data synchronisation.

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 ./ZimbraConnector_0.6.02
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/


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