Hi there,

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

For this i use imap_setacl() like this example:
  imap_setacl($mbox,"INBOX/test", "[email protected]", "lrwstipekxa");

The acl-file looks so:
  ~:> cat dovecot-acl
  [email protected] akxeilprwts

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?

Thanks,
Jan

Reply via email to