Need advice: mailbox-based \Seen flag

Ken Murchison murch at andrew.cmu.edu
Thu Aug 30 23:26:39 EDT 2007


Boris Lytochkin wrote:
>> My quick thoughts would be the following:
> 
>> - Add a 'sharedseen' mailbox attribute as you suggest (as a mailbox 
>> annotation)
> 
>> - When a mailbox is opened that has this annotation enabled, we open the
>> seen state database for the special 'anyone' user instead of the 
>> authorized user.  This would allow using the same API with minimal 
>> changes.  Perhaps we could come up with a better userid then 'anyone' 
>> but its already reserved as special via ACL.
> 
> It will work as long as we want to use shared folder for every user.
> As soon as we want to restrict access to a set of users, this would not
> work.

That's what the 's' right is for.  Only give 's' to those users that you 
want to be able to mark messages as seen.

> 
> Let me explain why I need this. There is an account that gets all
> root and robot mail. So shared \Seen would have meaning of 'this mail
> has been read by admins'. That is why I need to restrict access to
> these shared folders.


-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University


More information about the Cyrus-devel mailing list