From 2feb186579efc29ab67595d1253462e517e938dd Mon Sep 17 00:00:00 2001
From: Neshura <neshura@noreply.forgejo.neshweb.net>
Date: Sat, 12 Apr 2025 13:24:59 +0000
Subject: [PATCH] Update install.sh

---
 install.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/install.sh b/install.sh
index cf2f824..57624a5 100644
--- a/install.sh
+++ b/install.sh
@@ -19,7 +19,7 @@ if [[ -z "$PASS" ]]; then
 fi
 
 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/#FromLine/FromLine/' /etc/ssmtp/ssmtp.conf
 printf "useSTARTTLS=YES\nAuthUser=$USER@$DOMAIN\nAuthPass=$PASS\n" >> /etc/ssmtp/ssmtp.conf