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. Cannot reset passwords / Email Issue

Cannot reset passwords / Email Issue

Added by Steven Pilcher about 8 years ago

Hello! I am attempting to reset my password on our local install of open project and it has not been able to do it. After looking at the logs, I come across this: Net::SMTPSyntaxError (504 5.7.4 Unrecognized authentication type

I started looking at my settings in conf.d/smtp and everything looks correct. However, I look at the configuration.yml file and it does not look like the other setups that I have seen before (Please note: I did not implement this setup and I am still learning Linux so my foo is a bit weak)

default:
rails_cache_store: <%= ENV.fetch(‘RAILS_CACHE_STORE’) { :memcache }.to_sym %>
session_store: <%= ENV.fetch(‘SESSION_STORE’) { :cache_store }.to_sym %>
email_delivery_method: <%= ENV.fetch(‘EMAIL_DELIVERY_METHOD’) { :sendmail } %>
smtp_address: <%= ENV[‘SMTP_HOST’] %>
smtp_port: <%= ENV.fetch(‘SMTP_PORT’) { 25 }.to_i %>
smtp_domain: <%= ENV.fetch(‘SMTP_DOMAIN’) { ENV[‘HOSTNAME’] } %>
smtp_authentication: <%= ENV.fetch(‘SMTP_AUTHENTICATION’) { :login }.to_sym %>
smtp_user_name: <%= ENV[‘SMTP_USERNAME’] %>
smtp_password: <%= ENV[‘SMTP_PASSWORD’] %>
smtp_enable_starttls_auto: <%= ENV.fetch(‘SMTP_ENABLE_STARTTLS_AUTO’) { “false” } %>
attachments_storage_path: <%= ENV.fetch(‘ATTACHMENTS_STORAGE_PATH’) { “/var/db/_APP_NAME_/files” } %>

If I am reading this correctly, it looks like it is trying to use sendmail instead of smtp as the delivery method, however I do not see any signs of sendmail on my system. There is no /etc/mail directory on my system. I guess my question here would be can i safely change the email delivery method to smtp and input all the settings here so that i can bring it to more of a standard or is there a better way of doing this? Is sendmail better than smtp for linux with OpenProject? Sorry if these are simple questions but I have gotten myself lost in all of this.


Replies (2)

RE: Cannot reset passwords / Email Issue - Added by Steven Pilcher almost 8 years ago

Can I Please get some help here?

RE: Cannot reset passwords / Email Issue - Added by Oliver Günther almost 8 years ago

Hi Steven,

If you’re using the packaged installation, the wizard will ask you for your mail configuration in the late ~third of the installation step.
You can select sendmail or SMTP there.

If your OpenProject installation is already running, you can also update your mail configuration through the UI at the bottom of @ System settings > Mail notifications @.

Best,
Oliver

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