Re: [Dovecot] Permanent flags not announced and public mailbox with per-user index

2010-05-31 Thread Julien Danjou
On Mon, May 31 2010, Julien Danjou wrote: > My bad, Timo. It does work on some mailboxes actually. > > It seems I've some mailbox (even in the same directory) that are > different and where it does not work, but I don't know why yet. Answer is that I missed the `dovecot-shared' files in the direc

Re: [Dovecot] Permanent flags not announced and public mailbox with per-user index

2010-05-31 Thread Julien Danjou
On Mon, May 31 2010, Timo Sirainen wrote: > Actually a side effect of that change is that it also changes > PERMANENTFLAGS. Dovecot's PERMANENTFLAGS handling is a bit stupid now I > guess. It either has all or nothing. My bad, Timo. It does work on some mailboxes actually. It seems I've some mai

Re: [Dovecot] Permanent flags not announced and public mailbox with per-user index

2010-05-31 Thread Julien Danjou
On Mon, May 31 2010, Timo Sirainen wrote: > Actually a side effect of that change is that it also changes > PERMANENTFLAGS. Dovecot's PERMANENTFLAGS handling is a bit stupid now I > guess. It either has all or nothing. I've tried the patch applying it on dovecot 1.2.11. Unfortunately, the mailbox

Re: [Dovecot] Permanent flags not announced and public mailbox with per-user index

2010-05-31 Thread Timo Sirainen
On ma, 2010-05-31 at 13:26 +0200, Julien Danjou wrote: > > I think the main bug is that maildir is thought to be read-only. IMAP > > ACL RFC says READ-ONLY shouldn't be returned unless nothing can be > > changed. Does this help? > > http://hg.dovecot.org/dovecot-1.2/rev/c2c1639b91ee > > It will no

Re: [Dovecot] Permanent flags not announced and public mailbox with per-user index

2010-05-31 Thread Julien Danjou
On Tue, May 25 2010, Timo Sirainen wrote: > On Thu, 2010-05-20 at 16:44 +0200, Julien Danjou wrote: > >> However, when selecting the mailbox, system flags are not announced as >> permanent but only as session flags: > > Yeah, that's a bug I guess.. > >> 3445 OK [READ-ONLY] Select completed. > .. >

Re: [Dovecot] Permanent flags not announced and public mailbox with per-user index

2010-05-25 Thread Timo Sirainen
On Thu, 2010-05-20 at 16:44 +0200, Julien Danjou wrote: > However, when selecting the mailbox, system flags are not announced as > permanent but only as session flags: Yeah, that's a bug I guess.. > 3445 OK [READ-ONLY] Select completed. .. > Even if it's true that the Maildir is read-only, it's

[Dovecot] Permanent flags not announced and public mailbox with per-user index

2010-05-20 Thread Julien Danjou
Hi, I've a set of public mailboxes that all users can access. The index is stored per user, so each user can mark the message as read for themselves. This is with dovecot 1.2.10. However, when selecting the mailbox, system flags are not announced as permanent but only as session flags: 3619 SEL