1. 先停止 postfix 服務
# systemctl stop postfix
# systemctl disable postfix
rm ‘/etc/systemd/system/multi-user.target.wants/postfix.service'[@more@]2. 安裝 ssmtp 套件
# yum install ssmtp –enablerepo=epel
3. 備份原設定檔 /etc/ssmtp/ssmtp.conf
# cp /etc/ssmtp/ssmtp.conf /etc/ssmtp/ssmtp.conf.$(date +%F)
4. 修改設定檔