Greg Cawthorn wrote:
When one of our messaging subscribers receives a new message, we want to send them a Message Waiting Indicator (MWI) notification, which appears as an icon on a mobile phone or a stutter tone on a landline. When the message is read or deleted, we want to be able to clear the MWI from the phone. Since we may have several thousand subscribers per deployment we do not want our application to keep mail store connections open for each mailbox to be notified of new messages or changes to message flags. We are looking for a way to build a server-side agent for Courier that will receive triggers for all such message status changes in all mailboxes, from which we can then fire off a trigger to our application via something like a SOAP call.
What you're looking for is obviously very specific to your environment. I would imagine that the best way to achieve what you want is to monitor the mail log. When Courier logs a message delivered to a user, set the alert for them. When a user checks mail, that'll be logged, too, and you can clear the alert. IMAP wouldn't fit well in that model, because it doesn't already log when a message is read.
If IMAP is something that you want, I'd look into configuring maildrop to log each message's unique identifier (using "echo") to the maillog. You'd then have to make some minor modifications to the imap server so that it logged each message that a user reads.
------------------------------------------------------- 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 [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
