Huu Phan | Blog Linux operating system | Linux operating system -Blog Huu Phan | www.huuphan.com
huuphan.com. Powered by Blogger.

How To Install CBPolicyd on Zimbra 8.6

Step 1: To active cbpolicyd on zimbra 8.6

$su - zimbra
$zmprov ms `zmhostname` +zimbraServiceInstalled cbpolicyd +zimbraServiceEnabled cbpolicyd

Step 2: To acctive cbpolicyd webui

cd /opt/zimbra/httpd/htdocs/ && ln -s ../../cbpolicyd/share/webui
vim /opt/zimbra/cbpolicyd/share/webui/includes/config.php
To add "$DB_DSN="sqlite:/opt/zimbra/data/cbpolicyd/db/cbpolicyd.sqlitedb";" in config.php file.
The ouput:
#$DB_DSN="mysql:host=localhost;dbname=cluebringer";
$DB_DSN="sqlite:/opt/zimbra/data/cbpolicyd/db/cbpolicyd.sqlitedb";
$DB_USER="root";
#$DB_PASS="";
$DB_TABLE_PREFIX="";

Step 3: To restart services

su - zimbra -c "zmcontrol restart"
su - zimbra -c "zmapachectl restart"

Step 4: To access cbpolicyd webui.


http://IP-OF-Zimbra:7780/webui/index.php
How To Install CBPolicyd on Zimbra 8.6


post new :

Huu Phan | Blog Linux operating system | Huu Phan ~ Zimbra Mail Server,linux,bash script,centos,linux command | www.huuphan.com