Open pizzapanther opened 2 years ago
From this answer on Stack Overflow, port for SSL is 465, not 587 which is for STARTTLS. Replacing SHARELATEX_EMAIL_SMTP_PORT=587
to SHARELATEX_EMAIL_SMTP_PORT=465
solves the problem.
I believe I tried both but it's been so long now I can't remember all the configuration details I tried. But mailgun supports 25, 587, and 465 and I believe I tried them all. Also the linked stacked overflow looks like a different error than ssl3_record.c:332
Steps to Reproduce
Expected Behavior
mail sends successfully
Observed Behavior
Error below:
Context
Makes it difficult to setup the mail service
Analysis
It looks like the SSL is out of date and I'm assuming mailgun enforces a higher version of SSL than what overleaf supports.
Work Around
I setup a local postfix server that correctly connects and relays the SMTP and used SMTP unauthed in the container without SSL.
I then add to the docker compose:
And variables look like: