Funambol Setup HowTo

Best practice information from Scalix users relating to integration of Scalix with other products.

Moderator: ScalixSupport

sfischer
Posts: 28
Joined: Mon Dec 11, 2006 8:28 am

Funambol Setup HowTo

Postby sfischer » Wed Jun 13, 2007 9:32 am

Hi,
during the few days (holidays in GY), I had time to install a Funambol Server.

Until now I had a stable and running config, which can supply the following:
Funambol-Outlook client feeds PIM Data from each scalix user to the Funambol Server
via https protocoll Port 8443

Real Push Mail Functionality to Windows Mobile 5 based smartphones over GPRS
full PIM sync over GPRS (carrier is german t-mobile)
Communication between Smartphones and Funambol Server runs on https-Protokoll
on Port 8443

My next goals:
put the Funambol-Server on the same machine, together with Scalix. (maybe
someone can share his experiance here)

My next wish:
Scalix supplies a plugin which feeds the Funambol Server directly with
PIM and mail data.

Here's the HW/SW config:
One Scalix V11.0.4 Community Ed. Server which runs on a Linux Server
One Windows 2003 based server, on which runs Funambol Server V6
Outlook 2003 Clients with Funambol Plugin for Outlook V6.0.14
Smartphones WM5 with Funambol Plugin for Smartphones V6

#######################################################
DNS&Portforwarding-Setup:
1. Internal DNS-Server which points internally to
funambol.mycompany.com to our funambol server.
2. External DNS-Server where funambol.mycompany.com
points to the external interface of our firewall.
Firewall should forward Port 8443 to our internal funambol server.
#######################################################

Funambol-Setup:
Install Funambol PIM & Email Bundle V6 for Windows
(http://www.funambol.com/opensource/downloads.html)
#######################################################

Start FB-Admintool with funambol.mycompany.com
Set <Server Settings/Engine/Server URI> to http://funambol.mycompany.com:8080/funambol/ds
This allows syncing with http and https protocol
Set <Modules/email/FunambolEmailConnector/EmailSyncSource/mail/FunambolSignature> to your Company Signature

Goto <Modules/email/FunambolEmailConnector
Add a new Public Mail Server:
This is your internal Scalix Server:
Description: Your Scalix Server
Server product: other
Protocol: imap
Outgoing server: mail.int.yourcompany.com // Port:25 <- funambol server should reach internal Scalix server
Incoming server: mail.int.yourcompany.com // Port:143 <- funambol server should reach internal Scalix server
Soft-Delete on server is checked

Add a new Account for each PushMail User:
Login: ScalixLoginUsername and ScalixUserPassword
MailServer: select our internal ScalixServer
ListenerID: 1
Active- and Push-Box is checked

Start Funambol Server Process

Confgure the inbox listener process on command console
<pls. refer to Funambol Admin Guide V6 page 39-49)

#######################################################
Test the Funambol Server with your Web-Browser
http://funambol.mycompany.com/funambol
Result: Funambol should report its Version ...
Follow the webdemo link (usr: guest pwd: guest)
From now, Funambol runs with http
#######################################################

Next step is Https-access:
On your windows funambol server start a cmd consol
1. cd C:\Programme\Funambol\tools\tomcat
2. create new keystore with name .keystore:
..\jre-1.5.0\jre\bin\keytool -genkey -alias tomcat -keyalg RSA -keystore .\.keystore -validity 365
your name: funambol.mycompany.biz <- this have to be the name of your funambol-server
remind the <your_password>
you should see a new .keystore file in the actual directory C:\Programme\Funambol\tools\tomcat
3. Export Certificate for your WM5 devices:
..\jre-1.5.0\jre\bin\keytool -export -alias tomcat -file c:\funambol.cer
4. Transfer the file c:\funambol.cer to your WM5 devices now or later
5. cd C:\Programme\Funambol\tools\tomcat\conf
Edit server.xml:
<!-- Define a SSL HTTP/1.1 Connector on port 8443 -->
<!-- -->
<Connector port="8443" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" disableUploadTimeout="true"
acceptCount="100" scheme="https" secure="true"
keystorePass="<your_password>" keystoreFile="./keystore"
clientAuth="false" sslProtocol="TLS" />
<!-- -->
6. Restart Funambol and Tomcat
c:\programme\programme\tools\bin\restartall.cmd

Test the Funambol Server with your browser
https://funambol.mycompany.com:8433/funambol
...
From now on, you can communicate via https with your funambol server
#######################################################

Install Funambol Outlook Client on your PC, on which you have a
running Outlook/Scalix Plugin Config.
Config of the FB-Outlook Plugin:
<Tools/Account>: https://funambol.mycompany.com:8443/funambol/ds
Choose a unique <username> and <userpassword> for Funambol PIM access
Set your Sync Profile accordingly.
Sync your outlook PIMS to the Funambol-Server
Funambol will automatically create a new user <username>
with your PIM Data
#######################################################
Test the Funambol Server with your browser
https://funambol.mycompany.com:8433/webdemo
Login with <username> and <userpassword>
You should see all of your PIM Data
Perform this test inside AND from outside of your
companies network. You should get the same result.

#######################################################
Mobile Device (windows Smartphone) setup:
Install Funambol V6 Plugin.
Transfer the certificate file funambol.cer to your smartphone
Install the certificate (simply execute it)
Config the Funambol Plugin (like your outlook profile)
https://funambol.mycompany.com:8443/funambol/ds
<username> and <userpassword>

Very important:
Your carrier have to assign your mobile phone a public ip-address.
German T-Mobile supply this feature, if you set your internet
connections to internet.t-d1.de
Make sure that your Smartphone will use this connection!
Other Access Servers will provide you a private network ip-address,
which can't be reached from your Funambol Server!!
(pls. refer to: https://wiki.objectweb.org/sync4j/ (Push-Technology-Paper)

#######################################################

Use and benefit from Scalix and Funambol.
It's a real good couple.

ioitest
Posts: 19
Joined: Sun Dec 03, 2006 11:33 pm

Postby ioitest » Thu Jun 14, 2007 5:17 am

Good info :D

Trying to sync scalix "SYSTEM" address book with funambol. Is it possible without "copy and paste" the SYSTEM address book into personal contact folders.

Anyone for advise?

rbardoel2
Posts: 15
Joined: Thu Jan 11, 2007 10:41 am

Postby rbardoel2 » Mon Jun 18, 2007 10:10 am

Thanks for this guide!

One question though, where can the funambol-scalix plugin be downloaded? Regards,

Ralf Bardoel


Return to “Third Party Integration”



Who is online

Users browsing this forum: No registered users and 2 guests