Setting Ubuntu to send email
After setting up RAID on an Ubuntu server at home, I wanted the server to email me if there were any problems with the drives.
Rather than installing and configuring postfix or some other MTA, I settled for ssmtp
.
Installation and testing is as simple as:
Check your spam folder for the messages though!
Configuration lives in /etc/ssmtp/ssmtp.conf
.