diff --git a/install.sh b/install.sh index 2194879..7d65d33 100755 --- a/install.sh +++ b/install.sh @@ -55,7 +55,7 @@ mysql -e "GRANT ALL PRIVILEGES ON vmail.* TO 'vmail'@'localhost';" mysqladmin flush-privileges # install mail server software -DEBIAN_FRONTEND=noninteractive apt-get -y install exim4-daemon-heavy spf-tools-perl spamassassin srs libclass-dbi-mysql-perl dovecot-core dovecot-imapd dovecot-mysql dovecot-pop3d dovecot-lmtpd +DEBIAN_FRONTEND=noninteractive apt-get -y install exim4-daemon-heavy spf-tools-perl spamassassin srs libclass-dbi-mysql-perl dovecot-core dovecot-imapd dovecot-mysql dovecot-pop3d dovecot-lmtpd mailutils # configure system users DEBIAN_FRONTEND=noninteractive apt-get -y install ssl-cert @@ -161,7 +161,7 @@ systemctl enable vmail-cron.timer systemctl start vmail-cron.timer # enable email ports in firewalld -[[ -d /etc/firewalld/ ]]; then +if [[ -d /etc/firewalld/ ]]; then firewall-cmd --permanent --zone=public --add-service=smtp firewall-cmd --permanent --zone=public --add-service=smtp-submission firewall-cmd --permanent --zone=public --add-service=smtps