Issues troubleshooting email

Yep, so you transposed two characters, which led to an invalid mail server address. DNS resolution failed and gave you the original error.

You can:

  1. re-run discourse-setup if you would prefer a prompt-driven process
  2. edit it by hand using vi or nano
  3. Use this to automatically substitute it for you:

sed -i 's/stmp.sparkpostmail.com/smtp.sparkpostmail.com/g' /var/discourse/containers/app.yml