mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-21 03:02:09 +00:00
added it under the firewall conditions so it will run only if enabled
This commit is contained in:
parent
be8ae6619c
commit
5bec8014fc
@ -127,9 +127,6 @@ management/ssl_certificates.py -q
|
|||||||
# If there aren't any mail users yet, create one.
|
# If there aren't any mail users yet, create one.
|
||||||
source setup/firstuser.sh
|
source setup/firstuser.sh
|
||||||
|
|
||||||
#Setup Blocklist
|
|
||||||
source setup/blacklist.sh
|
|
||||||
|
|
||||||
# Done.
|
# Done.
|
||||||
echo
|
echo
|
||||||
echo "-----------------------------------------------"
|
echo "-----------------------------------------------"
|
||||||
|
@ -245,6 +245,10 @@ if [ -z "$DISABLE_FIREWALL" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
ufw --force enable;
|
ufw --force enable;
|
||||||
|
|
||||||
|
#Setup Blocklist
|
||||||
|
source setup/blacklist.sh
|
||||||
|
|
||||||
fi #NODOC
|
fi #NODOC
|
||||||
|
|
||||||
# ### Local DNS Service
|
# ### Local DNS Service
|
||||||
|
Loading…
Reference in New Issue
Block a user