mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-25 00:50:32 +00:00
Update install.sh
This commit is contained in:
parent
36d4e283ed
commit
6ae9e2eb62
1 changed files with 14 additions and 0 deletions
|
@ -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 --no-install-recommends install amavisd-new -yq
|
||||||
sudo apt-get install libmysqlclient-dev libopendbx1-mysql -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
|
# Enable email ports
|
||||||
ufw allow 25
|
ufw allow 25
|
||||||
ufw allow 587
|
ufw allow 587
|
||||||
|
|
Loading…
Reference in a new issue