Thursday, January 22, 2009

How to access gmail using pine

(With my regards to Dan Blanchette)

First enable IMAP on your Google account!!!
-Log into Google and click "settings",
-Click "Forwarding and POP/IMAP"
-Under IMAP Access click "Enable IMAP"


Your .pinerc needs to be like this:

user-id=your.username at gmail.com
user-domain=gmail.com

smtp-server=smtp.gmail.com:587/tls/user=your.username at gmail.com

(all on one line)
inbox-path={imap.gmail.com:993/ssl/novalidate-cert/user=your.username at gmail.com}INBOX

(all on one line)
incoming-folders=your.username at gmail.com {imap.gmail.com:993/novalidate-cert/ssl/user=your.username at gmail.com}
(you probably have to check "enable-incoming-folders" in your Pine Setup, Config as well)

(all on one line)
folder-collections="your.username at gmail.com" {imap.gmail.com:993/ssl/user=your.username at gmail.com}[]