Mutt: IMAP & SMTP Configuration (Linux Terminal)

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. 
     #e-mail-configuration
  4. Next, paste the following information. Make sure to replace “username@email.com”, and “password” with your real details. 
    # IMAP
    set from         = "username@email.com"
    set imap_user         = "username@email.com" 
    set imap_pass = "password" 
    set folder = "imaps://imap.gmail.com:993" 
    set imap_check_subscribed
  5. # SMTP 
    set smtp_url = "smtp://username@smtp.email.com:587/" 
    set smtp_pass = "password" set spoolfile = "+INBOX" 
    set postponed = "+[Gmail]/Drafts" set trash = "imaps://imap.gmail.com/[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

Woman working at a computer displaying an eco-friendly home comfort websiteWoman working at a computer displaying an eco-friendly home comfort website
32 Keyboard Shortcuts and Commands for macOS Sequoia…
As someone who spends long hours optimising websites while managing…
Read more
Artificial Intelligence Expresses Through People: The Fascinating Marriage…
In recent years, we have witnessed a groundbreaking intersection between…
Read more
How HAARP Technologies are Used Today
HAARP, short for High-Frequency Active Auroral Research Program, is a…
Read more
How to Increase Organic Traffic
If you have a website or blog, you probably already…
Read more
2023 Quantum Predictions: Warfare and Diplomatic Verdicts2023 Quantum Predictions: Warfare and Diplomatic Verdicts
2023 Quantum Predictions: Warfare and Diplomatic Verdicts
Table of Contents Introduction Exploring the Possibilities of Quantum-Based…
Read more
Postmodernism: Questions
Media References Media References Oxford Dictionaries Online: PostmodernismWild Goose Chase: Premodern vs….
Read more
Can God Speak Through AI Algorithms?
The question of whether God can speak through AI algorithms…
Read more
Kirschian Technology: The Future of Innovation
In the world of technology, advancements are constantly being made…
Read more
The Psychology of Linux: Unravelling the Intricacies of…
In the vast landscape of operating systems, Linux has emerged…
Read more
Meet Sophia, the Robot Who is a UN…
In today's rapidly evolving world, technology is constantly pushing boundaries…
Read more
A Beginner's Guide to Webinars
Are you looking to expand your learning or reach a…
Read more
The Manufacture of Mass Desire: Understanding the Culture…
In our modern society, it is hard to escape the…
Read more

Discover more from BETSHY

Subscribe to get the latest posts sent to your email.

Discover more from BETSHY

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

Continue reading

Discover more from BETSHY

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

Continue reading