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

From wiki.breedveld.net
Jump to: navigation, search
m (Protected "Sync Zimbra and iPhone with Funambol" [edit=autoconfirmed:move=autoconfirmed])
 
(28 intermediate revisions by the same user not shown)
Line 1: Line 1:
Sync iPhone contacts with Zimbra using Funambol<br>
+
'''Sync iPhone contacts with Zimbra using Funambol'''<br>
 
<br>
 
<br>
 +
To sync my iPhone contacts with Zimbra, I use Funambol for data synchronisation.<br>
 +
It works perfectly, also your contact photo's from your iPhone will be visible in Zimbra.<br>
 +
<br>
 +
Syncing Calender is not posible yet on the iPhone app, but will be availiable soon, if you follow this instruction, your server will be ready for it.<br>
 +
<br>
 +
Install funambol on your Zimbra server:<br>
 +
[https://www.forge.funambol.org/download/ dowload the latest version here]<br>
 +
<br>
 +
apt-get install libxext6:i386 libxtst6:i386 libxi6:i386
 +
<br>
 +
run as root: 
 +
./funambol-<version>.bin
 +
check if funambol is running with a web browser:<br>
 +
http://<server>:8080/funambol/
  
see detailt setup description:<br>
+
Install the Zimbra module:<br>
http://wiki.zimbra.com/wiki/Open_Source_Mobile_Calendar_and_Contact_Synchronization
+
[http://sourceforge.net/projects/zimbrafunambol/files/zimbrafunambol/ download the latest version here]<br>
 +
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><br>
 +
<br>
 +
create the config dir:
 +
mkdir /opt/Funambol/config/connector/
 +
create the file /opt/Funambol/config/connector/ZimbraConnector.xml :<br>
 +
<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<br>
 +
 
 +
<br>
 +
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<br><br>
 +
[[Image:users.png]]<br>
 +
first change the admin password:<br>
 +
(select users, and click search)<br>
 +
after changing the admin password, you shoul log-in again<br>
 +
<br>
 +
create a user with the same name as in Zimbra, with role user, for syncing with Zimbra<br>
 +
<br>
 +
Delete all PIM entry's (by rightclick):<br><br>
 +
[[Image:delete_pim.png]]<br>
 +
Add the new syncsources in the Zimbra Connector: card, scard, cal, event, scal, stask and task<br>
 +
source URI and name should be the same<br>
 +
URL to the Zimbra server should be:
 +
http://<server>:80/service/soap/
 +
You should see now:<br><br>
 +
[[Image:new_sources.png]]
 +
<br>
 +
'''on iPhone<br>'''
 +
install Funambol application from the apps-store<br>
 
Point iPhone to:<br>
 
Point iPhone to:<br>
 
  http://<server>:8080/funambol/ds/
 
  http://<server>:8080/funambol/ds/
 +
<br>
 +
add the user id and password<br>
 +
at Contacts, select the sync direction and '''card''' for Remote name<br>
 +
<br>
 +
You should be able to sync your device now with Zimbra<br>
 +
<br>
 +
Tip 1: before syncing, export als your contacts on Zimbra as a backup file<br>
 +
Tip 2: do this frequently by a cron job<br>
 +
Tip 3: to avoid doubles I only use the option sync Server to Phone

Latest revision as of 12:14, 25 February 2014

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.

Syncing Calender is not posible yet on the iPhone app, but will be availiable soon, if you follow this instruction, your server will be ready for it.

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

apt-get install libxext6:i386 libxtst6:i386 libxi6:i386
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