Project

General

Profile

Problems configuring email notifications

Added by JM VE 10 months ago

Hi guys. I am using redmine ppschweiz/redmine docker container with version 4.2.1.stable. I'm trying to configure the email notifications but I can't get the section to be activated always showing the message: "Email delivery is not configured, and notifications are disabled.
Configure your SMTP server in config/configuration.yml and restart the application to enable them."
In the configuration.yml file I have the following configuration:
production:
delivery_method: :smtp
smtp_settings:
enable_starttls_auto: true
address: "smtp.office365.com"
port: 587
domain: "mydomain.com"
authentication: :login
user_name: ""
password: "password"

I'm putting everything in its proper volume. To restart the application what I do is to stop the docker and start it again. I have also tried to create the restart.txt file but no luck. any idea?


Replies (2)

RE: Problems configuring email notifications - Added by Donald Martin 10 months ago

Have you had a look at /redmine/log/production.log to see if it give an indication of what the issue is?

RE: Problems configuring email notifications - Added by Mayama Takeshi 10 months ago

Is the the volume mounted on a storage on the host?
If not, the changes will not survive a container restart. So you should include these changes as part of the Dockerfile and rebuild the image before restarting the container.

    (1-2/2)