Mutt: IMAP & SMTP Configuration (Linux Terminal)

Mutt is an excellent, open-source, messaging client that functions through the Linux terminal. Many security experts are still using this because it has good PGP support, it’s fast, and can be customised to one’s taste. It isn’t recommended for those who only begin learning about command-based interfaces. There are a few things that need to be configured in the /etc/muttrc file, such as  IMAP y SMTP. However, once these few things have been dealt with, it is quite easy to use to receive/send e-mail. 

This is the step by step, command-line based process:

  1. Download and install mutt. 
    sudo apt-get install mutt
  2. Open the file with your preferred text-editor. I use Vim. 
    vim /etc/Muttrc 
  3. Create a commentary “e-mail-configuration” so it is easy to understand in the future. 
  4. Next, paste the following information. Make sure to replace “”, and “password” with your real details. 
    # IMAP
    set from         = ""
    set imap_user         = "" 
    set imap_pass = "password" 
    set folder = "imaps://" 
    set imap_check_subscribed
  5. # SMTP 
    set smtp_url = "smtp://" 
    set smtp_pass = "password" set spoolfile = "+INBOX" 
    set postponed = "+[Gmail]/Drafts" set trash = "imaps://[Gmail]/Trash" set header_cache =~/.mutt/cache/headers set message_cachedir =~/.mutt/cache/bodies set certificate_file =~/.mutt/certificates


  6. Finally, execute:
    mkdir -p /home/.mutt/cache


That’s it. Now Mutt is ready to go. 

You Might Also Enjoy Reading

The Eighth Wonder
Description: The transatlantic cable, completed in July 1866, was the...
Read more
The Psychology of TikTok: Unveiling the Intriguing Dynamics...
The rise of TikTok, an app that allows users to...
Read more
The Psychology of Artificial Intelligence: An Introduction
Artificial Intelligence (AI) is a field that combines elements of...
Read more
Read more

Post does not have featured image

101: Death of David Rockerfeller, Economics & Poverty
David Rockerfeller, the father of modern economics and consumer society...
Read more
Factual Broadcasting: Meteorology
Article References Article Hippocrates believed that in order to study medicine properly, it...
Read more
Cybersecurity & Governance
Read more
2023 Quantum Predictions: Warfare and Diplomatic Verdicts
Table of Contents Introduction Exploring the Possibilities of Quantum-Based...
Read more
Leak: The Plymouth City Council Scandal
The Plymouth City Council scandal has been revealed.The council is...
Read more
Postmodernism: Questions
Media References Media References Oxford Dictionaries Online: PostmodernismWild Goose Chase: Premodern vs....
Read more
The Psychology of Instagram's Threads: Revealing a New...
In the fast-paced world of social media, Instagram has always...
Read more
Killer Robots: How Did it Happen?
Table of Contents Introduction Killer Robots: How Did it Happen? Understanding robotic premeditation...
Read more

One thought on “Mutt: IMAP & SMTP Configuration (Linux Terminal)

Add yours

Leave a Reply

Create a website or blog at

Up ↑

LIVE on Twitch OFFLINE on Twitch

Discover more from BETSHY

Subscribe now to keep reading and get access to the full archive.

Continue Reading