Disable exim chunking

This commit is contained in:
Bob Mottram 2017-11-27 22:41:46 +00:00
parent 0a467401bb
commit 1d1a6b4459
2 changed files with 15 additions and 10 deletions

View File

@ -108,17 +108,19 @@ function upgrade_smilodon {
}
function backup_local_smilodon {
if [ -d $SMILODON_PATH ]; then
systemctl stop smilodon
USE_MONGODB=1
function_check backup_database_to_usb
backup_database_to_usb smilodon
backup_directory_to_usb $SMILODON_PATH smilodon
systemctl start smilodon
if [ ! -d $SMILODON_PATH ]; then
return
fi
systemctl stop smilodon
USE_MONGODB=1
function_check backup_database_to_usb
backup_database_to_usb smilodon
backup_directory_to_usb $SMILODON_PATH smilodon
systemctl start smilodon
}
function restore_local_smilodon {

View File

@ -846,6 +846,9 @@ function install_email_basic {
echo "dc_mailname_in_oh='true'" >> /etc/exim4/update-exim4.conf.conf
echo "dc_localdelivery='maildir_home'" >> /etc/exim4/update-exim4.conf.conf
echo "dc_main_log_selector=-all" >> /etc/exim4/update-exim4.conf.conf
echo "chunking_advertise_hosts =" > /etc/exim4/conf.d/main/04_exim4-config_chunking
update-exim4.conf
sed -i "s/START=no/START=yes/g" /etc/default/saslauthd
systemctl start saslauthd