Setup ssmtp in Raspbian - RasberryPi

SSMTP is a email service for Raspbian and is used for sending out emails internally in a network and externally.Its a very simple install and will get you up and running in no time. This process would need a Root account and make sure you update Raspbian to the latest patch level. You can update by running "sudo apt-get update".

 First Install ssmtp package via apt

# apt-get install ssmtp
# apt-get install mailutils

Now edit the ssmtp config file.

vi /etc/ssmtp/ssmtp.conf

Add these lines in it for external mail server

That's it all done. Now try sending a Test email.

# echo "Test Mail" | mail -s "Test Email"

If you encounter any errors during the process, let us know via Contact Us and will get it resolved promptly.

RasPi Related Articles......

Its now possible to install the latest version of Nagios NRPE v 3.0.1 (source install) on RaspberryPi (incl. Pixel OS).
In Raspberry Pi from version Jessie onwards the "root" login for SSH sessions (via Putty Login) has been disabled by...
If you are getting this error while installing Nagios Core on RaspberryPi run these commands to resolve the error and...
Its now possible to install latest Nagios CORE version on Raspbian by following the steps in this article. Before writing...
Wake-On-LAN (WOL) is a very useful feature if you have got a LAB at home and want to make it...