{"id":461,"date":"2012-10-07T03:20:19","date_gmt":"2012-10-07T03:20:19","guid":{"rendered":"http:\/\/tlindner.macmess.org\/?p=461"},"modified":"2012-10-07T03:20:19","modified_gmt":"2012-10-07T03:20:19","slug":"perfect-pop3-proxy","status":"publish","type":"post","link":"https:\/\/tlindner.macmess.org\/?p=461","title":{"rendered":"Perfect POP3 Proxy"},"content":{"rendered":"<p>My Linux server crashed recently. It happened when the electric company had a planned service day. I forgot to power down the machine and when I brought it back up the filesystem was toast.<\/p>\n<p>I decided to wipe it and start over. I wanted to try using the Netatalk packaged by the Debian project instead of the the hand build version I was running.<\/p>\n<p>So after some fits and starts I finally have Debian 7 (Test) running with Netatalk serving my Time Machine shares.<\/p>\n<p>But now it was time to install Popfile so I could filter and talk to the gmail servers.<\/p>\n<p>The email client I use is MacSOUP. I love it. But it doesn&#8217;t talk POP3S. So I need a proxy to get my email from Gmail. But the Debian Popfile package is currently unavaiable for 7.x (Test). So I went looking for an alternative POP proxy package.<\/p>\n<p>I found Perdition. I tried and failed to configure it for my needs. Then I found Stunnel. This was much eiaser to set up. All was good.<\/p>\n<p>But after a day of using it I decided that running Stunnel on my server was over kill. I should be able to run it on my client machine (Max OS X) as a user process. So I decided to set up Stunnel under Launch Agent.<\/p>\n<p>On Mac OS X the Launch Agent service (part of launchd) is what you can use to start programs when a user logs in. So I downloaded the latest version of Stunnel (stunnel-4.53) configures and compiled it.<\/p>\n<p>Then I took the exectuable and placed it in ~\/bin. I created a .conf file, a .pem file and a .plist. I put them all in the right place and now I can get my email without my server running. This should encourage me to turn it off every now and then.<\/p>","protected":false},"excerpt":{"rendered":"<p>My Linux server crashed recently. It happened when the electric company had a planned service day. I forgot to power down the machine and when I brought it back up the filesystem was toast. I decided to wipe it and &hellip; <a href=\"https:\/\/tlindner.macmess.org\/?p=461\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-461","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/tlindner.macmess.org\/index.php?rest_route=\/wp\/v2\/posts\/461","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tlindner.macmess.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tlindner.macmess.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tlindner.macmess.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tlindner.macmess.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=461"}],"version-history":[{"count":1,"href":"https:\/\/tlindner.macmess.org\/index.php?rest_route=\/wp\/v2\/posts\/461\/revisions"}],"predecessor-version":[{"id":462,"href":"https:\/\/tlindner.macmess.org\/index.php?rest_route=\/wp\/v2\/posts\/461\/revisions\/462"}],"wp:attachment":[{"href":"https:\/\/tlindner.macmess.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=461"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tlindner.macmess.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=461"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tlindner.macmess.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}