Added by Jānis Roze about 5 years ago
Hello
I have just installed OpenProject un my ubuntu server.
I cant connect either to my private or gmail smtp server. It gives me this error message
An error occurred while sending mail (SSL_connect returned=1 errno=0 state=error: wrong version number)
Replies (3)
You can set
OPENPROJECT_SMTP__OPENSSL__VERIFY__MODE=none
if you absolutely need to disable SSL/TLS verification.On a packaged installation use this command:
openproject config:set OPENPROJECT_SMTP__OPENSSL__VERIFY__MODE=none
Please restart your server after setting this environment variable.
service openproject restart
Best,
Oliver
@Oliver Thanks but unfortunately this did not help the error to be fixed. What is the best way to troubleshoot this? Or are there any more suggestions?
Great thanks
Janis
An error occurred while sending mail (SSL_connect returned=1 errno=0 state=error: wrong version number)
We are trying to O365 Relay and facing this error.
Here are our configuration:
"Email Delivery Method : smtp
SMTP Port : 587
SMTP HELO Domain: openproject.domain.ca
SMTP authentication: login
SMTP username: serviceaccount@domain.ca
Automatically use STARTTLS if available: True
Use SSL connection: True "
Any recommendation ?