mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-10-26 22:16:26 +08:00
updated install script
This commit is contained in:
parent
cf955c6e78
commit
be34440821
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue