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

Update core.sh

aapanel.com391e03b8eaa3
diff --git a/Dockerfiles/core/core.sh b/Dockerfiles/core/core.sh
index ac7db3d4..eb03f975 100644
--- a/Dockerfiles/core/core.sh
+++ b/Dockerfiles/core/core.sh
@@ -72,7 +72,9 @@ fi
if [ ! -d "/opt/billionmail/core/logs/" ]; then
mkdir /opt/billionmail/core/logs
- touch /opt/billionmail/core/logs/access-test.log
+ if [ ! -f "/opt/billionmail/core/logs/access-$(date -u +"%Y%m%d").log" ]; then
+ touch /opt/billionmail/core/logs/access-$(date -u +"%Y%m%d").log
+ fi
fi
chmod +x /opt/billionmail/core/billionmail