{"id":982,"date":"2018-02-09T09:31:55","date_gmt":"2018-02-09T09:31:55","guid":{"rendered":"https:\/\/www.newdelhihosting.co.in\/blog\/?p=982"},"modified":"2018-02-23T13:28:57","modified_gmt":"2018-02-23T13:28:57","slug":"adding-global-address-book-plugin-to-roundcube","status":"publish","type":"post","link":"https:\/\/www.newdelhihosting.co.in\/blog\/adding-global-address-book-plugin-to-roundcube\/","title":{"rendered":"Adding global address book plugin to Roundcube"},"content":{"rendered":"<p>How to Install\/add Global Address Book plugin to Roundcube:-<\/p>\n<p>&nbsp;<\/p>\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 installtion IMAP host.<\/p>\n<p>Prerequisites for installing:-<\/p>\n<p>1)Centos 7 with Roundcube installation along with root previlages<\/p>\n<p>&nbsp;<\/p>\n<p>2)Installing\/Adding Global Address Book Plugin<\/p>\n<p>https:\/\/github.com\/johndoh\/roundcube-globaladdressbook\/archive\/master.zip<\/p>\n<p>Place this plugin folder into plugins directory<\/p>\n<p>Add globaladdressbook to $config[&#8216;plugins&#8217;] in your Roundcube config<\/p>\n<p>Note: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<p>&nbsp;<\/p>\n<p>3)Configuring Global Address Book Plugin<\/p>\n<p>As default,the config file isplugins\/globaladdressbook\/config.inc.php.dist,we need to rename this to plugins\/globaladdressbook\/config.inc.php<\/p>\n<p>&nbsp;<\/p>\n<p>\u2018username\u2019<\/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 database 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<p>%d is replaced with the domain part of the logged in user\u2019s username<\/p>\n<p>\u2018perms\u2019<\/p>\n<p>Restrict the actions that can be performed by users in the global address book<\/p>\n<p>0 \u2013 global address book is read only<br \/>\n1 \u2013 users can add, edit and delete contacts (full permissions)<br \/>\n2 \u2013 users can add but not edit or delete contacts<br \/>\n3 \u2013 users can add and edit but not delete contacts<\/p>\n<p>\u2018force_copy\u2019<\/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>\u2018groups\u2019<\/p>\n<p>Should contact groups be available in the global address book<\/p>\n<p>\u2018admin\u2019<\/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<p>To set a single user as admin then enter their username as a string like: \u2018admin@domain.com\u2018<br \/>\nIf you wish give admin rights to multiple users then enter the usernames in an array like: array(\u2018admin1@domain.com\u2018, \u2018admin2@domain.com\u2018)<br \/>\nYou 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<br \/>\n\u2018autocomplete\u2019<\/p>\n<p>Show contacts from this book in the auto complete menu when composing an email<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to Install\/add Global Address Book plugin to Roundcube:- &nbsp; Here we are going see,how to add global addressbook plugin to our roundcube webmail client. This plugin adds an SQL based global address book to our Roundcube,It can be global per installtion IMAP host. Prerequisites for installing:- 1)Centos 7 with Roundcube installation along with root&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"categories":[19,15],"tags":[],"class_list":["post-982","post","type-post","status-publish","format-standard","hentry","category-mail","category-cpanel"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.newdelhihosting.co.in\/blog\/wp-json\/wp\/v2\/posts\/982"}],"collection":[{"href":"https:\/\/www.newdelhihosting.co.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newdelhihosting.co.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newdelhihosting.co.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newdelhihosting.co.in\/blog\/wp-json\/wp\/v2\/comments?post=982"}],"version-history":[{"count":1,"href":"https:\/\/www.newdelhihosting.co.in\/blog\/wp-json\/wp\/v2\/posts\/982\/revisions"}],"predecessor-version":[{"id":983,"href":"https:\/\/www.newdelhihosting.co.in\/blog\/wp-json\/wp\/v2\/posts\/982\/revisions\/983"}],"wp:attachment":[{"href":"https:\/\/www.newdelhihosting.co.in\/blog\/wp-json\/wp\/v2\/media?parent=982"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newdelhihosting.co.in\/blog\/wp-json\/wp\/v2\/categories?post=982"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newdelhihosting.co.in\/blog\/wp-json\/wp\/v2\/tags?post=982"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}