Open link in a new tab

Content

Expand project menu

[solved]Email settings -> where to find them / how to apply

Hi folxx!

I need to change the email settings in OP, but as it seems I am not able to find them. I must be kind of blind, where do I set them?
Do I have to reconfigure OP, or can I set it somewhere.

Cheers!

Message actions

Hello Bernd,

the basic email setting (emission email address, default notification, header / footer etc.) can be defined in the admin settings (Administration > System settings > tab Email notifications):

Message actions

Oh I forgot to mention that I found in configuration.yml these settings:

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'] %>

But I cannot find any entries like SMTP_* nowhere. I thought that these variables would lead me to the /environment folder, but still in production.rb there is nothing useful.

:-/

Message actions

Thx Robin.
I found this entry in the admin panel, but if I am not wrong I cannot edit the SMTP settings…right?

Message actions

Hello Bernd,

yes, you’re right. The SMTP settings cannot be defined in OpenProject.
To change them, you need to stop your application server and reconfigure them.
If you use the packager installation you can follow the instructions in the installation guide (see the sections “Post-Install Configuration” and “Set configuration options”):
https://www.openproject.org/open-source/packaged-installation/packaged-installation-guide/

Message actions

Hey!

Ah, I see. So the command

openproject configure

will do the magic, got it. Still I wonder where these SMTP settings are hidden, do you got a clue -just for the Sherlock inside of me. ;)

Thx for the swift answers btw!

Message actions

Hello,

You can find all the system settings for your openproject installation in /etc/openproject/conf.d/*. You can also list them with openproject config.

Message actions

Hi!

Thanks,

/etc/openproject/conf.d/*

This was what I was looking for.