mutt is a command-line (text based) email client.

Install mutt

On your own Linux computer :

  • Install mutt, urlview and GnuPG
  • Get yourself a GnuPG RSA based key with more than 1024 bits if you have not yet a key.
  • Get this text file: muttrc-squat.net.txt
  • Save it as .muttrc and edit it accordingly for your setup.
  • Try it by starting mutt.

Note : It is for squat.net ssh users not recommend to use mutt and GnuPG on the squat.net server. Your private key is best placed on your own computer.


Sending emails with mutt in this setup

Since Mutt 1.5.15 you can email directly from within mutt without needing an external program for sending out emails.

set smtp_url = "smtp://Your_Email_Username_Here@squat.net@smtp.squat.net:587"
set smtp_pass="if you like to save it etc" # Make .muttrc have 600 file permissions if you decide to save your SASL smtp password in .muttrc
set from="Your_Email_Username_Here@squat.net"
set realname="Some_Fantasy_Style_Username_Here"

Todo in this little howto

  • Change this mutt config so that not opening each GnuPG signed email requires your GnuPG passphrase to be typed in.
  • Check the part with pgpewrap. See also : /usr/share/doc/mutt/examples/gpg.rc

  • Apparently the mutt config file can be simplified (not tested by tech s!n wiki users yet ?), see this external weblink : http://blog.sanctum.geek.nz/linux-crypto-email/?utm_source=rss&utm_medium=rss&utm_campaign=linux-crypto-email