Updated install script

This commit is contained in:
Andris Reinman 2016-09-21 11:53:30 +03:00
parent 9e75c66915
commit 73127ed7b4

View file

@ -115,6 +115,7 @@ fi
mkdir -p /opt/zone-mta mkdir -p /opt/zone-mta
cd /opt/zone-mta cd /opt/zone-mta
git clone git://github.com/zone-eu/zone-mta.git . git clone git://github.com/zone-eu/zone-mta.git .
git checkout cf429f07
# Ensure queue folder # Ensure queue folder
mkdir -p /var/data/mailtrain mkdir -p /var/data/mailtrain
@ -129,16 +130,30 @@ cat >> config/production.json <<EOT
}, },
"feeder": { "feeder": {
"port": 587, "port": 587,
"authentication": true, "authentication": true
},
"api": {
"maildrop": false,
"user": "mailtrain", "user": "mailtrain",
"pass": "$SMTP_PASS" "pass": "$SMTP_PASS"
}, },
"log": { "log": {
"level": "info" "level": "info"
}, },
"bounces": { "plugins": {
"enabled": false, "core/email-bounce": false,
"url": "http://localhost/webhooks/zone-mta" "core/http-bounce": {
"enabled": true,
"url": "http://localhost/webhooks/zone-mta"
},
"core/http-auth": {
"enabled": true,
"url": "http://localhost:8080/test-auth"
},
"core/default-headers": {
"futureDate": false,
"xOriginatingIP": false
}
}, },
"getSenderConfig": "http://localhost/webhooks/zone-mta/sender-config?api_token=$DKIM_API_KEY", "getSenderConfig": "http://localhost/webhooks/zone-mta/sender-config?api_token=$DKIM_API_KEY",
"zones": { "zones": {