Cbpolicyd configurations

Revision as of 11:27, 28 June 2011 by Santosh rao99 (talk | contribs) (cbpolicyd configuration)
Attention.png - 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

References:

Jump to: navigation, search