Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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
Server: imap.gmail.com/ssl/NoValidate-Cert/user=youremail@gmail.com
Path:
View:

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
1  
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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.