{"id":51,"date":"2015-05-15T06:37:11","date_gmt":"2015-05-15T05:37:11","guid":{"rendered":"https:\/\/tollana.d-tor.org\/notes-to-self\/?p=51"},"modified":"2016-11-27T01:06:10","modified_gmt":"2016-11-27T00:06:10","slug":"upgrade-mailscanner","status":"publish","type":"post","link":"https:\/\/tollana.d-tor.org\/notes-to-self\/?p=51","title":{"rendered":"Upgrade Mailscanner"},"content":{"rendered":"<h4>The easy part:<\/h4>\n<ul>\n<li>Download the tarball\u00a0from\u00a0<a href=\"https:\/\/mailscanner.info\">the official website<\/a><\/li>\n<li>Unpack to somewhere<\/li>\n<li>execute &lt;unpack-dir&gt;\/install.sh<\/li>\n<\/ul>\n<h4>The hard part:<\/h4>\n<p>Do\u00a0<em><strong>not\u00a0<\/strong><\/em>agree to install the missing perl modules from CPAN! Install them via the package manager. If almost every module is missing, perldoc is not installed. Debian is especially nasty here. They have\u00a0a perldoc executable, even if it isn&#8217;t installed, and\u00a0it only prints &#8220;the package perl-doc is not installed&#8221; or something and instructions how to install it.<\/p>\n<p>Unfortunately the installer uses perldoc to figure out which modules are missing, so when it calls the stub everything is missing&#8230;<\/p>\n<p>If there is a version mismatch, check if you have a CPAN-Version installed in \/usr\/local\/&lt;something&gt;.<\/p>\n<pre># perl -V<\/pre>\n<p>shows @INC at the bottom. Remove the offending package and install it via your favorite package manager.<\/p>\n<h4>The config part:<\/h4>\n<p>Generate a new config in the <em>new<\/em> etc-Directory as described in the docs. If you&#8217;re using\u00a0<a href=\"http:\/\/mailwatch.org\">MailWatch<\/a>, don&#8217;t forget to copy<\/p>\n<pre>lib\/MailScanner\/CustomFunctions\/MailWatch.pm<\/pre>\n<p>to the new directory. Stop mailscanner, link the new version to \/opt\/MailScanner or something and start it. You applaud \ud83d\ude42<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The easy part: Download the tarball\u00a0from\u00a0the official website Unpack to somewhere execute &lt;unpack-dir&gt;\/install.sh The hard part: Do\u00a0not\u00a0agree to install the missing perl modules from CPAN! Install them via the package manager. If almost every module is missing, perldoc is not installed. Debian is especially nasty here. They have\u00a0a perldoc executable, even if it isn&#8217;t installed, &hellip; <a href=\"https:\/\/tollana.d-tor.org\/notes-to-self\/?p=51\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Upgrade Mailscanner<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[77],"tags":[69,92],"class_list":["post-51","post","type-post","status-publish","format-standard","hentry","category-linux","tag-debian","tag-mailscanner"],"_links":{"self":[{"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/posts\/51","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=51"}],"version-history":[{"count":2,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/posts\/51\/revisions"}],"predecessor-version":[{"id":53,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/posts\/51\/revisions\/53"}],"wp:attachment":[{"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=51"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=51"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=51"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}