{"id":810,"date":"2018-01-31T10:17:37","date_gmt":"2018-01-31T04:47:37","guid":{"rendered":"https:\/\/www.coimbatorewebhosting.com\/blog\/?p=810"},"modified":"2018-03-30T17:00:48","modified_gmt":"2018-03-30T11:30:48","slug":"how-to-add-global-address-book-plugin-to-round-cube","status":"publish","type":"post","link":"https:\/\/coimbatorewebhosting.com\/blog\/how-to-add-global-address-book-plugin-to-round-cube\/","title":{"rendered":"How to add global address book plugin to Round cube."},"content":{"rendered":"<p>Round cube is a web based IMAP email client and is a free and open source web mail solution.<\/p>\n<p>And it is user interface which is easy to install\/configure and that runs a standard LAMPP server.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/coimbatorewebhosting.com\/blog\/how-to-add-global-address-book-plugin-to-round-cube\/#How_to_install_add_Global_Address_book_plugin_to_Roundcube\" >How to install \/ add Global Address book plugin to Roundcube<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/coimbatorewebhosting.com\/blog\/how-to-add-global-address-book-plugin-to-round-cube\/#1Prerequisites_for_installing\" >1.Prerequisites for installing<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/coimbatorewebhosting.com\/blog\/how-to-add-global-address-book-plugin-to-round-cube\/#2Installing_Adding_Global_Address_Book_plugin\" >2.Installing \/ Adding Global Address Book plugin<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/coimbatorewebhosting.com\/blog\/how-to-add-global-address-book-plugin-to-round-cube\/#3Configuring_Global_Address_Book_plugin\" >3.Configuring Global Address Book plugin<\/a><\/li><\/ul><\/nav><\/div>\n<h4><span class=\"ez-toc-section\" id=\"How_to_install_add_Global_Address_book_plugin_to_Roundcube\"><\/span><strong>How to install \/ add Global Address book plugin to Roundcube<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>Here we are going see, how to add global addressbook plugin to our Roundcube webmail client.<\/p>\n<p>This plugin adds an SQL based global address book to our Roundcube. It can be global per installation, per IMAP host.<\/p>\n<h4 id=\"prerequisites\"><span class=\"ez-toc-section\" id=\"1Prerequisites_for_installing\"><\/span>1.Prerequisites for installing<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ul>\n<li>CentOS 7 with Roundcube installation.<\/li>\n<li>root privileges.<\/li>\n<\/ul>\n<h4><span class=\"ez-toc-section\" id=\"2Installing_Adding_Global_Address_Book_plugin\"><\/span><strong>2.Installing \/ Adding Global Address Book plugin<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>Download the Plugin in the below URL<\/p>\n<pre>https:\/\/github.com\/johndoh\/roundcube-globaladdressbook\/archive\/master.zip<\/pre>\n<ul>\n<li>Place this plugin folder into <a  href=\"https:\/\/www.coimbatorewebhosting.com\/blog\/how-to-install-drupal-with-php-7-on-centos-7-vps\/\" title=\"plugins directory\" alt=\"plugins directory\">plugins directory<\/a> of Roundcube<\/li>\n<li>Add globaladdressbook to $config[\u2018plugins\u2019] in your Roundcube config<\/li>\n<\/ul>\n<p><strong>Note :&nbsp;<\/strong>When downloading the plugin from the above URL you will need to create a directory in the name \u201cglobaladdressbook\u201d where the roundcube is installed and place the files in there.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"3Configuring_Global_Address_Book_plugin\"><\/span><strong>3.Configuring Global Address Book plugin<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>As default, the config file is<code>plugins\/globaladdressbook\/config.inc.php.dist<\/code>, we need to rename this to&nbsp;<code>plugins\/globaladdressbook\/config.inc.php<\/code><\/p>\n<p><strong>\u2018username\u2019<\/strong><\/p>\n<p>This is the name of the dummy user which holds the global address book. The username does not have to belong to a valid email account. The username will be stored in the Roundcube <a  href=\"https:\/\/www.coimbatorewebhosting.com\/blog\/how-to-prevent-breaking-your-live-website-using-staging-feature-in-softaculous\/\" title=\"database\" alt=\"database\">database<\/a> but will not be able to log into Roundcube unless it belongs to a valid email account on your server.<\/p>\n<p>To create a single global address book for everyone who access Roundcube set this options to \u2018[global_addressbook_user]\u2019<\/p>\n<p>To create a global address book per email domain which Roundcube serves set this options to \u2018global_addressbook@%d\u2019<\/p>\n<p>The username can contain the following macros that will be expanded as follows:<\/p>\n<ul>\n<li>%d is replaced with the domain part of the logged in user\u2019s username<\/li>\n<li>%h is replaced with the imap host (from the session info)<\/li>\n<\/ul>\n<p><strong>\u2018perms\u2019<\/strong><\/p>\n<p>Restrict the actions that can be performed by users in the global address book<\/p>\n<ul>\n<li>0 \u2013 global address book is read only<\/li>\n<li>1 \u2013 users can add, edit and delete contacts (full permissions)<\/li>\n<li>2 \u2013 users can add but not edit or delete contacts<\/li>\n<li>3 \u2013 users can add and edit but not delete contacts<\/li>\n<\/ul>\n<p><strong>\u2018force_copy\u2019<\/strong><\/p>\n<p>Always copy a contact from the global address book to another one, for example when using drag \u2018n drop. Default behaviour is to move the contact.<\/p>\n<p><strong>\u2018groups\u2019<\/strong><\/p>\n<p>Should contact groups be available in the global address book<\/p>\n<p><strong>\u2018admin\u2019<\/strong><\/p>\n<p>The admin is a user or users who will always have full read\/write access even if the address book is set to read only. The follow options are available:<\/p>\n<ul>\n<li>To set a single user as admin then <a  href=\"https:\/\/www.coimbatorewebhosting.com\/blog\/understanding-of-web-hosting\/\" title=\"enter\" alt=\"enter\">enter<\/a> their username as a string like: \u2018<a href=\"mailto:admin@domain.com\">admin@domain.com<\/a>\u2018<\/li>\n<li>If you wish give admin rights to multiple users then enter the usernames in an array like: array(\u2018<a href=\"mailto:admin1@domain.com\">admin1@domain.com<\/a>\u2018, \u2018<a href=\"mailto:admin2@domain.com\">admin2@domain.com<\/a>\u2018)<\/li>\n<li>You can also use regular expressions to match the admin username, regular expressions must be started and finished with a \u2018\/\u2019. Eg: \u2018\/^admin@\/\u2019<\/li>\n<\/ul>\n<p><strong>\u2018autocomplete\u2019<\/strong><\/p>\n<p>Show contacts from this book in the auto complete menu when composing an email<\/p>\n<p><strong>\u2018check_safe\u2019<\/strong><\/p>\n<p>Use addresses in the global address book to identify known senders before displaying remote inline images in HTML messages (in addition to other configured address books).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Round cube is a web based IMAP email client and is a free and open source web mail solution. And it is user interface which is easy to install\/configure and that runs a standard LAMPP server. How to install \/ add Global Address book plugin to Roundcube Here we are [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":895,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[17,3,1],"tags":[],"class_list":["post-810","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-general","category-linux","category-latest"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/coimbatorewebhosting.com\/blog\/wp-content\/uploads\/2018\/01\/Roundcube.jpg","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pa2YU7-d4","_links":{"self":[{"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/posts\/810","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/comments?post=810"}],"version-history":[{"count":0,"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/posts\/810\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/media\/895"}],"wp:attachment":[{"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/media?parent=810"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/categories?post=810"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/coimbatorewebhosting.com\/blog\/wp-json\/wp\/v2\/tags?post=810"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}