Skip to content
Snippets Groups Projects
Commit 4406b117 authored by Bob Mottram's avatar Bob Mottram
Browse files

Set mailname at the beginning

parent 20be3d41
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment