Send system email with Gmail and sSMTP1 min read

Required Packages

Luckily, installing this on Debian/Ubuntu is dead simple.

Then, you’ll need to edit your ssmtp.conf file.

and paste something like this in.

* Press crtl+x, and then y to save and exit. Then add each account that you want to be able to send mail from by editing,

and paste…

Just replace youruser with your Ubuntu username and with your gmail address. That’s it 🙂


Now that this is configured, you can use this for any system alerts you might have.

  1. Hard drive space usage
  2. mdadm/SnapRAID alerts
  3. cron jobs
  4. etc.


I love learning new things and trying out the latest technology.

You may also like...

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.