Disable email chunking on upgrades
This commit is contained in:
parent
1d1a6b4459
commit
e9ebb25bab
|
@ -95,6 +95,7 @@ if [ -d $PROJECT_DIR ]; then
|
||||||
|
|
||||||
apt-get -yq -t stretch-backports install certbot
|
apt-get -yq -t stretch-backports install certbot
|
||||||
email_install_tls
|
email_install_tls
|
||||||
|
email_disable_chunking
|
||||||
defrag_filesystem
|
defrag_filesystem
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -983,6 +983,16 @@ function install_composer {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function email_disable_chunking {
|
||||||
|
if [ -f /etc/exim4/conf.d/main/04_exim4-config_chunking ]; then
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
echo "chunking_advertise_hosts =" > /etc/exim4/conf.d/main/04_exim4-config_chunking
|
||||||
|
update-exim4.conf
|
||||||
|
dpkg-reconfigure --frontend noninteractive exim4-config
|
||||||
|
systemctl restart exim4
|
||||||
|
}
|
||||||
|
|
||||||
function email_install_tls {
|
function email_install_tls {
|
||||||
tls_config_file=/etc/exim4/conf.d/main/03_exim4-config_tlsoptions
|
tls_config_file=/etc/exim4/conf.d/main/03_exim4-config_tlsoptions
|
||||||
tls_auth_config_file=/etc/exim4/conf.d/auth/30_exim4-config_examples
|
tls_auth_config_file=/etc/exim4/conf.d/auth/30_exim4-config_examples
|
||||||
|
|
Loading…
Reference in New Issue