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.
|
||||
source setup/firstuser.sh
|
||||
|
||||
#Setup Blocklist
|
||||
source setup/blacklist.sh
|
||||
|
||||
# Done.
|
||||
echo
|
||||
echo "-----------------------------------------------"
|
||||
|
@ -245,6 +245,10 @@ if [ -z "$DISABLE_FIREWALL" ]; then
|
||||
fi
|
||||
|
||||
ufw --force enable;
|
||||
|
||||
#Setup Blocklist
|
||||
source setup/blacklist.sh
|
||||
|
||||
fi #NODOC
|
||||
|
||||
# ### Local DNS Service
|
||||
|
Loading…
Reference in New Issue
Block a user