Mail notification system with cyrus

Scott Russell lnxgeek at us.ibm.com
Thu Oct 17 02:24:29 EDT 2002


On Thu, Oct 17, 2002 at 08:45:13AM +0700, Do Duc Huy wrote:
> Hi all, can you help me?
> I 've used postfix and cyrus for my email system. Now, I want to create a mail alert system to notice user when they have new mails. I 'll create a deamon run in mail server and user 'll have a client running in their system. But now, I don't know how to get exactly information about new mail comming in email system. I 've used two solutions below but each solution still have some weeknesses.
>  
> 1. The first solution, my deamon will connect to imap server and get information about new email for each account. This solution give correct information but it make system to slowly.
> 2. The second solution, I use forward method of postfix and forward a copy of new email to alert server. This solution is greate, but some time, the information I have was not correct, for example, when an account was over quota, there was no new email can be received but the coppy one still forward to my deamon, so the deamon notice user "you 've got new mail" while nothing "new" in his mailbox.
> 

For any user that wants to be notified of new mail setup a sieve
script and use the notify extension. 

-- 
  Scott Russell (lnxgeek at us.ibm.com)
  Linux Technology Center, System Admin, RHCE.
  Dial 877-735-8200 then ask for 919-543-9289 (TTY)





More information about the Info-cyrus mailing list