HowTo:Configure Mutt For Gmail Imap

Mutt is a command line mail client for linux its very good for people who need quick mail access.

Download Mutt from ubuntu repositories

$sudo apt-get install mutt

Or fedora users can do

$sudo yum install mutt

Or download it from here .

Create a file by the name .muttrc (dont miss the dot there its dot muttrc ) in your home directory and copy the following

set imap_user = ‘’
set imap_pass = ‘your password’
set spoolfile = imaps://
set folder = imaps://
set record=”imaps://[Gmail]/Sent Mail”
set postponed=”imaps://[Gmail]/Drafts”
set header_cache=”~/.mutt/cache/headers”
set message_cachedir=”~/.mutt/cache/bodies”
set certificate_file=~/.mutt/certificates

Change the first two values matching your mail account. Then you’re done!

Type the command mutt in terminal to check your mail


5 responses to “HowTo:Configure Mutt For Gmail Imap

  1. Cool, Thanks.

  2. pretty nice nice. tnx man 😀

  3. Nice.
    Please add a tip how to ‘archive’.

  4. this is what i need. cheers

Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s