Configuring instant messaging in Zarafa WebApp

From Zarafa wiki

The Zarafa WebApp includes a instant messaging plugin from revision 31187.
The instant messaging plugin allow you to see the presence of your colleagues and start a chat conversation with them.

The instant messaging has to be integrated with an existing XMPP/Jabber server.

This howto describes how the instant messaging plugin can be integrated with an ejabberd server.

WebApp configuration

The instant messaging (xmpp) plugin is by default available in the WebApp plugins directory.
To configure the xmpp plugin insert the jabber domain in the option PLUGIN_XMPP_CONNECT_DOMAIN in the config.php in the xmpp plugin directory.

There is at the moment no way of authenticating the user from the jabber client itself, this has to be done at the webapp login session.

Apache configuration

The jabber webapp client is using the http-bind method for realtime notifications.
To support this, the Apache configuration has proxy some http-bind urls.

Include in the /etc/apache2/sites-enabled/zarafa-webapp the following 2 lines:

To verify if the changes are active, please go to http://servername/http-bind.
This should redirect you to the ejabberd http-bind page.
If this doesn't happen, please check if proxy passing is enabled in

/etc/apache2/mod-enabled/proxy.conf.

ejabberd configuration

For the ejabberd setup the authentication method has to be extended with a custom script.
Please add to the ejabber.cfg this lines: