[Dovecot] Keeping \Seen flag private
Imobach González Sosa
imobachgs at banot.net
Fri Jun 27 22:12:22 EEST 2008
El Friday 27 June 2008 19:32:52 Adam McDougall escribió:
> Adam McDougall wrote:
> > 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;
>
> Actually sorry, I might have gotten that backwards. You should be able
> to use the ACL plugin to disallow users to update Seen.
Thanks anyway :)
There's no problem in disallowing the users to update the Seen flag. What I
want is that every user have their own Seen flags.
Regards,
--
Imobach González Sosa
Banot.net
http://www.banot.net/
More information about the dovecot
mailing list