Zentyal/openchange — pull request #100 by kamenim (2014-09-23 13:41:02+00:00)
Title: Notification service implementation based on RabbitMQ

### Goal

As discussed offline, this feature is going to enter Zentyal/openchange first
until we manage to resolve all issues in merging it with openchange/openchange master.

Just a reminder, issues we had so far:
* travis-ci runs on Ubuntu 12.04 and we have problem with rabbitQM and Json-C packets
(very old versions).
* OpenSSL doesn't fit together with GPL v3 - we should opt for GNU TLS i guess

### Description

This is going to work in conjuction with Dovecot plugin for Openchange
and also notification consumer implemented in Openchange

So we have:
* Dovecot plugin for Openchange. Whenever new message arrives,
it pushes a message in RabbitMQ
* Daemon (provided by this patch) listens for such RMQ messages
and register them into mapistore indexing
* When message is registered we publish RMQ message into
user specific queue
* TODO: A consumer in Openchage layer consumes such messages
and notify Outlook for changes - not fully implemented yet.

NOTE: We should have RMQ message handler implemented into Openchange
for this to work.