|
@@ -573,7 +573,7 @@ function configure_email {
|
573
|
573
|
return
|
574
|
574
|
fi
|
575
|
575
|
apt-get -y remove postfix
|
576
|
|
- apt-get -y install exim4 sasl2-bin swaks libnet-ssleay-perl procmail
|
|
576
|
+ apt-get -y install exim4-daemon-heavy sasl2-bin swaks libnet-ssleay-perl procmail
|
577
|
577
|
echo 'dc_eximconfig_configtype="internet"' > /etc/exim4/update-exim4.conf.conf
|
578
|
578
|
echo "dc_other_hostnames='$DOMAIN_NAME'" >> /etc/exim4/update-exim4.conf.conf
|
579
|
579
|
echo "dc_local_interfaces=''" >> /etc/exim4/update-exim4.conf.conf
|
|
@@ -655,7 +655,7 @@ function spam_filtering {
|
655
|
655
|
if grep -Fxq "spam_filtering" $COMPLETION_FILE; then
|
656
|
656
|
return
|
657
|
657
|
fi
|
658
|
|
- apt-get -y install spamassassin exim4-daemon-heavy
|
|
658
|
+ apt-get -y install spamassassin
|
659
|
659
|
sed -i 's/ENABLED=0/ENABLED=1/g' /etc/default/spamassassin
|
660
|
660
|
sed -i 's/# spamd_address = 127.0.0.1 783/spamd_address = 127.0.0.1 783/g' /etc/exim4/exim4.conf.template
|
661
|
661
|
# This configuration is based on https://wiki.debian.org/DebianSpamAssassin
|