Top Menu

Jump to content
    Global modules

    Global modules

    • Home
    • Projects
    • Activity
    • Work packages
    • Gantt charts
    • Calendars
    • Team planners
    • Boards
    • News
    Home
    Home
Help
    Getting started
    • Introduction video
  • 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

User menu

Sign in
Forgot your password?

or sign in with your existing account

OpenProject ID Google

Side Menu

Collapse project menu

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

Content

Expand project menu
Support Installation & Updates
  1. OpenProject Community
  2. OpenProject
  3. Forums
  4. Support Installation & Updates
  5. SOLVED - Problem when editing configuration.yml

SOLVED - Problem when editing configuration.yml

Added by Tim Tielens over 10 years ago

Adendum:

I also got ssl_tls mailing working on port 465 on exchange 2010

Hello,

I was trying to set up authenticated mail through port 465, and edited the configuration.yml file.
When is was unable to get some results, I changed the file back to default settings.

But the mail system won’t work…

It used to work with these settings:

default:
email_delivery_method: :smtp
smtp_address: #IPADDRESS#
smtp_port: 25
session_store: :cookie_store

development:
  email_delivery_method: :letter_opener

test:
  email_delivery_method: :test

production:
  session_store: :cache_store

I’ve restarted httpd / postfix / the whole server,…. but i can’t get the mail system to work again…

Are there any other files or things I should look at ?
Does openproject use postfix uberhaupt ?

Kind Regards


Replies (4)

RE: Problem when editing configuration.yml - Added by Tim Tielens over 10 years ago

anyone got some useful commands to troubleshoot the mailing system ?

RE: Problem when editing configuration.yml - Added by Karsten Gallinowski over 10 years ago

Hi Tim,

first of all we need the stack you are using to operate OpenProject. Do you installed it by yourself manually or did you use the packaged version of OpenProject?

Whatever the case is it is important to restart the application server if you change code (including the configuration.yml). So if you are using passenger it might be sufficient to only restart apache but if you are using unicorn for example you have to restart it.

Your question regarding postfix is a little odd because OpenProject tries to talk to the smtp server you configured (smtp_address). So if you configured OpenProject to use a mail server which happens to be a postfix mail server everything should be fine. OpenProject just tries to hand over emails via the configured smtp regardless which kind of mail server is used.

What do you think?

Cheers
Karsten

RE: Problem when editing configuration.yml - Added by Tim Tielens over 10 years ago

Hi Karsten,

I did a manual install on centos and mysql.
Like i said, i changed some settings in the configuration.yml and the mail system stops working.
(even when setting everything back to normal)

Also when rebooting the server or apache, there is no change.

The reason why i asked about postfix is the following.
I don’t know how openproject works in the background.

Does it send directly to the configured exchange server, or does openproject rely on postfix to handle the mail and communicate with exchange. (relay)

RE: Problem when editing configuration.yml - Added by Tim Tielens over 10 years ago

Found the problem…

I had selected to not alert my user when making changes.
Under Administration -> Users

What I didn’t know is that this affects the option “send test email” under the menu administration -> Mail.

I deselected the option “I don’t want to be notified of changes that I make myself” and everything works again…

Very strange ;-)

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