[Dovecot] Per-user seen flags for public read-only mailboxes
Guido Berhoerster
guido+dovecot.org at berhoerster.name
Mon Mar 25 16:40:16 EET 2013
* Timo Sirainen <tss at iki.fi> [2013-03-25 13:29]:
> On Mon, 2013-03-25 at 11:59 +0100, Guido Berhoerster wrote:
> > > Which are the permissions of file '/srv/mail/public/dovecot-shared' ???
> >
> > -rw-r-----. 1 vmail vmail 0 Mar 25 10:22 /srv/mail/public/dovecot-shared
> >
> > So readable by dovecot, even if they weren't the seen flag should
> > be set on the actual mailbox I suppose.
> >
> >
> > > Did you try with a new user ??
> >
> > Yeah, I created a new user and also tried removing
> > dovecot-acl-list to no avail. Is there any cache that might cause
> > the ACL not to be updated?
> >
> > Is "authenticated lrs" in the dovecot-acl correct for a read-only
> > mailbox for which only the seen flag can be set?
>
> Find out if the problem is setting the seen flag, or something more
> generic with ACLs. So easiest way to test private seen flags: Disable
> ACL plugin.
Disabling the ACL plugin makes it work and the seen flags are
stored per-user. So it is apparently a problem with ACLs.
Here is the contents of the only mailbox in the Public/ namespace:
drwxrwx---. 3 root vmail 4096 Mar 25 15:31 /srv/mail/public
-rw-rw----. 1 vmail vmail 36 Mar 25 10:41 /srv/mail/public/dovecot-acl
-rw-rw----. 1 vmail vmail 0 Mar 25 15:31 /srv/mail/public/dovecot-acl-list
-rw-------. 1 vmail vmail 30 Mar 25 15:27 /srv/mail/public/maildirsize
drwxrwx---. 5 vmail vmail 4096 Mar 25 15:32 /srv/mail/public/Test
-rw-rw----. 1 vmail vmail 36 Mar 25 10:41 /srv/mail/public/Test/dovecot-acl
drwxrwx---. 2 vmail vmail 4096 Mar 25 15:27 /srv/mail/public/Test/tmp
drwxrwx---. 2 vmail vmail 4096 Mar 25 15:27 /srv/mail/public/Test/cur
-rw-rw----. 1 vmail vmail 592 Mar 9 15:17 /srv/mail/public/Test/cur/634c300070443b517913000020523daa:2,S
-rw-rw----. 1 vmail vmail 556 Mar 13 19:13 /srv/mail/public/Test/cur/626be511e4c14051bf1a000020523daa:2,S
drwxrwx---. 2 vmail vmail 4096 Mar 25 15:24 /srv/mail/public/Test/new
-rw-rw----. 1 vmail vmail 0 Mar 25 15:24 /srv/mail/public/Test/dovecot-shared
-rw-rw----. 1 vmail vmail 123 Mar 25 15:27 /srv/mail/public/Test/dovecot-uidlist
-rw-r-----. 1 vmail vmail 0 Mar 25 10:22 /srv/mail/public/dovecot-shared
-r--r--r--. 1 vmail vmail 0 Mar 25 15:26 /srv/mail/public/dovecot-uidvalidity.51505eac
-rw-rw----. 1 vmail vmail 8 Mar 25 15:26 /srv/mail/public/dovecot-uidvalidity
$ cat /srv/mail/public/dovecot-acl /srv/mail/public/Test/dovecot-acl
owner lrwstipekxa
authenticated lrs
owner lrwstipekxa
authenticated lrs
ACL related configuration:
mail_plugins = " acl quota trash zlib"
plugin {
acl = vfile
...
}
protocol lmtp {
mail_plugins = " acl quota trash zlib sieve"
}
protocol lda {
mail_plugins = " acl quota trash zlib sieve"
}
protocol imap {
mail_plugins = " acl quota trash zlib autocreate imap_acl imap_quota imap_zlib"
}
Any idea what the problem could be here?
--
Guido Berhoerster
More information about the dovecot
mailing list