13 Jun
2011
13 Jun
'11
4:46 p.m.
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@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@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?