| 101 | | # For creating new Rouncube users |
| 102 | | access to dn.one="ou=users,ou=rcabook,dc=localhost" attrs=userPassword |
| 103 | | by dn="cn=rcuser,dc=localhost" write |
| 104 | | |
| 105 | | # Grant the Roundcube user access to the whole addressbook |
| 106 | | access to dn.subtree="ou=rcabook,dc=localhost" |
| | 101 | # Grant the Roundcub user to create private users |
| | 102 | access to dn.one="ou=private,ou=rcabook,dc=localhost" attrs=userPassword |
| | 112 | # Grant the Roundcube user access to the whole addressbook |
| | 113 | access to dn.subtree="ou=rcabook,dc=localhost" |
| | 114 | by dn="cn=rcuser,dc=localhost" write |
| | 115 | |
| | 116 | # Grant the Roundcube users access to their private addressbooks |
| | 117 | access to dn.regex="^[^,]+,ou=contacts,cn=([^,]+),ou=private,ou=rcabook,dc=localhost$" |
| | 118 | by dn.exact,expand="cn=$1,ou=private,ou=rcabook,dc=localhost" write |
| | 119 | access to dn.regex="^[^,]+,ou=groups,cn=([^,]+),ou=private,ou=rcabook,dc=localhost$" |
| | 120 | by dn.exact,expand="cn=$1,ou=private,ou=rcabook,dc=localhost" write |
| | 121 | |