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


Comments

Popular posts from this blog

How to Install Python 3.13

Best Linux Distros for AI in 2025

How to Play Minecraft Bedrock Edition on Linux: A Comprehensive Guide for Tech Professionals