Skip to content

BillionMail gives you open-source MailServer, NewsLetter, Email Marketing — fully self-hosted, dev-friendly, and free from monthly fees. Join the discord: https://discord.gg/asfXzBUhZr

Replace mail_users.sh with bm.sh

aapanel.com617c5ab41378
diff --git a/install.sh b/install.sh
index ee1a75d7..8e95e8a4 100644
--- a/install.sh
+++ b/install.sh
@@ -1365,9 +1365,8 @@ EOF
[ ! -d "/opt" ] && mkdir /opt
echo "${PWD_d}" > /opt/PWD-Billion-Mail.txt
- ln -sf ${PWD_d}/mail_users.sh /usr/bin/bm
- ln -sf ${PWD_d}/mail_users.sh ${PWD_d}/bm
- chmod +x ${PWD_d}/mail_users.sh
+ ln -sf ${PWD_d}/bm.sh /usr/bin/bm
+ chmod +x ${PWD_d}/bm.sh
}
@@ -1438,7 +1437,7 @@ else
fi
echo -e "BillionMail Username: \e[1;33m${ADMIN_USERNAME}\e[0m Password: \e[1;33m${ADMIN_PASSWORD}\e[0m"
echo -e ""
-echo -e "Tip: Use \e[33m bm \e[0m or \e[33mbash mail_users.sh\e[0m to Add Domain and login info etc."
+echo -e "Tip: Use \e[33m bm \e[0m or \e[33mbash bm.sh\e[0m to Add Domain and login info etc."
# Install
curl -o /dev/null -fsSLk --connect-time 10 -X POST "https://www.aapanel.com/api/panel/panel_count_daily?name=billionmail" >/dev/null 2>&1
diff --git a/update.sh b/update.sh
index acce1bae..c160d797 100644
--- a/update.sh
+++ b/update.sh
@@ -277,9 +277,8 @@ Update_BillionMail(){
[ ! -d "/opt" ] && mkdir /opt
echo "${PWD_d}" > /opt/PWD-Billion-Mail.txt
- ln -sf ${PWD_d}/mail_users.sh /usr/bin/bm
- ln -sf ${PWD_d}/mail_users.sh ${PWD_d}/bm
- chmod +x ${PWD_d}/mail_users.sh
+ ln -sf ${PWD_d}/bm.sh /usr/bin/bm
+ chmod +x ${PWD_d}/bm.sh
}