I'm looking at getting Zimbra to send an event to another system, saying that new mail has arrived for a particular user/folder, or that mail has been deleted for a particular user/folder (and hopefully the ids of the messages which were deleted).
Is there some way of doing this in the current architecture?
If not, how would you go about implementing this?
To give a little more information, I have another system which wants to be always in sync with what is stored on zimbra, so rather than polling Zimbra (which is not really scalable), I prefer to go for an event model in which I am notified when new mail arrives. I have considered using IMAP Idle for this but it requires having a connection open, which again is not a scalable solution for large numbers of users.
Any thought would be really appreciated.