slackbuilds/network/ssmtp/doinst.sh

7 lines
177 B
Bash

/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