Reading Gmail with Sup

I wanted a simple mail client that would handle all the mail I receive from various accounts and ran across Sup. Impressivly simple and very nicely done in a console application.

Here are the steps I took to get Sup both reading mail in my Gmail account and sending mail out via my Gmail account on my Arch workstation;

  • Installed  Yaourt
  • Installed Ruby and Rubygems via Yaourt
    • yaourt -Sy ruby rubygems
  • Installed VI via Yaourt
    • yaourt -Sy vim vim-colorstamplerpack
  • Installed sSMTP via Yaort
    • yaourt -Sy ssmtp
  • Setup sSMTP following this Wiki Entry
  • Installed Chronic (a date parser, dependency of Sup) via the Ruby Gems tool
    • sudo gem install chronic
  • Downloaded the latest Tarball of Sup, unpacked it into /tmp and installed it via the Gems
    • sudo gem install sup -y
  • My ~/.sup/sources.yaml file looks like this;
  • 	steven ~/.sup $  cat sources.yaml
    	---
    	- !masanjin.net,2006-10-01/Redwood/IMAP
    	uri: imaps://imap.gmail.com:993
    	username: myaccount@gmail.com
    	password: mygmailpassword
    	cur_offset: 12117761440000842
    	usual: true
    	archived: false
    	id: 1
    	labels:
    	- gmail
    	- !masanjin.net,2006-10-01/Redwood/SentLoader
    	cur_offset: 555
    	- !masanjin.net,2006-10-01/Redwood/DraftLoader
    	cur_offset: 0
    	

I found this guide very helpful for Sup

Enjoy!

ps; Man does posting from this HTML interface suck rocks. Gotta get some sorta MS Live Writer going. 

Leave a Reply