Apache run external program with SELinux enabled
13th Mar 2019
yum -y update
yum install -y mailx
create a symbolic link
ln -s /bin/mailx /bin/mail
vi /etc/mail.rc
edit
set smtp=smtps://smtp.gmail.com:465
set smtp-auth=login
set [email protected]
set smtp-auth-pas...