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 username@gmail.com with your gmail address. That’s it 🙂

Conclusion

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.
Zack

Zack

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

You may also like...

Leave a Reply