Update install.sh
This commit is contained in:
parent
b3a5b7ea47
commit
2feb186579
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ if [[ -z "$PASS" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
apt-get -y install ssmtp
|
apt-get -y install ssmtp
|
||||||
sed -i -e 's/=mail/=mail.neshweb.net:587/' /etc/ssmtp/ssmtp.conf # replace 'mail' mailhub with actual mailserver
|
sed -i -e 's/=mail$/=mail.neshweb.net:587/' /etc/ssmtp/ssmtp.conf # replace 'mail' mailhub with actual mailserver
|
||||||
sed -i -e 's/hostname=.*/hostname='"$DOMAIN"'/' /etc/ssmtp/ssmtp.conf # replace hostname with actual domain
|
sed -i -e 's/hostname=.*/hostname='"$DOMAIN"'/' /etc/ssmtp/ssmtp.conf # replace hostname with actual domain
|
||||||
sed -i -e 's/#FromLine/FromLine/' /etc/ssmtp/ssmtp.conf
|
sed -i -e 's/#FromLine/FromLine/' /etc/ssmtp/ssmtp.conf
|
||||||
printf "useSTARTTLS=YES\nAuthUser=$USER@$DOMAIN\nAuthPass=$PASS\n" >> /etc/ssmtp/ssmtp.conf
|
printf "useSTARTTLS=YES\nAuthUser=$USER@$DOMAIN\nAuthPass=$PASS\n" >> /etc/ssmtp/ssmtp.conf
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue