Updated install script
This commit is contained in:
parent
9e75c66915
commit
73127ed7b4
1 changed files with 19 additions and 4 deletions
|
@ -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,17 +130,31 @@ 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,
|
||||||
|
"core/http-bounce": {
|
||||||
|
"enabled": true,
|
||||||
"url": "http://localhost/webhooks/zone-mta"
|
"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": {
|
||||||
"transactional": {
|
"transactional": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue