Cbpolicyd configurations: Difference between revisions

No edit summary
(cbpolicyd configuration)
Line 29: Line 29:


* Log on to http://server-ip:7780/webui/index.php to configure the Policy Settings
* Log on to http://server-ip:7780/webui/index.php to configure the Policy Settings
References:
* http://bugzilla.zimbra.com/show_bug.cgi?id=8791#c28
* http://bugzilla.zimbra.com/show_bug.cgi?id=39093
* http://wiki.zimbra.com/wiki/Postfix_Policyd
[[Category:policyd]]
[[Category:Customizing ZCS]]
[[Category:policyd configuration]]

Revision as of 11:27, 28 June 2011

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