slackbuilds_ponce/network/ssmtp/doinst.sh

7 lines
177 B
Bash
Raw Normal View History

/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