{"id":38,"date":"2016-08-29T21:20:38","date_gmt":"2016-08-29T21:20:38","guid":{"rendered":"http:\/\/haffi.is\/wp\/?p=38"},"modified":"2016-11-22T20:04:07","modified_gmt":"2016-11-22T20:04:07","slug":"how-to-install-policyd-on-zimbra-8-7","status":"publish","type":"post","link":"https:\/\/haffi.is\/wp\/?p=38","title":{"rendered":"How To Install PolicyD on Zimbra 8.7 !"},"content":{"rendered":"<p><strong>What is Policyd?<\/strong><\/p>\n<p>Policyd is an anti spam plugin.<\/p>\n<p><strong>How To Install Policyd on Zimbra 8.7 ? Running Centos 6 ?<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p># Activate Policyd WebUI<br \/>\nRun the following command as\u00a0<em><strong>root<\/strong><\/em><\/p>\n<pre>cd \/opt\/zimbra\/data\/httpd\/htdocs\/ &amp;&amp; ln -s ..\/..\/..\/common\/share\/webui<\/pre>\n<p>&nbsp;<\/p>\n<p>Edit file\u00a0\/opt\/zimbra\/common\/share\/webui\/includes\/config.php and putting \u201c#\u201d\u00a0on\u00a0front of all the lines beginning with $DB_DSN and adding the following line just before the line beginning with $DB_USER.<\/p>\n<p>nano \/opt\/zimbra\/common\/share\/webui\/includes\/config.php<\/p>\n<pre>$DB_DSN=\"sqlite:\/opt\/zimbra\/data\/cbpolicyd\/db\/cbpolicyd.sqlitedb\";<\/pre>\n<p>end with This enables the service.<\/p>\n<pre>su - zimbra\r\nzmprov ms `zmhostname` +zimbraServiceInstalled cbpolicyd +zimbraServiceEnabled cbpolicyd<\/pre>\n<p>Then Restart<\/p>\n<p>&nbsp;<\/p>\n<pre>su - zimbra -c \"zmcontrol restart\"\r\nsu - zimbra -c \"zmapachectl restart\"\r\n\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>You should have access now to your http:\/\/zimbraserver:7780\/webui\/index.php<\/p>\n<p>Ofc you need now to config the policyd however I will not going into that here<\/p>\n<p>Note if you disabled IPV6 on your server policyd will not start, so it needs enabling ipv6 even if your not using it..<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is Policyd? Policyd is an anti spam plugin. How To Install Policyd on Zimbra 8.7 ? Running Centos 6 ? &nbsp; # Activate Policyd WebUI Run the following command as\u00a0root cd \/opt\/zimbra\/data\/httpd\/htdocs\/ &amp;&amp; ln -s ..\/..\/..\/common\/share\/webui &nbsp; Edit file\u00a0\/opt\/zimbra\/common\/share\/webui\/includes\/config.php and putting \u201c#\u201d\u00a0on\u00a0front of all the lines beginning with $DB_DSN and adding the following line &hellip; <a href=\"https:\/\/haffi.is\/wp\/?p=38\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">How To Install PolicyD on Zimbra 8.7 !<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-38","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/haffi.is\/wp\/index.php?rest_route=\/wp\/v2\/posts\/38","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/haffi.is\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/haffi.is\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/haffi.is\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/haffi.is\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=38"}],"version-history":[{"count":2,"href":"https:\/\/haffi.is\/wp\/index.php?rest_route=\/wp\/v2\/posts\/38\/revisions"}],"predecessor-version":[{"id":47,"href":"https:\/\/haffi.is\/wp\/index.php?rest_route=\/wp\/v2\/posts\/38\/revisions\/47"}],"wp:attachment":[{"href":"https:\/\/haffi.is\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=38"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/haffi.is\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=38"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/haffi.is\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=38"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}