alpine-gmail config

eredeti oldal, ahol olvastam a leírást

Configuring Alpine to Work with Gmail

Date of Publication: 02/05/2010

 

Disclaimer: Please read through this entire article before attempting to install or configure software. Also note that any installations you undertake are at your own risk and you should ensure that you have thoroughly read and understood the manufacturer’s instructions and caveats for each software package you install. You should also make sure you have backed up ALL your data (just in case anything goes wrong).

After getting my Linux system updated and configured, I decided to install the Alpine mail client so that I could check my e-mail without having to open a web browser. Alpine (developed by the University of Washington) is an updated version of the classic Pine mail client and is offered under an Apache license. After looking through several websites on configuring Alpine, here is how I got it to work with Gmail via IMAP:

As always, before attempting any software installation or configuration, make sure you have backed up ALL your data (just in case anything goes wrong). Also, before installing Alpine, make sure you have read its supporting documentation (available online at the Alpine project website)

1. First, make sure you enable IMAP access in Gmail (this is done through the settings > Forwarding and POP/IMAP)

2. Install Alpine. If you use a package manager like Debian’s apt, you can issue the following command:

  • > sudo apt-get install alpine

3. Launch Alpine and go into its setup options:

Figure 1: The main menu in Alpine


Figure 2: Alpine’s setup options
4. Once in the setup menu, select the ‘CollectionLists’ option by pressing ‘L’ and add new collection list by selecting ‘Add Cltn’.

5. You can now give this new collection list a name (like ‘Gmail’ for example) and set the server to the following (USERNAME@GMAIL.com is your Gmail user name):

  • imap.gmail.com/ssl/user=USERNAME@GMAIL.COM

6. Exit the collection list setup and save the changes you have made.

7. In order to finish configuring Alpine, return to the main menu, go back into setup options and select ‘Config’ (press ‘C’). Use the following settings (once again, USERNAME@GMAIL.com is your Gmail user name):

  • SMTP server: smtp.gmail.com:587/tls/user=USERNAME@GMAIL.COM
  • Inbox Path: {imap.gmail.com/ssl/user=USERNAME@GMAIL.COM}inbox

8. Optional: If you don’t want to enter your password every time you open Alpine, simply create a file called ‘.pine-passfile’ in your home directory:

  • > touch .pine-passfile

Congratulations! You should now have a fully functional copy of Alpine that is configured to synchronize with your Gmail account.

References

  1. “Getting Started with IMAP for Gmail”. Gmail Help
  2. Alpine Messaging System Homepage