Problems configuring email notifications
Added by JM VE over 1 year 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: "myname@midominio.com"
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 over 1 year 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 over 1 year 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.