{"id":2501,"date":"2021-04-26T09:58:08","date_gmt":"2021-04-26T17:58:08","guid":{"rendered":"http:\/\/wonghoi.humgar.com\/blog\/?p=2501"},"modified":"2021-04-26T09:58:09","modified_gmt":"2021-04-26T17:58:09","slug":"mailpile-installation-notes","status":"publish","type":"post","link":"https:\/\/wonghoi.humgar.com\/blog\/2021\/04\/26\/mailpile-installation-notes\/","title":{"rendered":"Mailpile Installation Notes"},"content":{"rendered":"\n<p>There&#8217;s a powerful Gmail <strong>web interface <\/strong>replacement for your regular mail hosted anywhere called Mailpile. Think of it as Thunderbird but hosted like a web page. There are a few things I liked about in the process of freeing myself from Gmail:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Free to use any email (storage) services and not tie your client to it<\/li><li>View multiple accounts at the same time (NextCloud won&#8217;t do it)<\/li><li>Very clean, concise interface that makes sense (Gmail users will be comfortable with it)<\/li><li>Very security and privacy conscious with attention to details! It even encrypts your local email cache and search index if you want to (performance penalty)<\/li><li>Excellent email setting autodetection. Just type your email account and everything&#8217;s set up for you!<\/li><\/ul>\n\n\n\n<p>The only downside is that the documentation is a little lacking. There are a few concepts that are not explained that&#8217;d confuse and scare users away. That&#8217;s why I&#8217;m explaining it here.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>This is a headless service where the interface is webpage you access on a web browser.<\/li><li>It&#8217;s <strong>originally<\/strong> designed to install and run as a local web server where you access mailpile. <\/li><li>Call <code data-enlighter-language=\"generic\" class=\"EnlighterJSRAW\">mailpile <\/code>(can create a shortcut) and it&#8217;ll try to launch the correct page for the mailpile client.<\/li><li>Mailpile does not maintain a separate user registry: it uses the hosting computer&#8217;s native user manager<\/li><li>Log into your mailpile using the user account name of the computer where mailpile is installed! <\/li><\/ul>\n\n\n\n<p>Advanced concepts<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Install <code data-enlighter-language=\"generic\" class=\"EnlighterJSRAW\">multipile<\/code> instead if you want other computer to access the headless service<\/li><li>You&#8217;ll need login to the computer that hosts the headless mailpile and run mailpile AS the user you want to setup once to establish the account before use.<\/li><\/ul>\n\n\n\n<p>Download and installation <a rel=\"noreferrer noopener\" href=\"https:\/\/www.mailpile.is\/download\/linux.html\" target=\"_blank\">instructions<\/a>:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\"># Currently there's only Debian-like distributions (because it uses apt-get)\n# These instructions do not assume direct root account. Use sudo instead\n\n# Install pre-requisite packages: curl apt-transport-https gnupg\nsudo apt-get update &amp;&amp; sudo apt-get install curl apt-transport-https gnupg\n\n# apt-key add {contents of the package signing key provided by mailpile.is)\ncurl -s https:\/\/packages.mailpile.is\/deb\/key.asc |sudo apt-key add -\n\n# Register mailpile.is's package server with Debian apt package manager\necho \"deb https:\/\/packages.mailpile.is\/deb release main\" |sudo tee \/etc\/apt\/sources.list.d\/000-mailp.list\n# NOTE: Official instruction says 000-mailp instead of 000-mailp.list \n#       You need to have some file extension as apt-get checks\n\n# Multipile (mailpile-apache2) = Mailpile + (allowing access from other computers through apache)\nsudo apt-get update &amp;&amp; sudo apt-get install mailpile-apache2\n\n# You'll need to run mailpile as the user once to establish your account with mailpile before use\nmailpile\n# If you are on terminal interface instead of web interface, enter 'setup' at mailpile prompt:\n> setup\n# Follow the instructions on the web interface for setup if you do not use terminal mailpile client interface<\/pre>\n\n\n\n<p>Additional Resources: <a href=\"https:\/\/greenpark-code.github.io\/Mailpile_tutorial\/\">https:\/\/greenpark-code.github.io\/Mailpile_tutorial\/<\/a><\/p>\n<div class=\"pvc_clear\"><\/div><p id=\"pvc_stats_2501\" class=\"pvc_stats all  \" data-element-id=\"2501\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/wonghoi.humgar.com\/blog\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p><div class=\"pvc_clear\"><\/div>","protected":false},"excerpt":{"rendered":"<p>There&#8217;s a powerful Gmail web interface replacement for your regular mail hosted anywhere called Mailpile. Think of it as Thunderbird but hosted like a web page. There are a few things I liked about in the process of freeing myself &hellip; <a href=\"https:\/\/wonghoi.humgar.com\/blog\/2021\/04\/26\/mailpile-installation-notes\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_2501\" class=\"pvc_stats all  \" data-element-id=\"2501\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/wonghoi.humgar.com\/blog\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[39,42],"tags":[],"class_list":["post-2501","post","type-post","status-publish","format-standard","hentry","category-linux","category-web-services"],"_links":{"self":[{"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/posts\/2501","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/comments?post=2501"}],"version-history":[{"count":1,"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/posts\/2501\/revisions"}],"predecessor-version":[{"id":2502,"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/posts\/2501\/revisions\/2502"}],"wp:attachment":[{"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/media?parent=2501"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/categories?post=2501"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/tags?post=2501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}