Greg Cawthorn writes:
Does Courier provide a mechanism for providing mail store event notifications to third party software via something like HTTP or a web service call? I need to detect new mail and changes to existing message flags (messages being seen or deleted) in a mail-based application but am keen to avoid having to poll mailboxes since this would need to scale to a large user base.If this doesn't exist is there an API to write a plug-in for Courier to perform this functionality?
The closest would be the IMAP IDLE command, with FAM enabled on the server. With FAM enabled, and an outstanding IDLE command from the client, the IMAP client will be notified immediately about any change in status of the currently open folder.
See the IMAP specification, and Courier's installation notes regarding both subjects.
pgpbuwwEKTKaK.pgp
Description: PGP signature
