I am looking at implementing a read-only (as far as the users are concerned, messages get posted through other means) web based message system by useing a modified webmail client and cyrus (via LMTP from the message generator server). Idealy I would like to set something up on the cyrus server that would send out a 'your got a message' mail when a message is put into a mailbox, but then not send another message until the person logs in. I can watch syslog to find when they login, is there any way to use sieve to detect a new message? (I seem to remember something about sieve haveing a unix domain socket it could work with for output-only stuff, but don't see anything about it on the sieve page).
am I making a mistake in thinking of sieve at all? should I just implement this with a syslog watcher that looks for the lmtp delivery and the imap login instead? if I can't do the one message until they check it I need to at least be able to throttle the messages to one per (whatever time period). David Lang