-
Notifications
You must be signed in to change notification settings - Fork 19
Description
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