Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose templating breaks email sending #454

Closed
yanokwa opened this issue Aug 2, 2023 · 1 comment · Fixed by #455
Closed

docker-compose templating breaks email sending #454

yanokwa opened this issue Aug 2, 2023 · 1 comment · Fixed by #455
Assignees
Labels
bug ops Docker, ops to deploy Central

Comments

@yanokwa
Copy link
Member

yanokwa commented Aug 2, 2023

In https://github.com/getodk/central/blob/master/docker-compose.yml#L60, we use this syntax:

EMAIL_FROM=${EMAIL_FROM:-no-reply@${DOMAIN}}`

Given an address of foo@bar.org, password resets fail (stack trace) with this error:

Mail command failed: 501 Syntax error, parameters in command "MAIL FROM:<foo@bar.org}>" unrecognized or missing

Note the trailing } in the email. Somewhere the templating is failing. This is confirmed by running docker compose config

@lognaturel
Copy link
Member

I recall verifying this extensively because it is strange but maybe my memory is playing tricks on me. Could it be a docker compose version difference?

@matthew-white matthew-white added bug ops Docker, ops to deploy Central labels Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ops Docker, ops to deploy Central
Projects
Status: ✅ done
Development

Successfully merging a pull request may close this issue.

3 participants