Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
bobimicroweber committed Sep 30, 2024
1 parent 36d4e28 commit 6ae9e2e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions web/Modules/Email/shell/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,20 @@ sudo apt-get --no-install-recommends install clamav clamav-daemon -yq
sudo apt-get --no-install-recommends install amavisd-new -yq
sudo apt-get install libmysqlclient-dev libopendbx1-mysql -yq

# Install SASL
sudo apt-get install sasl2-bin -yq

# auto start SASL file
echo 'START=yes' > /etc/default/saslauthd

systemctl restart saslauthd

groupadd -g 5000 vmail && mkdir -p /var/mail/vmail
useradd -u 5000 vmail -g vmail -s /usr/sbin/nologin -d /var/mail/vmail
chown -R vmail:vmail /var/mail/vmail
mkdir -p /etc/postfix/sql


# Enable email ports
ufw allow 25
ufw allow 587
Expand Down

0 comments on commit 6ae9e2e

Please sign in to comment.