Installing mutt on Arch

Install mutt by using the following command:

sudo pacman -S mutt

Now create the base directories and a file using:

mkdir -p .mutt/cache/{bodies,headers}
touch ~/.mutt/certificates

Use the following muttrc file, especially for Gmail:

Modify it to according to your credentials and place it in the home folder (~/).

Now you can execute mutt simply using:

mutt

For those who have enabled two-step verification in Gmail, directly entered password or written in muttrc will not work. You have to create an App password (https://security.google.com/settings/security/apppasswords) and enter the given password in your muttrc. Then it will work.

Although, it is not recommended to write your passwords in muttrc. You should set up gpg keys. For this refer to: https://wiki.archlinux.org/index.php/Mutt

References:

https://wiki.archlinux.org/index.php/Mutt

http://www.vigasdeep.com/mutt-the-ultimate-mailing-client/

Advertisements

One thought on “Installing mutt on Arch

  1. Pingback: Mutt-A Command Line Email Client – Davinder Kaur

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