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

SMTP emailing issues #1

Closed
esapy opened this issue Jun 10, 2019 · 3 comments
Closed

SMTP emailing issues #1

esapy opened this issue Jun 10, 2019 · 3 comments

Comments

@esapy
Copy link

esapy commented Jun 10, 2019

Dear David,

I discovered an issue related to the grav-admin module. The forgot password functionality (or any email notification) was not sending emails. The exception traceback routed the problem in the EHLO and HELO SMTP protocol commands resulting in a 501 (invalid domain address).

The nginx configuration /etc/nginx/conf.d/default.conf has a setting,

server_name _;

This should be changed to,

server_name $hostname;

After restarting the container, the email notifications began working as advertised.

I have a temporary solution in post-processing (which could be included in the Dockerfile):

sed -i 's/server_name.*/server_name $hostname;/' /etc/nginx/conf.d/default.conf

Thanks for the awesome docker. It's one of the few that's using the most recent version(s) (php + grav).

Cheers,

Hans

@dsavell
Copy link
Owner

dsavell commented Jun 10, 2019 via email

@esapy
Copy link
Author

esapy commented Jun 10, 2019

Thanks!

@dsavell
Copy link
Owner

dsavell commented Jun 10, 2019

Fixed in latest release "The Refactor Release" thanks for contributing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants