[Dovecot] ACL problem

SZÉKELYI Szabolcs cc at mail.3d.hu
Tue Mar 16 22:26:01 EET 2010


Hi Timo,

thanks for your reply.

On Tuesday 16 March 2010 20.52.51 Timo Sirainen wrote:
> On Tue, 2010-03-02 at 01:43 +0100, SZÉKELYI Szabolcs wrote:
> > Hey,
> >
> > I seem to have a problem with ACLs. I'm trying to use them on shared
> > folders those work fine without it. But as soon as I enable the plugin
> > and create the dovecot-acl files, they disappear.
> 
> What disappears? The mailboxes?

No, they stay in place. I mean they disappear from the folder list as seen on 
the IMAP client. It's not a client-side caching issue, I requested the folder 
list from the server using IMAP commands by hand (with telnet), and they don't 
show up if I enable ACLs.

> > I used strace to see if there's a problem
> > with file permissions, but it looks like Dovecot doesn't even attempt to
> > access the dovecot-acl file in the maildir, only the dovecot-acl-list
> > files.
> 
> Did you try deleting the dovecot-acl-list file? That causes it to be
>  rebuilt.

Yes, I deleted them before every check I did. The strange thing is that it 
never makes an attempt to open a file named dovecot-acl inside the shared 
folder's maildir. It tries to access dovecot-acl-list files however (which it 
shouldn't; it should look for such files in the control directory, right?).

> > namespace:
> >   type: public
> >   separator: /
> >   prefix: Logs/
> >   location: maildir:/data/mail/logs:LAYOUT=fs:INDEX=~/.imap-
> > public/Logs:CONTROL=~/.imap-public/Logs
> >   list: yes
> 
> You should also add subscriptions=no, unless you want to force all users
> to have the same subscriptions for public mailboxes.

Thanks, done, but ACLs still don't work as I expect.

Any other idea? If I disable the ACL plugin, everything works.

Thanks,
-- 
cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://dovecot.org/pipermail/dovecot/attachments/20100316/d20ba75a/attachment.bin 


More information about the dovecot mailing list