{"id":160,"date":"2011-10-09T04:46:40","date_gmt":"2011-10-09T02:46:40","guid":{"rendered":"http:\/\/www.idoru.be\/notes\/?p=160"},"modified":"2011-10-09T14:24:15","modified_gmt":"2011-10-09T12:24:15","slug":"fetchmail-gmail-to-macosx-for-backup","status":"publish","type":"post","link":"http:\/\/www.idoru.be\/notes\/fetchmail-gmail-to-macosx-for-backup\/","title":{"rendered":"fetchmail gmail via POP3 to macosx for backup"},"content":{"rendered":"<p>first, enable POP for all mail in gmail.<\/p>\n<p>$ vi .fetchmailrc<\/p>\n<p>if you have a mta running:<\/p>\n<p><em>poll pop.gmail.com with proto POP3 and options no dns<br \/>\nuser &#8216;&lt;snip&gt;&#8217; there with password &#8216;&lt;snip&gt;&#8217; is &#8216;&lt;snip&gt;&#8217; here options ssl keep sslcertck sslcertpath &#8220;\/Users\/&lt;snip&gt;\/.ssl\/certs&#8221;<\/em><\/p>\n<p>if not, deliver via procmail to \/var\/mail&#8230;:<\/p>\n<p><em>poll pop.gmail.com with proto POP3 and options no dns<br \/>\nuser &#8216;&lt;snip&gt;&#8217; there with password &#8216;&lt;snip&gt;&#8217; is &#8216;&lt;snip&gt;&#8217;  here <strong>and wants mda &#8220;\/usr\/bin\/procmail -d %T&#8221; <\/strong>options ssl keep sslcertck sslcertpath  &#8220;\/Users\/&lt;snip&gt;\/.ssl\/certs&#8221;<\/em><\/p>\n<p>$ mkdir -p .ssl\/certs<\/p>\n<p>$ openssl s_client -connect pop.gmail.com:995 -showcerts<\/p>\n<p>(copy the key)<\/p>\n<p>$ vi .ssl\/certs\/gmailpop.pem<\/p>\n<p>(paste the key)<\/p>\n<p>$ wget http:\/\/www.geotrust.com\/resources\/root_certificates\/certificates\/Equifax_Secure_Certificate_Authority.cer ; mv Equifax_Secure_Certificate_Authority.cer .ssl\/certs\/equifax.pem ; c_rehash ~\/.ssl\/certs\/<\/p>\n<p>$ fetchmail -v<\/p>\n","protected":false},"excerpt":{"rendered":"<p>first, enable POP for all mail in gmail. $ vi .fetchmailrc if you have a mta running: poll pop.gmail.com with proto POP3 and options no dns user &#8216;&lt;snip&gt;&#8217; there with password &#8216;&lt;snip&gt;&#8217; is &#8216;&lt;snip&gt;&#8217; here options ssl keep sslcertck sslcertpath &#8220;\/Users\/&lt;snip&gt;\/.ssl\/certs&#8221; if not, deliver via procmail to \/var\/mail&#8230;: poll pop.gmail.com with proto POP3 and options [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-160","post","type-post","status-publish","format-standard","hentry","category-howto"],"_links":{"self":[{"href":"http:\/\/www.idoru.be\/notes\/wp-json\/wp\/v2\/posts\/160","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.idoru.be\/notes\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.idoru.be\/notes\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.idoru.be\/notes\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.idoru.be\/notes\/wp-json\/wp\/v2\/comments?post=160"}],"version-history":[{"count":5,"href":"http:\/\/www.idoru.be\/notes\/wp-json\/wp\/v2\/posts\/160\/revisions"}],"predecessor-version":[{"id":162,"href":"http:\/\/www.idoru.be\/notes\/wp-json\/wp\/v2\/posts\/160\/revisions\/162"}],"wp:attachment":[{"href":"http:\/\/www.idoru.be\/notes\/wp-json\/wp\/v2\/media?parent=160"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.idoru.be\/notes\/wp-json\/wp\/v2\/categories?post=160"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.idoru.be\/notes\/wp-json\/wp\/v2\/tags?post=160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}