I have a couple customers also interested, but so far not found the time to create the script.
The script is a little more complicated, as it probably should imitate what we currently do with Dovecot:
- EGroupware stores push tokens as IMAP metadata
- push script checks metadata for tokens
- if there are tokens, it pushes the event to them (http request to push server with credentials, token and payload)
An example is the Lua script for Dovecot 2.3 in our wiki, though no requirement for Lua, it can be any language, but it need to be adapted to Cyrus …
Ralf