diff --git a/src/freedombone-base-email b/src/freedombone-base-email index d64918e0..78eadb3c 100755 --- a/src/freedombone-base-email +++ b/src/freedombone-base-email @@ -670,6 +670,9 @@ function install_email { if [[ $(is_completed $FUNCNAME) == "1" ]]; then return fi + + echo "$DEFAULT_DOMAIN_NAME" > /etc/mailname + apt-get -y remove postfix apt-get -y install exim4 sasl2-bin swaks libnet-ssleay-perl procmail xinetd @@ -896,8 +899,6 @@ function install_email { chown -R $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/Maildir fi - echo "$DEFAULT_DOMAIN_NAME" > /etc/mailname - function_check configure_firewall_for_email configure_firewall_for_email dpkg-reconfigure --frontend noninteractive exim4-config