Install SSMTP on Centos 7
| August 31st, 2016
Add the repo if it's not added:
yum install epel-release -y
Install:
yum -y install ssmtp
(yum install mailx) if not installed
Configure:
alternatives --config mta
There are 2 programs which provide 'mta'.
Selection Command
-----------------------------------------------
*+ 1 /usr/sbin/sendmail.postfix
2 /usr/sbin/sendmail.ssmtp
Enter to keep the current selection[+], or type selection number:
2
Disable postfix (or sendmail):
systemctl stop postfix
systemctl disable Read more [...]