Now on ScienceBlogs: HeartlandGate: Anti-Science Institute's Insider Reveals Secrets

ScienceBlogs Book Club: Inside the Outbreaks

Greg Laden's Blog

Evolution, Life Sciences, Science Education, Human Evolution, and Stuff

Darwing_Face.jpg Learn more about Charles Darwin and his work.

Hornbill170.jpg Looking for stuff about birds?

Lion_mane170.jpg Lean more about lions

Congo_sidebar.jpg An archaeological expedition to the Congo


The Skeptical Search Engine


Nature Blog Network
Climate Defense Fund


The contents of Greg Laden's Blog are copyrighted by Greg Laden.

Recent Comments

Search

Profile


Click on "About" for the big picture, and "Archives" for the details.


Recent Posts

Blogroll

If you don't see yourself on my blogroll, just drop me a line and let me know. I'll add you.*
*Assuming that I'm on your blogroll, of course!

Archives

« Cell Signals and Creationism | Main | What is Windows 7, really? »

Do you want the alpine email client to remember your passwords?

Category: LinuxTechnologyalpine email
Posted on: October 8, 2009 12:25 PM, by Greg Laden

By default, the text-based email client 'alpine' 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.

The 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.

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'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.

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'll have to know the password, of course, for when you are prompted for it later).

How do you create the file? Using the bash command 'touch' 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 '.pine-passfile' (note the dot at the beginning of the file ... this is a hidden file) and this file should be in your home directory.

So, to make this work:

1) Quit alpine

2) In a termnial, type:

touch .pine-passfile

3) Restart alpine, check for email and send email, and when asked for a password, enter it and respond "yes" to the prompt asking you if you want to save the password.

4) Give your mouse a little piece of cheese so it does not feel lonely.


For more information about alpine click here.

Share on Facebook
Share on StumbleUpon
Share on Facebook
Find more posts in: Technology

TrackBacks

TrackBack URL for this entry: http://scienceblogs.com/mt/pings/121487

Comments

1

Semi-off-topic, but back in the day I recall being told "Pine" stood for "Pine Is Not Elm" (which was the email client I had been using).

Alpine have any cuteness to it like that? "Aye, Laddy! Pine!" Or is it something much less fancy like "Apache License Pine"

Posted by: Spiv | October 8, 2009 3:12 PM

2

Spiv, I wish I knew. I've been wondering the same thing.

Posted by: Greg Laden | October 8, 2009 4:19 PM

3

In the Slackware Package Browser, Alpine is described:
"Alternatively Licensed Program for Internet News and Email":
http://packages.slackware.it/search.php?v=13.0&t=1&q=alpine

Posted by: Morten Juhl-Johansen Zölde-Fejér | October 9, 2009 3:12 AM

4

nice tip, I like alpine (use it on linux and windoze - can easily move mailbox between) so it's good to see fellow users!

regards Nigel

Posted by: nigel | October 9, 2009 5:38 AM

5

"alternatively licensed" may be true, and the acronym matches, but there's nothing in the supporting documentation or alpine website http://www.washington.edu/alpine/overview/story.html to verify that.

It seems the slackware people were simply making up an acronym, although you could certainly ask on the alpine-info mailing list.

Posted by: Dan Mahoney | January 18, 2010 5:32 AM

6

I thought AL stands for Apache License, see http://www.washington.edu/alpine/overview/legal.html

Posted by: Andreas Schamanek | January 18, 2010 6:45 AM

7

hi, I like alpine, is fast and "easy" with the help of some tutorials to config 3 gmail accounts. but... this tip for "save password" don't work for me.. I use alpine ver. 2.00 in archlinux. and there's no information about password-file in "man alpine" to verify if the filename is the same in this version or not. Some idea??? thx..

Posted by: luis davila | March 24, 2010 9:57 AM

8

I've just installed Alpine 2.00 on ubuntu 10.04. Creating '.pine-passfile' in home (not the 'mail' sub folder) worked as described.

Thanks

Posted by: Julian Parkin | April 27, 2011 8:57 AM

Post a Comment

(Email is required for authentication purposes only. On some blogs, comments are moderated for spam, so your comment may not appear immediately.)





ScienceBlogs

Search ScienceBlogs:

Go to:

Advertisement
Follow ScienceBlogs on Twitter

© 2006-2011 ScienceBlogs LLC. ScienceBlogs is a registered trademark of ScienceBlogs LLC. All rights reserved.