Skip to Content

Mutt and Gmail on Ubuntu Intrepid Ibex

Still a work-in-progress this… just documenting the steps I’ve taken to get Mutt working on Ubuntu and accessing a Googlemail account.

Fetchmail and Gmail

First off, I tried this guidance. I found that my SSL certificates are in ‘/etc/ssl/certs/’, and I did the following, as root, in a shell:

cd /etc/ssl/certs/

wget -O Equifax_Secure_Certificate_Authority.pem \
   https://www.geotrust.com/resources/root_certificates/certificates/Equifax_Secure_Certificate_Authority.cer

chmod 644 Equifax_Secure_Certificate_Authority.pem

openssl x509 \
   -in Equifax_Secure_Certificate_Authority.pem \
   -fingerprint -subject -issuer -serial -hash -noout SHA1

c_rehash

However, after setting up my .fetchmailrc file as described in step 5 of those instructions, running the command fetchmail resulted in an error about a mismatch in fingerprints. I may have made a mistake in applying the instructions to my situation, but wasn’t sure where.

At that point, I found this post on the Ubuntu Forums and decided to use markcholden’s .fetchmail file as the basis of mine. It worked beautifully. Running ‘fetchmail’ now connects successfully and downloads all my mail to my mailspool. Here’s roughly what’s in my .fetchmailrc file now:

poll pop.gmail.com protocol pop3 and options no dns
  user "user.name", with password ‘secret’, is "mark" here options ssl

Next up, I need to get Mutt working. Then Sendmail. Out of time today though!