I recently decided to set up a basic mail sender on my Debian install, and chose msmtp. I use FastMail as my mail host.
The first step, of course, is to install msmtp (and ca-certificates, if you don’t already have them):
$ sudo apt-get update $ sudo apt-get install msmtp ca-certificates Once the install is done, msmtp --version will show me that the install is working:
$ msmtp --version msmtp version 1.