Browse Source

Set mailname at the beginning

stockholm
Bob Mottram 5 years ago
parent
commit
4406b117ea
  1. 5
      src/freedombone-base-email

5
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

Loading…
Cancel
Save