\documentclass{article}
\usepackage{ulem}
\usepackage{graphicx}
\usepackage{hyperref}
\pagestyle{headings}
\begin{document}
\part{How to replicate data with Horde and your phone, PDA or Outlook}
This is the Horde <a href="https://wiki.horde.org/SyncML">SyncML</a> Howto page. It describes how to setup your phone, PDA, or Outlook to synchronize its data (calendar, events, tasks, notes) with Horde. You might also want to check out these pages:

\begin{itemize}
\item <a href="https://wiki.horde.org/SyncML/Roadmap">SyncML/Roadmap</a> describes planned, upcoming or currently missing features.


\item Once you managed to sync your phone with Horde, please check the <a href="https://wiki.horde.org/SyncML/ContributeTesting">SyncML/ContributeTesting</a> page and provide a test case if there's none for your client yet. You'll help us to improve the stability for your client!


\item If you encounter problems with syncing and can't resolve them on your own or using the FAQ below, please follow the directions in <a href="https://wiki.horde.org/SyncML/ProblemReport">SyncML/ProblemReport</a> for reporting problems.


\end{itemize}
If you are here looking for information on how to sync your mobile device using Microsoft ActiveSync technology, see the <a href="https://wiki.horde.org/ActiveSync">ActiveSync project page</a>.

\section{General information}
Syncing is beta quality code - to help fixing bugs and locating issues you need to be able to at least read logfiles! Testing is welcome; please report to the sync list (<a href="https://wiki.horde.org/mailto:sync@lists.horde.org">sync@lists.horde.org</a>), but please keep in mind that the code is still in development.

\begin{itemize}
\item You have to use at least Horde 3.2 and x.2 versions of the Horde applications, or Horde Groupware (Webmail Edition) 1.1, or the CVS version or a CVS snapshot. Horde 3.1.x or Horde Groupware 1.0.x won't do. The newer the Horde (Groupware) version, the better. Please note that if you are using a CVS checkout or snapshot, you have to run \texttt{framework/install-packages.php} to install the required packages into your PEAR path.


\item Client configuration is as follows:
\begin{itemize}
\item The sync URL is http(s)://pathtoyourhordeinstall/rpc.php


\item User name/password: your Horde account data


\item Databases (sometimes called remote settings or server path) should be calendar, tasks, notes, and contacts, but common default values from the various clients may work too. The default values in Funambol Client work just fine.


\end{itemize}

\end{itemize}
\section{Information for syncing with Outlook or Blackberry}
\begin{itemize}
\item You need the Funambol connector version 7.1.10 or later. Go to <a href="https://www.forge.funambol.org/download/">https://www.forge.funambol.org/download/</a> -> select your client software -> Download and install. (As of Jan 2012 the relevant application now appears to be the Funambol Windows Sync Client.)


\item Configure as mentioned above.


\item Make sure the server's certificate does validate when using https: Open the <a href="https://pathtoyourhordeinstall/rpc.php">https://pathtoyourhordeinstall/rpc.php</a> in Internet Explorer. If the server's certificate is not trusted or not valid, Funambol will not work!


\item Unfortunately, the Windows Mobile version 7.0.8 requires you to synchronize once with a Funambol server (such as <a href="http://my.funambol.com\">http://my.funambol.com\textbackslash\{\}</a>) before you are allowed to change settings. (reference?)


\item With cPanel installations of Horde, the Funambol client may fail to authenticate because \texttt{rpc.php} is not accessible without first logging into cPanel's webmail system, making syncing impossible. See <a href="http://forums.cpanel.net/f43/horde-groupware-syncml-rpc-php-174551.html">http://forums.cpanel.net/f43/horde-groupware-syncml-rpc-php-174551.html</a>


\end{itemize}
\section{Information for syncing PDAs with the Synthesis client}
\begin{itemize}
\item The Synthesis client is a commercial <a href="https://wiki.horde.org/SyncML">SyncML</a> client from <a href="http://www.synthesis.ch/">http://www.synthesis.ch/</a>. It is available for PocketPC, Windows Mobile, Smartphone and PalmOS. Stability and <a href="https://wiki.horde.org/SyncML">SyncML</a> conformance is very good. There's a 30 days trial version.


\item Uncheck the "only from 30 days before until 90 after today" setting, it will be ignored by Horde anyway.


\end{itemize}
\section{Information for syncing Horde with Evolution or KDE Akonadi}
How to configure Horde with SyncEvolution (based on Sync4j) : <a href="http://syncevolution.org/wiki/horde">http://syncevolution.org/wiki/horde</a><br />
SyncEvolution uses the open source <a href="http://www.synthesis.ch/indefero/index.php/p/libsynthesis/">libsynthesis</a> library.

\section{Sync clients being used succesfully}
If you are using Horde 3.3.7 or later and a recent <a href="https://wiki.horde.org/SyncML">SyncML</a> client, synchronisation generally work out of the box.<br />
Check the \textbf{<a href="https://wiki.horde.org/SyncML/CompatTable">compatibility table</a>}, informations below can be incomplete and quite old.

\begin{itemize}
\item Synthesis client


\item Sony Ericsson P800, P900, K800i, C902i, J105i (Naite)


\item Outlook with Funambol SyncClient PIM outlook 3.0.15


\item Nokia E51, E65, E60, E90, N70, N73, N80, N95, N97mini, E61, E61i, E71, 5800 XpressMusic, 6120 Classic, 9500 Communicator


\item Nokia N900 with Syncevolution


\item Samsung I8910 HD


\item Motorola RAZR v9 (only entries without non-ASCII characters)


\item Windows Mobile /w Funambol client 7.0.8 after some tinkering


\item Mozilla Thunderbird with Funambol Mozilla Sync Client <a href="https://mozilla-plugin.forge.funambol.org/">https://mozilla-plugin.forge.funambol.org/</a> (Linux only without page compression or Horde versions from September 2009 or later)


\item KAddressbook with Akonadi based data via Akunambol


\item KDE >= 4.6 Akonadi with SyncEvolution


\item Android phones via the funambol legacy client or forks, some experiences found <a href="http://www.hwahl.de/syncml_horde_android_funambol-client.html">here</a>


\end{itemize}
\section{FAQ}
\subsection{It's not working! I get a message like "Invalid response" on the phone or "Server returned error code -1" on Funambol clients}
There's a chance that <a href="https://wiki.horde.org/SyncML">SyncML</a> processing stopped due some PHP error in the server. We try to catch these errors, but sometimes they are passed to the phone so the phone gets confused because it doesn't receive a valid XML message. To catch even those error message, you need to make PHP log errors to a file: edit your \texttt{php.ini} and include a line like \texttt{error\_log = /var/log/php.log}. Then try a sync and check if anything comes up in this log.

Another common pitfall is a bug in some older Funambol clients: The clients propagate that they are able to handle "deflate" encoded HTTP traffic while in fact they don't. This affects e.g. the 6.0.x series of the Outlook Plugin, probably others too. This has been fixed with later versions, i.e. the 6.5.x Outlook Plugins. Either upgrade to a newer Funambol client, or configure your web server to \textit{not} send deflate encoded HTTP responses for the horde directory, even if the client tells to do so.

\subsection{It's not working! I get a "System Error!" on my mobile device when trying to synchronize}
Check the <a href="https://wiki.horde.org/SyncML">SyncML</a> Version that the device is trying to use. Version 1.2 gave this error, Version 1.1 worked without problems (Nokia E71 Symbian).

\subsection{It's not working with Funambol 7.0.8 (Windows Mobile) (first sync does not start)}
Funambol tries to sync a folder 'configuration' when a new server is added - old versions of rpc.php ignore this request, newer versions abort the process<br />
Quick Fix: Do a first sync with an older server (I used eGroupware 1.4 - its interface seems to be based on Horde's) and afterwards change the sync URL with a registry editor to the one you intend to use.<br />
Or even better, help fixing this problem: <a href="http://bugs.horde.org/ticket/8621">http://bugs.horde.org/ticket/8621</a>

\subsection{It's still not working! What can I do?}
Please follow the directions in <a href="https://wiki.horde.org/SyncML/ProblemReport">SyncML/ProblemReport</a> and report the problem to the sync mailing list.

\subsection{I Want to test syncing on my PC, does some Palm or PocketPC emulator exist and how do i use it?}
Please see the <a href="https://wiki.horde.org/PdaEmulators">PdaEmulators</a> page for info.

\subsection{Incorrect username or password}
Try performing a complete factory reset (worked for Nokia E71)<br />
For me worked to change the authorization from horde to imap. After that it worked perfectly.

\end{document}
