create a file .pinerc.gmail with the following contents
smtp-server=smtp.gmail.com/user=USERID@gmail.com/ssl
inbox-path={pop.gmail.com/pop3/ssl/user=USERID@gmail.com}inbox
Then,
pine -p .pinerc.gmail
The first time you run it, pine will insert other configuration stuff into .pinerc.gmail. This is fine. This is the simplest way.
Advertisement
January 16, 2007 at 11:36 pm |
very good
April 4, 2007 at 1:46 am |
Very useful Xiaogang! Thanks for you help!
November 21, 2007 at 11:23 pm |
i am about to try this out using IMAP… intuitively i have altered as follows:
inbox-path={imap.gmail.com/imap/ssl/user=jmsmistral@gmail.com}inbox
is this correct?
thanks
November 21, 2007 at 11:27 pm |
cool, it works, the only thing i would add is to add the following after every instance of imap.gmail.com: /novalidate-cert
i.e. inbox-path={imap.gmail.com/novalidate-cert/imap/ssl/user=jmsmistral@gmail.com}inbox
November 24, 2007 at 11:31 pm |
This works perfectly and nobody else out there seems to mention how to do this. Thanks!
December 3, 2007 at 3:29 am |
It tells me
{Can’t open folder {pop.gmail.com/pop3/ssl/user=saurabh.samdani@gmail.com}inbox: invalid remote specification]
do you know the reason?
February 15, 2008 at 7:27 pm |
Jonathan,
Thanks for your imap tip. It works. I also find imap is much faster than pop in scrolling pages in the inbox. I do not know why. imap is the way to go!
In addition, I find it convenient to create a separate folder to hold saved messages
for the gmail account.
folder-collections=/home/xgwang/gmail/[]
July 18, 2008 at 5:13 pm |
I learned to use “Labels” on Gmail. “Labels” are virtual folders. It moves emails
from designated senders from “Inbox” to labelled folder automatically. So your “Inbox” are cleaner. All your emails are still in “All Mail” folder.
But with the above setup, Pine only sees “Inbox” of Gmail and you would miss
all the “Labels”. Here is a way to let Pine see all your Gmail folders. It builds
on the method of my previous post, add this line to .pinerc.gmail
folder-collections=/home/xgwang/gmail/[] Gmail {imap.gmail.com/novalidate-cert/user=username_of_gmail/ssl}[]
Then,
pine -p .pinerc.gmail
Now pine shows a new folder “Gmail”. Go into it, you see all your “Labels” folders and “[Gmail]/”. Go into it, you see folders like “All Mail[/]“, “Drafts[/]“.
So everything on the Gmail server is mapped in Pine. Great.
Using Pine as a client for Gmail, I can do as much as I can with the Gmail web client.
March 3, 2009 at 3:41 pm |
Thanks everyone – I was able to use macports and get alpine; and configured alpine to work with gmail! It was much faster than using Apple’s Mail client.
April 2, 2009 at 11:34 am |
It doesn’t work for me.
I got error:
[Error sending: Invalid host specifier: smtp.gmail.com/user=userid@gmail.com/ssl]
Note:
I have changed userid into my own account.
Help pls?
April 5, 2009 at 5:00 pm |
Januar,
I am using another set of configurations. It needs specific port numbers.
smtp-server=smtp.gmail.com:587/tls/user=USERID@gmail.com
inbox-path={imap.gmail.com:993/ssl/novalidate-cert/user=USERID@gmail.com}Inbox
It may work for you too.
Xiaogang
December 7, 2011 at 2:59 pm |
Thanks for the tutorial…worked great with alpine for me in Ubuntu!