Cbpolicyd configurations
- This article is NOT official Zimbra documentation. It is a user contribution and may include unsupported customizations, references, suggestions, or information. |
Enable cbpolicyd and use the built-in Web UI for adding new rules using Sqlite
- Adding the cbpolicyd to the services
zmprov ms `zmhostname` +zimbraServiceInstalled cbpolicyd +zimbraServiceEnabled cbpolicyd
zmcbpolicydctl start
- Configure the Web UI (using the http container for spell)
ln -s ~zimbra/cbpolicyd/share/webui ~zimbra/httpd/htdocs/
- Edit the WebUI configuration for adding the Sqlite DB connector
cd /opt/zimbra/httpd/htdocs/webui/includes Edit config.php Comment the "$DB_DSN=mysql" line and add a line for Sqlite Add this - $DB_DSN="sqlite://///opt/zimbra/data/cbpolicyd/db/cbpolicyd.sqlitedb";
- Restart aspell
zmspellctl restart
- Log on to http://server-ip:7780/webui/index.php to configure the Policy Settings
This should bring up the cbpolicyd configurations page