This is a discussion on Re: [courier-users] Mail event notifications within the Courier-Imap forums, part of the Mail Servers and Related category; Sam Varshavchik wrote: > Greg Cawthorn writes: > >> Does Courier provide a mechanism for providing mail store event &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Sam Varshavchik wrote:
> 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. > We have a messaging application that would need to support notification for tens or possibly hundreds of thousands of mailboxes, and we would therefore like to avoid having to have an IMAP connection open for each mailbox. Is there a way with Courier for us to build a server agent that receives triggers for new mail and similar events, which could then fire off a notification to our application? ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users |