|
@@ -78,7 +78,7 @@ for plugin in $(./nodebb plugins | grep 'nodebb-' | cut -f3 -d' '); do
|
|
|
done
|
|
|
|
|
|
echo "=> Enabling the local mailer"
|
|
|
-${mongo_cli} --eval "db.objects.update({ _key: \"settings:emailer-local\" }, { \$set: { \"emailer:local:host\": \"${MAIL_SMTP_SERVER}\", \"emailer:local:port\": \"${MAIL_SMTP_PORT}\", \"emailer:local:username\": \"${MAIL_SMTP_USERNAME}\", \"emailer:local:password\": \"${MAIL_SMTP_PASSWORD}\", \"emailer:local:secure\": \"off\" } }, { upsert: true })"
|
|
|
+${mongo_cli} --eval "db.objects.update({ _key: \"settings:emailer-local\" }, { \$set: { \"host\": \"${MAIL_SMTP_SERVER}\", \"port\": \"${MAIL_SMTP_PORT}\", \"username\": \"${MAIL_SMTP_USERNAME}\", \"password\": \"${MAIL_SMTP_PASSWORD}\", \"secure\": \"off\" } }, { upsert: true })"
|
|
|
|
|
|
${mongo_cli} --eval "db.objects.update({ _key: \"config\" }, { \$set: { \"email:from\": \"${MAIL_FROM}\", \"email:from_name\": \"NodeBB\" } }, { upsert: true })"
|
|
|
|