[Dovecot] Question about Dovecot-ACLs

Timo Sirainen tss at iki.fi
Mon Jun 13 16:46:29 EEST 2011


On Thu, 2011-06-09 at 16:41 +0200, Jan Phillip Greimann wrote:

> i try to create an php-script to control acl's for public folders 
> without file-manipulation.

I don't know about PHP, but

> But i have a problem with the follow function:
>    imap_setacl($mbox,"INBOX/test", "email at domain.tld", "");
> 
> This command only delete the rights from the email, not the whole entry 
> in my dovecot-acl file.
> 
> Now my acl-file looks like this:
>    ~:> cat dovecot-acl
>    user=email at domain.tld
> 
> Did this affect dovecot by any way?

This is intentional. You remove user's all access that way. To delete
ACLs you'd need to use DELETEACL command. Maybe there's an
imap_deleteacl() function in PHP?




More information about the dovecot mailing list