[Dovecot] Question about Dovecot-ACLs

Jan Phillip Greimann jg at softjury.de
Thu Jun 9 17:41:38 EEST 2011


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 at domain.tld", "lrwstipekxa");

The acl-file looks so:
   ~:> cat dovecot-acl
   user=email at domain.tld akxeilprwts

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?

Thanks,
Jan



More information about the dovecot mailing list