Disable exim chunking
This commit is contained in:
parent
0a467401bb
commit
1d1a6b4459
|
@ -108,17 +108,19 @@ function upgrade_smilodon {
|
||||||
}
|
}
|
||||||
|
|
||||||
function backup_local_smilodon {
|
function backup_local_smilodon {
|
||||||
if [ -d $SMILODON_PATH ]; then
|
if [ ! -d $SMILODON_PATH ]; then
|
||||||
systemctl stop smilodon
|
return
|
||||||
|
|
||||||
USE_MONGODB=1
|
|
||||||
function_check backup_database_to_usb
|
|
||||||
backup_database_to_usb smilodon
|
|
||||||
|
|
||||||
backup_directory_to_usb $SMILODON_PATH smilodon
|
|
||||||
|
|
||||||
systemctl start smilodon
|
|
||||||
fi
|
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 {
|
function restore_local_smilodon {
|
||||||
|
|
|
@ -846,6 +846,9 @@ function install_email_basic {
|
||||||
echo "dc_mailname_in_oh='true'" >> /etc/exim4/update-exim4.conf.conf
|
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_localdelivery='maildir_home'" >> /etc/exim4/update-exim4.conf.conf
|
||||||
echo "dc_main_log_selector=-all" >> /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
|
update-exim4.conf
|
||||||
sed -i "s/START=no/START=yes/g" /etc/default/saslauthd
|
sed -i "s/START=no/START=yes/g" /etc/default/saslauthd
|
||||||
systemctl start saslauthd
|
systemctl start saslauthd
|
||||||
|
|
Loading…
Reference in New Issue