-
Notifications
You must be signed in to change notification settings - Fork 19
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
Comments
Hey Hans,
Cheers for the update, funny that I received this email just in time, I am
making changes to the image currently I will try to include this also.
Regards,
…On Mon, 10 Jun 2019 at 19:41, esapy ***@***.***> wrote:
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
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1?email_source=notifications&email_token=ADTHYKBR6K7YNUUQDQTDGD3PZ2N53A5CNFSM4HWWG6H2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GYUH3EQ>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADTHYKG52GHZ6IZY3MAVSLTPZ2N53ANCNFSM4HWWG6HQ>
.
|
Thanks! |
Fixed in latest release "The Refactor Release" thanks for contributing! |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: