1 2 3 4 5 6
/usr/doc/ssmtp-2.64/generate_config /etc/ssmtp/ssmtp.conf if [ ! -e /usr/sbin/sendmail ];then ln -s ssmtp /usr/sbin/sendmail else echo '/usr/sbin/sendmail already exists!' fi