Project

General

Profile

Email Config is not working ono Openshift environment

Added by Tolga Unvermis 2 months ago

Hello everyone,

I'm currently working on enable email notifications for Redmine, which is hosted on Openshift. I've added the following config to 'config/config.yaml':

 email_delivery:
    delivery_method: :smtp
    smtp_settings:
      address: "mailgw.xx.com" 
      port: 25
      domain: 'xx.com'

However, despite this config, I'm getting this 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.

I have some clues:

1- The config.yaml file has following rights: "-rw-r--r--. 1 root 1001980000 8643 Apr 6 09:39 config.yaml"
it is readable for all users but does it need write auth for user redmine.

2- There is no folder such as "config/initializers/40-email.rb" Is it necessary ? May it be the issue ?

Regards