mirror of
https://github.com/nodemailer/wildduck.git
synced 2024-11-10 17:47:07 +08:00
removed tor/onion
This commit is contained in:
parent
7e88acca28
commit
f754ec1a8f
3 changed files with 1 additions and 27 deletions
|
@ -31,17 +31,6 @@ wget -qO- https://www.mongodb.org/static/pgp/server-${MONGODB}.asc | sudo apt-ke
|
|||
# hardcode xenial as at this time there are no non-dev packages for bionic (http://repo.mongodb.org/apt/ubuntu/dists/)
|
||||
echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/$MONGODB multiverse" > /etc/apt/sources.list.d/mongodb-org.list
|
||||
|
||||
# tor keys
|
||||
# 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
|
||||
# uncomment if you want to support TOR
|
||||
|
||||
#echo "deb http://deb.torproject.org/torproject.org $CODENAME main
|
||||
#deb-src http://deb.torproject.org/torproject.org $CODENAME main" > /etc/apt/sources.list.d/tor.list
|
||||
#gpg --keyserver keys.gnupg.net --recv A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89
|
||||
#gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
|
||||
|
||||
# rspamd
|
||||
wget -O- https://rspamd.com/apt-stable/gpg.key | apt-key add -
|
||||
echo "deb http://rspamd.com/apt-stable/ $CODENAME main" > /etc/apt/sources.list.d/rspamd.list
|
||||
|
|
|
@ -6,15 +6,7 @@ echo -e "\n-- Executing ${ORANGE}${OURNAME}${NC} subscript --"
|
|||
|
||||
# install nginx
|
||||
apt-get update
|
||||
apt-get -q -y install pwgen git ufw build-essential libssl-dev dnsutils python software-properties-common nginx wget
|
||||
|
||||
# install tor
|
||||
apt-get update
|
||||
|
||||
apt-get -q -y install mongodb-org nodejs redis-server clamav clamav-daemon
|
||||
|
||||
# uncomment if you want to support tor
|
||||
#apt-get -q -y install tor deb.torproject.org-keyring
|
||||
apt-get -q -y install pwgen git ufw build-essential libssl-dev dnsutils python software-properties-common nginx wget mongodb-org nodejs redis-server clamav clamav-daemon
|
||||
|
||||
# rspamd
|
||||
apt-get -q -y --no-install-recommends install rspamd
|
||||
|
|
|
@ -60,12 +60,6 @@ enabled=\"sender\"
|
|||
secret=\"$ZONEMTA_SECRET\"
|
||||
algo=\"md5\"" > /etc/zone-mta/plugins/loop-breaker.toml
|
||||
|
||||
echo '["modules/zonemta-onion"]
|
||||
enabled=["sender"]
|
||||
["modules/zonemta-onion".proxy]
|
||||
host="127.0.0.1"
|
||||
port=9050' > /etc/zone-mta/plugins/onion.toml
|
||||
|
||||
echo "[wildduck]
|
||||
enabled=[\"receiver\", \"sender\"]
|
||||
|
||||
|
@ -110,7 +104,6 @@ DKIM_JSON=`DOMAIN="$MAILDOMAIN" SELECTOR="$DKIM_SELECTOR" node -e 'console.log(J
|
|||
|
||||
cd /opt/zone-mta
|
||||
npm install --unsafe-perm --production
|
||||
npm install zonemta-onion --save
|
||||
|
||||
cd /opt/zone-mta/plugins/wildduck
|
||||
npm install --unsafe-perm --production
|
||||
|
|
Loading…
Reference in a new issue