I'd like to set up some sort of mail server to send emails from from my gmail account to another email. How can I do this?
Nagios – How to Have Nagios Alerts Emailed to Gmail
nagios3server
nagios3server
I'd like to set up some sort of mail server to send emails from from my gmail account to another email. How can I do this?
Best Answer
First, install sSMTP, since in this instance postfix is overkill. Yes, this will remove postfix. Do we care? Not really.
/etc/ssmtp/ssmtp.conf
Now, we need to set permissions on
/etc/ssmtp/ssmtp.conf
to help (it isn't foolproof) protect your plaintext password.Restart nagios and you should be set.