Open link in a new tab

Content

Expand project menu

EMAIL setup problem authentication against Exchange server

Upgraded from old pre release of Openproject to 3.0.14 and having a problem getting email notification to work. I tried switching to the new format with no success.

This is what worked for us before:

 production:
   email_delivery:
     delivery_method: :smtp
     smtp_settings:
     enable_starttls_auto: true
     address: "email.home.com"
     port: "25"
     domain: "home.com"
     authentication: :ntlm
     user_name: "home\\myid"
     password: "mypassword"

I know the documentation for Openproject do not list ntlm as a supported authentication method. We install a gem “ruby-ntlm” (Gemfile.local) and this made it work before.

Moving forward to 3.0.14 and wanting to use the new format. My config file looks like this:

 production:
   email_delivery_method: "smtp"
   smtp_address: "email.home.com"
   smtp_enable_starttls_auto: true
   smtp_port: 25
   smtp_authentication: :ntlm
   smtp_domain: "home.com"
   smtp_user_name: "home\\myid"
   smtp_password: "mypassword"

I tried : plain and :login for the authentication with no success.

The returned error always comes back to say the id and password is invalid.

I switch back using the old format of the email configuration with 3.0.14 and it worked again.

Any idea what I need to change to get the new email configuration to work?