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 protected]", ""); > > 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 > [email protected] > > 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?
