solgenomics / breedbase_dockerfile

The Dockerfiles for breeDBase
MIT License
8 stars 8 forks source link

Email confirmation not working #46

Closed djbutler closed 1 year ago

djbutler commented 1 year ago

When new users sign up, the confirmation emails are not sent. I can see in the breedbase logs that the script is failing.

What configuration is needed to make confirmation emails work properly? For instance, do I need to configure an SMTP server?

I'm running Nginx as my reverse proxy server.

Thanks, Dan

lukasmueller commented 1 year ago

You need to open port 25 in the docker-compose file, similar to what is done with port 8080.

You need to stop the mail server on the host

If you are running your system on the cloud, you need to make sure that the cloud provider does not block port 25 by default. This is commonly done by default, because of spam. Contact the provider if this is a problem.

Then it should work.

cheers Lukas


From: Dan Butler @.> Sent: Tuesday, June 13, 2023 9:04 PM To: solgenomics/breedbase_dockerfile @.> Cc: Subscribed @.***> Subject: [solgenomics/breedbase_dockerfile] Email confirmation not working (Issue #46)

When new users sign up, the confirmation emails are not sent. I can see in the breedbase logs that the script is failing.

What configuration is needed to make confirmation emails work properly? For instance, do I need to configure an SMTP server?

I'm running Nginx as my reverse proxy server.

Thanks, Dan

— Reply to this email directly, view it on GitHubhttps://github.com/solgenomics/breedbase_dockerfile/issues/46, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAAV7F6MWVFECEBZRM73D3DXLEE3XANCNFSM6AAAAAAZFT33PQ. You are receiving this because you are subscribed to this thread.Message ID: @.***>

djbutler commented 1 year ago

Thanks very much for the explanations. I made a request to my cloud provider to unblock port 25 and create an rDNS entry - those fixed it.