|
@@ -670,6 +670,9 @@ function install_email {
|
670
|
670
|
if [[ $(is_completed $FUNCNAME) == "1" ]]; then
|
671
|
671
|
return
|
672
|
672
|
fi
|
|
673
|
+
|
|
674
|
+ echo "$DEFAULT_DOMAIN_NAME" > /etc/mailname
|
|
675
|
+
|
673
|
676
|
apt-get -y remove postfix
|
674
|
677
|
apt-get -y install exim4 sasl2-bin swaks libnet-ssleay-perl procmail xinetd
|
675
|
678
|
|
|
@@ -896,8 +899,6 @@ function install_email {
|
896
|
899
|
chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/Maildir
|
897
|
900
|
fi
|
898
|
901
|
|
899
|
|
- echo "$DEFAULT_DOMAIN_NAME" > /etc/mailname
|
900
|
|
-
|
901
|
902
|
function_check configure_firewall_for_email
|
902
|
903
|
configure_firewall_for_email
|
903
|
904
|
dpkg-reconfigure --frontend noninteractive exim4-config
|