From be34440821ae7745a7d60e8fc946a66eba4cbf9c Mon Sep 17 00:00:00 2001 From: Andris Reinman Date: Sat, 27 Jan 2018 13:21:00 +0200 Subject: [PATCH] updated install script --- setup/install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup/install.sh b/setup/install.sh index e1b27d10..86c20874 100755 --- a/setup/install.sh +++ b/setup/install.sh @@ -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