Requirements

Primary

  • Retrieve mail from GoogleApps Mail
  • Support GPG
  • Command-line UI

Secondary

  • Synchronize contacts

Installation

aptitude install sup-mail on Ubuntu Precise failed requiring 'ncurses_bin.so':

/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- ncurses_bin.so (LoadError)
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /usr/lib/ruby/vendor_ruby/ncurses.rb:22:in `<top (required)>'
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /usr/bin/sup-mail:7:in `rescue in <main>'
    from /usr/bin/sup-mail:4:in `<main>'

Almost certainly because the package installs mostly ruby-1.8 libs whereas I'm running ruby-1.9.3.

So install from gem:

sudo aptitude install libxapian22 libxapian-dev
sudo gem1.9.1 install sup

Fails building xapian.

So back to the aptitude install, but this time pre-install libxapian-ruby1.9.1

sudo aptitude install libxapian-ruby1.9.1 libncurses-ruby1.9.1
sudo aptitude install sup-mail

Still broken.

sudo aptitude install libncurses-ruby1.9

is a transitional package.

Run with 1.8

This works:

ruby1.8 /usr/bin/sup-mail

ncursesw

sudo gem install ncursesw attempts to install 1.9 version and fails

Configuration

IMAP

Needs offlineimap or similar to pull mail into a Maildir.

Links