{"id":757,"date":"2021-07-23T12:37:26","date_gmt":"2021-07-23T12:37:26","guid":{"rendered":"https:\/\/ssdsunucum.com\/blog\/importing-squirrelmail-address-books-to-horde\/"},"modified":"2021-07-23T12:37:26","modified_gmt":"2021-07-23T12:37:26","slug":"importing-squirrelmail-address-books-to-horde","status":"publish","type":"post","link":"https:\/\/ssdsunucum.com\/blog\/importing-squirrelmail-address-books-to-horde\/","title":{"rendered":"Importing SquirrelMail Address Books to Horde"},"content":{"rendered":"<\/p>\n<div class=\"col-md-9\">\n<div class=\"flex-column flex-md-row article-header\"><\/div>\n<hr>\n<h2 id=\"overview\">Overview<\/h2>\n<div class=\"callout callout-danger\">\n<div class=\"callout-heading\">Warning:<\/div>\n<div class=\"callout-content\">\n<ul>\n<li>This document is <strong>only<\/strong> valid for cPanel &#038; WHM versions 78 and 80.<\/li>\n<li>We recommend that <strong>only<\/strong> experienced server administrators perform the steps in this document.<\/li>\n<li>Because cPanel, L.L.C. doesn\u2019t develop SquirrelMail, cPanel Technical Support can\u2019t help with address book imports.<\/li>\n<\/ul><\/div>\n<\/div>\n<p>This document describes the <code>horde-squirrelmail-contacts-import-plugin<\/code> plugin.<\/p>\n<p>We <strong>deprecated<\/strong> SquirrelMail in cPanel &#038; WHM version 74 and removed it in cPanel &#038; WHM version 78. The <code>horde-squirrelmail-contacts-import-plugin<\/code> plugin migrates a SquirrelMail user\u2019s email contact list to their Horde address book. When a Horde user logs in to their email account after the hosting provider installs the plugin, the system migrates the user\u2019s SquirrelMail contacts to Horde.<\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n<p>For instructions on how to migrate SquirrelMail address books to Roundcube, read our Importing SquirrelMail Address Books to Roundcube documentation.<\/p>\n<\/p><\/div>\n<\/div>\n<h2 id=\"install-and-uninstall-the-plugin\">Install and uninstall the plugin<\/h2>\n<p>To install the <code>horde-squrrelmail-contacts-import-plugin<\/code> plugin, run the following command as the <code>root<\/code> user:\n<\/p>\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-perl\" data-lang=\"perl\">yum install horde<span style=\"color:#f92672\">-<\/span>squirrelmail<span style=\"color:#f92672\">-<\/span>contacts<span style=\"color:#f92672\">-<\/span>import<span style=\"color:#f92672\">-<\/span>plugin<\/code><\/pre>\n<\/div>\n<p>The plugin resides in the <code>\/usr\/local\/cpanel\/base\/horde\/turba\/config\/hooks.local.php<\/code> file.<\/p>\n<p>To uninstall the plugin, run the following command as the <code>root<\/code> user:\n<\/p>\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-perl\" data-lang=\"perl\">yum remove horde<span style=\"color:#f92672\">-<\/span>squirrelmail<span style=\"color:#f92672\">-<\/span>contacts<span style=\"color:#f92672\">-<\/span>import<span style=\"color:#f92672\">-<\/span>plugin<\/code><\/pre>\n<\/div>\n<h2 id=\"configuration-options\">Configuration options<\/h2>\n<p>You can configure the following options for the plugin in the <code>\/usr\/local\/cpanel\/base\/horde\/config\/conf.php<\/code> file:<\/p>\n<table>\n<thead>\n<tr>\n<th align=\"left\">Option<\/th>\n<th align=\"left\">Description<\/th>\n<th align=\"left\">Possible values<\/th>\n<th align=\"left\">Example<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td align=\"left\"><code>$conf['log']['priority']<\/code><\/td>\n<td align=\"left\">Set the type of information to record in the <code>\/home\/user\/.cphorde\/horde.log<\/code> file.<\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n        In this filepath, <code>user<\/code> represents a cPanel user.\n    <\/div>\n<\/div>\n<\/td>\n<td align=\"left\">\n<ul>\n<li><code>ERR<\/code> \u2014 Record only migration errors in the <code>\/home\/user\/.cphorde\/horde.log<\/code> file.<\/li>\n<li><code>NOTICE<\/code> \u2014 Record all information in the <code>\/home\/user\/.cphorde\/horde.log<\/code> file.<\/li>\n<\/ul>\n<\/td>\n<td align=\"left\">\n<div class=\"highlight\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-perl\" data-lang=\"perl\">$conf[<span style=\"color:#e6db74\">'log'<\/span>][<span style=\"color:#e6db74\">'priority'<\/span>] <span style=\"color:#f92672\">=<\/span> <span style=\"color:#e6db74\">'ERR'<\/span>;<\/code><\/pre>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"the-horde-interface\">The horde interface<\/h2>\n<p>After you install the plugin, the system migrates any SquirrelMail contacts to Horde. These contacts reside in the <em>SquirrelMail Contacts<\/em> mailbox. This mailbox resides in the <em>My Address Books<\/em> mailbox in the <em>Address Book<\/em> section of the horde interface.<\/p>\n<figure>\n    <img src=\"https:\/\/ssdsunucum.com\/blog\/wp-content\/uploads\/2021\/07\/importingsquirrelmail.png\" title=\"importingsquirrelmail\"><br \/>\n<\/figure>\n<h2 id=\"log-file\">Log file<\/h2>\n<p>The log data for this plugin resides in the <code>\/home\/user\/.cphorde\/horde.log<\/code> file and resembles the following example:<\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n<ul>\n<li>In this example, <code>user<\/code> represents a cPanel user.<\/li>\n<li>This example displays a list of SquirrelMail address book migration errors.<\/li>\n<\/ul><\/div>\n<\/div>\n<div class=\"highlight\">\n<div style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\">\n<table style=\"border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block;\">\n<tr>\n<td style=\"vertical-align:top;padding:0;margin:0;border:0;\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-go\" data-lang=\"go\"><span style=\"margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\">1\n<\/span><span style=\"margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\">2\n<\/span><span style=\"margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\">3\n<\/span><span style=\"margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\">4\n<\/span><span style=\"margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f\">5\n<\/span><\/code><\/pre>\n<\/td>\n<td style=\"vertical-align:top;padding:0;margin:0;border:0;;width:100%\">\n<pre style=\"color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4\"><code class=\"language-go\" data-lang=\"go\"><span style=\"color:#ae81ff\">2019<\/span><span style=\"color:#f92672\">-<\/span><span style=\"color:#ae81ff\">03<\/span><span style=\"color:#f92672\">-<\/span><span style=\"color:#ae81ff\">19<\/span><span style=\"color:#a6e22e\">T19<\/span>:<span style=\"color:#ae81ff\">17<\/span>:<span style=\"color:#ae81ff\">34<\/span><span style=\"color:#f92672\">+<\/span><span style=\"color:#ae81ff\">00<\/span>:<span style=\"color:#ae81ff\">00<\/span> <span style=\"color:#a6e22e\">ERR<\/span>: <span style=\"color:#a6e22e\">HORDE<\/span> [<span style=\"color:#a6e22e\">Contacts<\/span>: <span style=\"color:#a6e22e\">possible<\/span> <span style=\"color:#a6e22e\">invalid<\/span> <span style=\"color:#a6e22e\">address<\/span> <span style=\"color:#a6e22e\">book<\/span> <span style=\"color:#a6e22e\">entry<\/span> <span style=\"color:#66d9ef\">for<\/span> <span style=\"color:#a6e22e\">agd3e8fv<\/span>] [<span style=\"color:#a6e22e\">pid<\/span> <span style=\"color:#ae81ff\">4273<\/span> <span style=\"color:#a6e22e\">on<\/span> <span style=\"color:#a6e22e\">line<\/span> <span style=\"color:#ae81ff\">193<\/span> <span style=\"color:#a6e22e\">of<\/span> <span style=\"color:#e6db74\">\"\/usr\/local\/cpanel\/base\/horde\/turba\/config\/hooks.local.php\"<\/span>]\n<span style=\"color:#ae81ff\">2019<\/span><span style=\"color:#f92672\">-<\/span><span style=\"color:#ae81ff\">03<\/span><span style=\"color:#f92672\">-<\/span><span style=\"color:#ae81ff\">19<\/span><span style=\"color:#a6e22e\">T19<\/span>:<span style=\"color:#ae81ff\">17<\/span>:<span style=\"color:#ae81ff\">34<\/span><span style=\"color:#f92672\">+<\/span><span style=\"color:#ae81ff\">00<\/span>:<span style=\"color:#ae81ff\">00<\/span> <span style=\"color:#a6e22e\">ERR<\/span>: <span style=\"color:#a6e22e\">HORDE<\/span> [<span style=\"color:#a6e22e\">Contacts<\/span>: <span style=\"color:#a6e22e\">Already<\/span> <span style=\"color:#a6e22e\">Exists<\/span>] [<span style=\"color:#a6e22e\">pid<\/span> <span style=\"color:#ae81ff\">4273<\/span> <span style=\"color:#a6e22e\">on<\/span> <span style=\"color:#a6e22e\">line<\/span> <span style=\"color:#ae81ff\">193<\/span> <span style=\"color:#a6e22e\">of<\/span> <span style=\"color:#e6db74\">\"\/usr\/local\/cpanel\/base\/horde\/turba\/config\/hooks.local.php\"<\/span>]\n<span style=\"color:#ae81ff\">2019<\/span><span style=\"color:#f92672\">-<\/span><span style=\"color:#ae81ff\">03<\/span><span style=\"color:#f92672\">-<\/span><span style=\"color:#ae81ff\">19<\/span><span style=\"color:#a6e22e\">T19<\/span>:<span style=\"color:#ae81ff\">17<\/span>:<span style=\"color:#ae81ff\">34<\/span><span style=\"color:#f92672\">+<\/span><span style=\"color:#ae81ff\">00<\/span>:<span style=\"color:#ae81ff\">00<\/span> <span style=\"color:#a6e22e\">ERR<\/span>: <span style=\"color:#a6e22e\">HORDE<\/span> [<span style=\"color:#a6e22e\">Contacts<\/span>: <span style=\"color:#a6e22e\">unable<\/span> <span style=\"color:#a6e22e\">to<\/span> <span style=\"color:#a6e22e\">add<\/span> <span style=\"color:#960050;background-color:#1e0010\">@<\/span><span style=\"color:#a6e22e\">example<\/span>.<span style=\"color:#a6e22e\">com<\/span> <span style=\"color:#a6e22e\">to<\/span> <span style=\"color:#a6e22e\">address<\/span> <span style=\"color:#a6e22e\">book<\/span>] [<span style=\"color:#a6e22e\">pid<\/span> <span style=\"color:#ae81ff\">4273<\/span> <span style=\"color:#a6e22e\">on<\/span> <span style=\"color:#a6e22e\">line<\/span> <span style=\"color:#ae81ff\">193<\/span> <span style=\"color:#a6e22e\">of<\/span> <span style=\"color:#e6db74\">\"\/usr\/local\/cpanel\/base\/horde\/turba\/config\/hooks.local.php\"<\/span>]\n<span style=\"color:#ae81ff\">2019<\/span><span style=\"color:#f92672\">-<\/span><span style=\"color:#ae81ff\">03<\/span><span style=\"color:#f92672\">-<\/span><span style=\"color:#ae81ff\">19<\/span><span style=\"color:#a6e22e\">T19<\/span>:<span style=\"color:#ae81ff\">17<\/span>:<span style=\"color:#ae81ff\">34<\/span><span style=\"color:#f92672\">+<\/span><span style=\"color:#ae81ff\">00<\/span>:<span style=\"color:#ae81ff\">00<\/span> <span style=\"color:#a6e22e\">ERR<\/span>: <span style=\"color:#a6e22e\">HORDE<\/span> [<span style=\"color:#a6e22e\">Contacts<\/span>: <span style=\"color:#a6e22e\">Already<\/span> <span style=\"color:#a6e22e\">Exists<\/span>] [<span style=\"color:#a6e22e\">pid<\/span> <span style=\"color:#ae81ff\">4273<\/span> <span style=\"color:#a6e22e\">on<\/span> <span style=\"color:#a6e22e\">line<\/span> <span style=\"color:#ae81ff\">193<\/span> <span style=\"color:#a6e22e\">of<\/span> <span style=\"color:#e6db74\">\"\/usr\/local\/cpanel\/base\/horde\/turba\/config\/hooks.local.php\"<\/span>]\n<span style=\"color:#ae81ff\">2019<\/span><span style=\"color:#f92672\">-<\/span><span style=\"color:#ae81ff\">03<\/span><span style=\"color:#f92672\">-<\/span><span style=\"color:#ae81ff\">19<\/span><span style=\"color:#a6e22e\">T19<\/span>:<span style=\"color:#ae81ff\">17<\/span>:<span style=\"color:#ae81ff\">34<\/span><span style=\"color:#f92672\">+<\/span><span style=\"color:#ae81ff\">00<\/span>:<span style=\"color:#ae81ff\">00<\/span> <span style=\"color:#a6e22e\">ERR<\/span>: <span style=\"color:#a6e22e\">HORDE<\/span> [<span style=\"color:#a6e22e\">Contacts<\/span>: <span style=\"color:#a6e22e\">unable<\/span> <span style=\"color:#a6e22e\">to<\/span> <span style=\"color:#a6e22e\">add<\/span> <span style=\"color:#ae81ff\">1234567890<\/span><span style=\"color:#960050;background-color:#1e0010\">@<\/span><span style=\"color:#a6e22e\">example<\/span><span style=\"color:#f92672\">-<\/span><span style=\"color:#a6e22e\">one<\/span>.<span style=\"color:#a6e22e\">com<\/span> <span style=\"color:#a6e22e\">to<\/span> <span style=\"color:#a6e22e\">address<\/span> <span style=\"color:#a6e22e\">book<\/span>] [<span style=\"color:#a6e22e\">pid<\/span> <span style=\"color:#ae81ff\">4273<\/span> <span style=\"color:#a6e22e\">on<\/span> <span style=\"color:#a6e22e\">line<\/span> <span style=\"color:#ae81ff\">193<\/span> <span style=\"color:#a6e22e\">of<\/span> <span style=\"color:#e6db74\">\"\/usr\/local\/cpanel\/base\/horde\/turba\/config\/hooks.local.php\"<\/span>]<\/code><\/pre>\n<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Overview Warning: This document is only valid for cPanel &#038; WHM versions 78 and 80. We recommend that only experienced server administrators perform the steps in this document. Because cPanel, L.L.C. doesn\u2019t develop SquirrelMail, cPanel Technical Support can\u2019t help with address book imports. This document describes the horde-squirrelmail-contacts-import-plugin plugin. We deprecated SquirrelMail in cPanel &#038; &hellip;<\/p>\n","protected":false},"author":1,"featured_media":758,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/757"}],"collection":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/comments?post=757"}],"version-history":[{"count":0,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/757\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media\/758"}],"wp:attachment":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media?parent=757"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/categories?post=757"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/tags?post=757"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}