updated install script

This commit is contained in:
Andris Reinman 2018-01-27 13:21:00 +02:00
parent cf955c6e78
commit be34440821

View file

@ -74,6 +74,9 @@ apt-get -q -y install curl pwgen git ufw build-essential libssl-dev dnsutils pyt
# node
curl -sL https://deb.nodesource.com/setup_8.x | bash -
# Setup tor to be able to send emails to .onion network.
# Receiving from onion is not automatically set up, you would have to
# create a hidden servcie first and then bridge port 25
echo 'deb http://deb.torproject.org/torproject.org xenial main
deb-src http://deb.torproject.org/torproject.org xenial main' > /etc/apt/sources.list.d/tor.list
gpg --keyserver keys.gnupg.net --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89
@ -421,8 +424,6 @@ DKIM_JSON=`DOMAIN="$HOSTNAME" SELECTOR="$DKIM_SELECTOR" node -e 'console.log(JSO
cd /opt/zone-mta
npm install --unsafe-perm --production
npm install zonemta-onion --save
git add package.json
git commit -m "Added onion plugin"
cd /opt/zone-mta/plugins/wildduck
npm install --unsafe-perm --production