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. Email-Settings not saved

Email-Settings not saved

Added by Bernd Müller over 7 years ago

Hi!

Once again the email notification is not working here.
What makes me wonder is that:

  • I have re-configured openproject using the email settings I want to use (domain factory is the host I want to use)
  • In AdminSystem Settings> Email notification: I still see the old gmail settings that have been used before reconfiguring the smtp settings. These seetings are not the one that I want to use.

my conf looks like this:

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" } %>
<% git_configured = ENV['GIT_REPOSITORIES'].present? %>
<% svn_configured = ENV['SVN_REPOSITORIES'].present? %>
<% if git_configured || svn_configured %>
  scm:
  <% if git_configured %>
    git:
      manages: <%= ENV['GIT_REPOSITORIES'] %>
      mode: 0770
      group: <%= ENV['SERVER_GROUP'] %>
  <% end %>
  <% if svn_configured %>
    subversion:
      # SVN uses Apache repository wrapper due to permission errors in multi-user operation
      manages: <%= ENV['SVN_REPOMAN_URL'] %>
      # Do noot verify SSL certificates when SERVER_PROTOCOL is 'https'.
      # As we currently only support local repoman installations with packager,
      # this option is set to true by default.
      insecure: true
      access_token: <%= ENV['SVN_REPOMAN_TOKEN'] %>
  <% end %>
<% end %>

Now I have decided to enter the info manually in AdminSystem Settings> Email notification. When I try to send a test email. I get a “An error occured while sending mail (534-5.7.14. &lt:https://accounts.google.com/signin/continue?….”

So that leaves me with 2 questions
1- Where do I find the settings that I have entered while using “openproject - reconfigure”
2- What kind of error do I see when I use gmail (note that I do not want to use gmail, as I got not clue how to solve that 534-7.14 error.

Any help and thoughts are appreciated.

Cheers


Replies (3)

RE: Email-Settings not saved - Added by Bernd Müller over 7 years ago

Aha….in /etc/openproject/conf.d/smtp I see some settings. But they do not refect what I enter in the UI. Very strange….

RE: Email-Settings not saved - Added by Bernd Müller over 7 years ago

Somehow I got it working using sendmail instead of smtp.
Still I got not clue why/what/ is happening.

RE: Email-Settings not saved - Added by Deleted user about 7 years ago

Bernd Müller wrote:

Aha….in /etc/openproject/conf.d/smtp I see some settings. But they do not refect what I enter in the UI. Very strange….

I have similar issues. Email is working if configured through UI, but running

  openproject run check

from command line uses different settings altogether and doesn’t send email successfully when changed to same settings in UI.

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