{"id":6610,"date":"2009-10-08T12:25:53","date_gmt":"2009-10-08T12:25:53","guid":{"rendered":"http:\/\/scienceblogs.com\/gregladen\/2009\/10\/08\/do-you-want-the-alpine-email-c\/"},"modified":"2009-10-08T12:25:53","modified_gmt":"2009-10-08T12:25:53","slug":"do-you-want-the-alpine-email-c","status":"publish","type":"post","link":"https:\/\/gregladen.com\/blog\/2009\/10\/08\/do-you-want-the-alpine-email-c\/","title":{"rendered":"Do you want the alpine email client to remember your passwords?"},"content":{"rendered":"<p>By default, the text-based email client &#8216;alpine&#8217; requests a password the first time, per session, that it is requested a password from any email services it checks.  For the duration of that session, it remembers the password, but forgets it if you quit alpine so you have to enter it again later. From a security point of view, that is probably a good thing, but most people do like to have their email client remember the password between sessions.<br \/>\n<!--more--><br \/>\nThe way this works in alpine seems a little obscure at first, but actually makes a lot of sense.  Alpine checks for a file in which passwords should be stored, and if it is there, it behaves differently.<\/p>\n<p>If the file exists, and alpine is asked for a password, then it checks that file for the password. If it is not there it asks you for the password, and then, after you&#8217;ve entered it, alpine asks you if you want to save that password in the file.  If you say yes, then you are in business.<\/p>\n<p>This has two important implications for you.  One:  If you want alpine to remember passwords, just create the file and it will happen.  Two: If you have trouble at some later time with some kind of operation and you think that the part about asking for the password is screwing you up, delete the file and restart the program (you&#8217;ll have to know the password, of course, for when you are prompted for it later).<\/p>\n<p>How do you create the file?  Using the bash command &#8216;touch&#8217; should do.  But what file do you need to create?  Well, that depends.  The file alpine uses is determined at compile time.  At present, it seems that the current version of alpine is using a file called &#8216;.pine-passfile&#8217; (note the dot at the beginning of the file &#8230; this is a hidden file) and this file should be in your home directory.<\/p>\n<p>So, to make this work:<\/p>\n<p>1) Quit alpine<\/p>\n<p>2) In a termnial, type:<\/p>\n<p><code>touch .pine-passfile<\/code><\/p>\n<p>3) Restart alpine, check for email and send email, and when asked for a password, enter it and respond &#8220;yes&#8221; to the prompt asking you if you want to save the password.<\/p>\n<p>4) Give your mouse a little piece of cheese so it does not feel lonely.<\/p>\n<p>For more information about alpine <STRONG><a href=\"http:\/\/scienceblogs.com\/gregladen\/alpine_email\/\">click here<\/a><\/STRONG>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>By default, the text-based email client &#8216;alpine&#8217; requests a password the first time, per session, that it is requested a password from any email services it checks. For the duration of that session, it remembers the password, but forgets it if you quit alpine so you have to enter it again later. From a security &hellip; <a href=\"https:\/\/gregladen.com\/blog\/2009\/10\/08\/do-you-want-the-alpine-email-c\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Do you want the alpine email client to remember your passwords?<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[4583,4278,866,57],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p5fhV1-1IC","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/gregladen.com\/blog\/wp-json\/wp\/v2\/posts\/6610"}],"collection":[{"href":"https:\/\/gregladen.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gregladen.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gregladen.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gregladen.com\/blog\/wp-json\/wp\/v2\/comments?post=6610"}],"version-history":[{"count":0,"href":"https:\/\/gregladen.com\/blog\/wp-json\/wp\/v2\/posts\/6610\/revisions"}],"wp:attachment":[{"href":"https:\/\/gregladen.com\/blog\/wp-json\/wp\/v2\/media?parent=6610"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gregladen.com\/blog\/wp-json\/wp\/v2\/categories?post=6610"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gregladen.com\/blog\/wp-json\/wp\/v2\/tags?post=6610"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}