{"id":315,"date":"2008-11-17T13:13:20","date_gmt":"2008-11-17T21:13:20","guid":{"rendered":"http:\/\/messofpottage.com\/blog\/?p=315"},"modified":"2008-11-17T13:13:20","modified_gmt":"2008-11-17T21:13:20","slug":"getting-email-working-under-linux","status":"publish","type":"post","link":"https:\/\/accretiondisc.com\/blog\/2008\/11\/17\/getting-email-working-under-linux\/","title":{"rendered":"Getting Email Working under Linux"},"content":{"rendered":"<p>I&#8217;m working on migrating myself to the <a href=\"http:\/\/www.mutt.org\/\">mutt<\/a> email client. If you&#8217;re at all curious about why, and how I&#8217;m doing, read on.<\/p>\n<p><!--more-->I don&#8217;t care for <a href=\"http:\/\/projects.gnome.org\/evolution\/\">Evolution<\/a>, the default email client, and Mozilla <a href=\"http:\/\/www.mozilla.com\/en-US\/thunderbird\/\">Thunderbird<\/a> is even less appealing. A good part of my disdain is due to the small screen size &#8212; 1280&#215;800 &#8212; of my laptop. That&#8217;s greater than the old &#8220;standard&#8221; 1024&#215;768 resolution, but the Gnome Desktop generally and Evolution in particular are prodigious in their use of my screen real-estate.<\/p>\n<p>Plus, I already use a <a href=\"http:\/\/weblog.jamisbuck.org\/2008\/10\/10\/coming-home-to-vim\">text-mode editor<\/a> for most of my work. Why not go back to the mail agent I used for most of the 1990&#8217;s?<\/p>\n<p>Mutt is a MUA or mail-user-agent. So it&#8217;s great at displaying and organizing my mail. But it&#8217;s modular. It needs to work with a MDA (mail delivery agent) to move mail around on my system. Tentatively, I plan to use <a href=\"http:\/\/www.procmail.org\/\">procmail<\/a> for this purpose. It looks like you can make a lifetime hobby out of configuring procmail, but I learned enough at this site to get started.<\/p>\n<p>I also need an MTA (mail transfer agent) to move mail between my system and other systems out there on the information superhighway.  This, in turn, requires separate programs: one to fetch and one to send. I think I&#8217;ll use <a href=\"http:\/\/msmtp.sourceforge.net\/\">msmtp<\/a> for sending, but I haven&#8217;t got around to that part yet.<\/p>\n<p>For fetching mail, I&#8217;ve begun with <a href=\"http:\/\/fetchmail.berlios.de\/\">fetchmail<\/a>. (I may move to <a href=\"http:\/\/mpop.sourceforge.net\/\">mpop<\/a>. But I might not.)<\/p>\n<p>I&#8217;ve gotten <em>fetchmail<\/em> working with my three primary mail accounts. Two sites were straightforward, but <a href=\"http:\/\/gmail.com\/\">Google Mail<\/a> wasn&#8217;t. (Actually, it was too, but I didn&#8217;t know that. I started out by looking at these <a href=\"http:\/\/souptonuts.sourceforge.net\/postfix_tutorial.html\">two<\/a> <a href=\"http:\/\/download.gna.org\/hpr\/fetchmail\/FAQ\/gmail-pop-howto.html\">pages<\/a>, and they might work for some people but not for me. I gave up on those after an hour.) It turned out that all I needed to access gmail was this:<\/p>\n<blockquote>\n<pre>\npoll pop.gmail.com protocol pop3\n\tuser \"accountname@gmail.com\" password \"my cuil password\"\n\toptions keep\n\tssl\n\tmda \"\/usr\/bin\/procmail -d %T\"\n\t;\n<\/pre>\n<\/blockquote>\n<p>where <em>accountname<\/em> is my accountname and &#8220;<code>my cuil password<\/code>&#8221; is my real password.<\/p>\n<p>Now all I have to do is figure out how to send mail. Stay tuned.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m working on migrating myself to the mutt email client. If you&#8217;re at all curious about why, and how I&#8217;m doing, read on.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[23,52],"tags":[],"class_list":["post-315","post","type-post","status-publish","format-standard","hentry","category-life","category-technology"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paRqpr-55","_links":{"self":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/posts\/315","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/comments?post=315"}],"version-history":[{"count":0,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/posts\/315\/revisions"}],"wp:attachment":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/media?parent=315"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/categories?post=315"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/tags?post=315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}