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

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. Net::SMTPAuthenticationError (503 5.5.1 Error: authentication not enabled

Net::SMTPAuthenticationError (503 5.5.1 Error: authentication not enabled

Added by geoff rowland about 7 years ago

Hello,

When users try to use the ‘forgot password’ link, there is an “Internal error” displayed. In the logs, I see the error Net::SMTPAuthenticationError (503 5.5.1 Error: authentication not enabled.

The stmp server I use does not use authentication (limited by IP address) - if I manually telnet from the openproject server to the SMTP server, I’m able to successfully send email manually, so I know that is working.

in conf.d/smtp I have
export SMTP_AUTHENTICATION=“none”

as far as I know this had been working fine, then stopped working after possibly an update through apt-get

How do I troubleshoot what is going on since I am able to send email through telnet without issue?

if I run openproject run console, then type ActionMailer::Base.smtp_settings

it has the correct server and port however it has some random name and password (username: jeffrey) that I certainly did not set, and is definitely not in /etc/openproject/conf.d/smtp

In fact, I searched the openproject files and can find no trace of username jeffrey or the password that is listed (Peach6). where is this coming from?


Replies (1)

RE: Net::SMTPAuthenticationError (503 5.5.1 Error: authentication not enabled - Added by john kimber about 6 years ago

 It is because Google blocks gmail smtp sign-in attempts from apps which do not use modern security standards (mentioned on their support page). You can however, turn on/off this safety feature by going to the link below: 

Go to this link and select Turn On 

https://www.google.com/settings/security/lesssecureapps 

Moreover google block an ip when you try to send a email since a unusual location, so, you can unblock in the next link 
https://support.google.com/accounts/answer/6009563 

and clicked in 

accounts.google.com/DisplayUnlockCaptcha .

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