Email with Mutt

Mutt is a fab email client which I’ve stumbled upon. This app has the looks that only mother can love however it does the job very well. If you are a LAMP developer and use the terminal to do all your development than this email client is for you. It saves the hassle of flicking from one app to another just to view your email.

in this article I hope to show you how to configure mutt to use your gmail account. So lets get started…

Installing

install mutt using synaptic (if you use debian, or yum for red hat or emerge gentoo).

Configure

you’ve installed mutt what now…create a file .muttrc (yes there is a dot in front of the file) on your home directory and add the following lines


set imap_user = "youremail@gmail.com" #of-course change it to your email
set imap_pass = "password"

set smtp_url = "smtp://youremail@smtp.gmail.com:587/"
set smtp_pass = "password"
set from = "youremail@gmail.com"
set realname = "My Name"

set folder = "imaps://imap.gmail.com:993/"
set spoolfile = "+INBOX"
set postponed = "+[Gmail]/Drafts"

set header_cache = ~/.mutt/cache/headers
set message_cachedir = ~/.mutt/cache/bodies
set certificate_file = ~/.mutt/certificates

set move = on

…also create files ~/.mutt/cache/headers, ~/.mutt/cache/bodies and /.mutt/certificates (~ this squiggle is your home directory). done!

Using Mutt

easy peasy lemon squeezy 🙂 type mutt on your command-line.

Navigating

use arrows to move up and down to navigate to your email and press enter to read. hooray! now, press “i” to go back to your inbox.

That is it for now.

Advertisements

One thought on “Email with Mutt

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s