What is Policyd?
Policyd is an anti spam plugin.
How To Install Policyd on Zimbra 8.7 ? Running Centos 6 ?
# Activate Policyd WebUI
Run the following command as root
cd /opt/zimbra/data/httpd/htdocs/ && ln -s ../../../common/share/webui
Edit file /opt/zimbra/common/share/webui/includes/config.php and putting “#” on front of all the lines beginning with $DB_DSN and adding the following line just before the line beginning with $DB_USER.
end with This enables the service.
su - zimbra zmprov ms `zmhostname` +zimbraServiceInstalled cbpolicyd +zimbraServiceEnabled cbpolicyd
su - zimbra -c "zmcontrol restart" su - zimbra -c "zmapachectl restart"
You should have access now to your http://zimbraserver:7780/webui/index.php
Ofc you need now to config the policyd however I will not going into that here
Note if you disabled IPV6 on your server policyd will not start, so it needs enabling ipv6 even if your not using it..
6 thoughts on “How To Install PolicyD on Zimbra 8.7 !”
Thanks for your post!!
The correct port (in my case) using Zimbra 8.7 is 7780.
$ zmcontrol -v
Release 8.7.0.GA.1659.UBUNTU14.64 UBUNTU14_64 FOSS edition.
Thanks, it was a typo on mybehalf, corrected it here.
Help me a lot your post, but have a little mistake with the access port, the correct is 7780 and not 7080, the correct path is like this –> http://zimbraserver:7780/webui/index.php
Thanks a looooot,
Thanks ! I corrected it, was a typo
Thanks for the post. When ipv6 is disabled, I think you have to comment the following line in /etc/hosts. Then cbpolicyd should start.
#::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
how can i change sqlite to mysql on another host ?