Skip to content
Snippets Groups Projects
Commit e9ebb25b authored by Bob Mottram's avatar Bob Mottram
Browse files

Disable email chunking on upgrades

parent 1d1a6b44
No related branches found
No related tags found
No related merge requests found
......@@ -95,6 +95,7 @@ if [ -d $PROJECT_DIR ]; then
apt-get -yq -t stretch-backports install certbot
email_install_tls
email_disable_chunking
defrag_filesystem
fi
fi
......
......@@ -983,6 +983,16 @@ function install_composer {
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 {
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment