Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Problem connecting to smtp

Problem connecting to smtp

Added by Jānis Roze over 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)

RE: Problem connecting to smtp - Added by Oliver Günther over 5 years ago

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

RE: Problem connecting to smtp - Added by Jānis Roze over 5 years ago

@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

RE: Problem connecting to smtp - Added by Ahmed Ali almost 5 years ago

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 ?

  • (1 - 3/3)
Loading...