Bash Scripts for cbpolicyd

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Bash Scripts for CBPolicyD

   KB 20646        Last updated on 2023-01-18  

(0 votes)
24px ‎  - This is Zeta Alliance Certified Documentation. The content has been tested by the Community.


Automated cbpolicd installer for single-server. Tested on Zimbra 8.8.15 p7 CentOS7, Zimbra 9.0.0 p29 CentOS 7, Zimbra 9.0.0 patch 29 on Ubuntu 20, Zimbra 10 on Ubuntu 20.

  • Installs policyd on MariaDB or MySQL (shipped with Zimbra) and show commands on how to activate on Zimbra
  • No webui is installed

You can download the script from here and run it as root:

You can use mysqldump to make backups of your policyd database. It is recommended you keep a copy of the up-to-date with your custom policies and rules so that you can easily re-install policyd on Zimbra upgrades or in disaster recovery situations. You can also install policyd on a separate MariaDB server that way you can have multiple Zimbra MTA nodes talk to the same policyd database.

Jump to: navigation, search