Wednesday, 15 August 2012

Centos 6/RHEL install Mutt Email Client Gmail IMAP

Mutt is a very popular and powerful command line client for Email handling and is the tool of choice for many Linux power users.

It is fairly straightforward to configure Mutt Email client for Gmail IMAP on Centos 6/RHEL with a few simple commands.

This is a quick guide to getting it up and running on Centos 6/RHEL in basic IMAP mode for Gmail. If you want more then you could do much worse than checking out the guide at the Arch Linux wiki.

However, if you just want to get your Mutt working with Gmail Centos 6/RHEL then do the following.

First install it.

$sudo yum -y install mutt

Make a directory for the files.


$mkdir .mutt   (or /home/<user_name>/.mutt

Now create and edit a muttrc file

vi ~/.mutt/muttrc        ('i' to insert 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"

Save the file (Esc ZZ) 

$mutt                        

Should open up a mutt window accessing your Emails.




3 comments:

  1. nope didn't worked.

    ReplyDelete
  2. How to Configure MUTT Email Client With Gmail
    https://www.youtube.com/watch?v=CxPQ_IVLYvM

    MUTT Email Client Compose and send Email
    https://www.youtube.com/watch?v=EbTZ4mcnHp0

    ReplyDelete
  3. Every person has created a lot of Gmail accounts to execute their official and personal work effectively so it's general they feel problem to handle all these accounts.How to Reach Gmail Support

    ReplyDelete