Using ActionMailer default_options "from" in configuration.yml

Added by Mehdi Belatrous about 1 year ago

Hello everyone,

I'm trying to setup configuration.yml so that I can use my company smtp server. I need to use ActionMailer default_options setting because I use a service account to authenticate and this account as a "send as" authorization to send from an alias email. I can get it working through a Python script but not with Redmine settings.

When I try to send mail I get a 550 error : 550 5.7.1 Client does not have permissions to send as this sender. I don't know what I'm doing wrong.

Thanks in advance for any help.

I'm running Redmine 4.1.1 with Ruby 2.4.5. Below is my configuration.yml

      from: ''   
  delivery_method: :smtp
      address: ''
      enable_starttls_auto: true
      port: 1
      authentication: :login
      user_name: ''
      password: ''
      openssl_verify_mode: 'none'