[Dovecot] Public Namespace and ACLs with pure virtual users
Timo Sirainen
tss at iki.fi
Mon Jun 4 05:50:01 EEST 2007
On Sun, 2007-06-03 at 22:26 -0400, Adam McDougall wrote:
> On Mon, Jun 04, 2007 at 04:28:56AM +0300, Timo Sirainen wrote:
>
> ACL plugin shouldn't have anything to do with that decision. The \Seen
> flag is stored privately if you have created dovecot-shared file to the
> maildir.
>
> Is it possible to have dovecot enforce the file mode and group owner of
> inserted mails without causing flags to be stored privately? Its looking
> like I will have to use a cron job to fix file permissions on mails added
> to shared mail folders by imap clients. I'd be willing to implement a
> local permanent patch but I haven't looked into how easy it would be yet
> because I did not (until now) realize that this behavior was intended.
src/lib-storage/index/maildir/maildir-storage.c around line 539:
mbox->private_flags_mask = MAIL_SEEN;
Set that to 0.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070604/df2b2959/attachment.bin
More information about the dovecot
mailing list