or
Since our server scripts were bash scripts and not PHP scripts, we used the latter.
sudo apt install ssmtp
(which would remove postfix)
and modifying the configuration file as in the link above, /etc/ssmtp/ssmtp.conf with
(which would remove postfix)
and modifying the configuration file as in the link above, /etc/ssmtp/ssmtp.conf with
mailhub=smtp.gmail.com:587
AuthUser=ouruser@ourdomain.org
AuthPass=ourpassword
useSTARTTLS=YES
useTLS=YES
(and allow less secure apps must be enabled on that account.)
With that, the notification emails from our server resumed.
No comments:
Post a Comment