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 = ‘youremailid@gmail.com’
set imap_pass = ‘your password’
set spoolfile = imaps://imap.gmail.com:993/INBOX
set folder = imaps://imap.gmail.com:993
set record=”imaps://imap.gmail.com/[Gmail]/Sent Mail”
set postponed=”imaps://imap.gmail.com/[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

About these ads

5 responses to “HowTo:Configure Mutt For Gmail Imap

  1. Cool, Thanks.

  2. pretty nice nice. tnx man :D

  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:

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