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:
sudo apt-get install mutt
# IMAP set from = "firstname.lastname@example.org" set imap_user = "email@example.com" set imap_pass = "password" set folder = "imaps://imap.gmail.com:993" set imap_check_subscribed
# SMTP set smtp_url = "smtp://firstname.lastname@example.org: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
mkdir -p /home/.mutt/cache
That’s it. Now Mutt is ready to go.