Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to use IMAP when using Pine?

I'm looking to sync up my Gmail account for easy emailing and wanted to know if it was something that Pine can handle.

share|improve this question
up vote 5 down vote accepted

Very easy! (Well, kinda like a magic trick... easy once you've seen it done...)

In Alpine, go to '(S)ettings', then 'Collection (L)ists', then (A)dd new, fill in the fields:

Nickname: MyGmail

Of course, Nickname is your choice, Server needs your proper email address, leave Path & View empty, there are specialized uses for them, I haven't needed them.

CTRL-X to save

From the main menu, going to 'Folder (L)ist', then selecting your new collection, should cause Alpine to prompt you for your password. Entering that, you should see your gmail folder (label?!) structure. For gmail's purposes, 'folder' and 'label' are identical.

You MAY need to start Alpine with the '-passfile=xxxx' command line option to cause alpine to remember your passwords rather than typing it in each startup of Alpine, but I forget if you need it all the time or just the once to enable it. Try setting up the "collectionlist" first, see what happens, it's been so long since I've started from scratch with pine/alpine/realpine.

You may add as many "CollectionLists" as you like, I've got several other imap accounts listed, you can adjust the order to put more frequently used ones up top or whatever.

I seriously recommend walking through the entire list of 'config' options and using the '?' help function to learn what everything does.

Hope it helps.

share|improve this answer
Awesome! Thanks for that. – Benny May 30 '12 at 8:38
Yes, you need the -passfile=FILE parameter every time. And FILE must already exist: touch FILE first. And remember to make it readable only to you: chmod go-rwx FILE. – mpy May 4 '13 at 14:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .