mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-01 23:57:05 +00:00
moved variable greylistDisabled to another file
Re-Added installation of systemd-resolved, but moved after bind9 installation
This commit is contained in:
parent
6e3ffd5b22
commit
8b4f8140f9
@ -6,7 +6,6 @@ set -euo pipefail
|
||||
|
||||
# START AiutoPcAmico modification
|
||||
PHP_VER=8.2
|
||||
greylistDisabled=false
|
||||
# END AiutoPcAmico modification
|
||||
|
||||
function hide_output {
|
||||
|
2
setup/global-variables.sh
Normal file
2
setup/global-variables.sh
Normal file
@ -0,0 +1,2 @@
|
||||
# START AiutoPcAmico modification
|
||||
greylistDisabled=false
|
@ -3,6 +3,7 @@
|
||||
#####################################################
|
||||
|
||||
source setup/functions.sh # load our functions
|
||||
source setup/global-variables.sh # load AiutoPcAmico variables for settings
|
||||
|
||||
|
||||
# START AiutoPcAmico modification
|
||||
|
@ -301,8 +301,7 @@ fi #NODOC
|
||||
# If more queries than specified are sent, bind9 returns SERVFAIL. After flushing the cache during system checks,
|
||||
# we ran into the limit thus we are increasing it from 75 (default value) to 100.
|
||||
apt_install bind9
|
||||
# touch /etc/default/bind9
|
||||
# touch /etc/default/named
|
||||
|
||||
tools/editconf.py /etc/default/named \
|
||||
"OPTIONS=\"-u bind -4\""
|
||||
|
||||
@ -321,9 +320,13 @@ fi
|
||||
# which is where bind9 will be running. Obviously don't do this before
|
||||
# installing bind9 or else apt won't be able to resolve a server to
|
||||
# download bind9 from.
|
||||
|
||||
# START AiutoPcAmico modification
|
||||
apt_install systemd-resolved
|
||||
rm -f /etc/resolv.conf
|
||||
tools/editconf.py /etc/systemd/resolved.conf DNSStubListener=no
|
||||
echo "nameserver 127.0.0.1" > /etc/resolv.conf
|
||||
# END AiutoPcAmico modification
|
||||
|
||||
# Restart the DNS services.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user