[Dovecot] Keeping \Seen flag private

Adam McDougall mcdouga9 at egr.msu.edu
Fri Jun 27 21:24:53 EEST 2008


Imobach González Sosa wrote:
> Hi all,
>
> I wanna to set up shared folders for a couple of users and I'd like that 
> everyone could keep the \Seen flag as private. So if user #1 reads some 
> messages and user #2 not, those messages appear as "unseen" to #2 and "seen" 
> to #1.
>
> I've implemented shared folders using namespaces with every user having their 
> own "control" and "private" directories. But all the flags (\Seen included) 
> are "shared".
>
> Am I on the right path? Some tip or documentation?
>
> Oh, I almost forgot: using dovecot 1.0.13 (from Debian Etch backports).
>
> Thank you in advance!
>
>   
 From Timo, I wanted the same thing so I patch the source each time:

src/lib-storage/index/maildir/maildir-storage.c

near line 428,
change:
               mbox->ibox.box.private_flags_mask = MAIL_SEEN;
to:
               mbox->ibox.box.private_flags_mask = 0;


More information about the dovecot mailing list