Rails app cannot send email. ECONNREFUSED port 25

Try overriding the address on the individual mail itself by adding a call immediately before your deliver line:

mail.delivery_method :smtp, {
  address:              'smtp-relay.sendinblue.com',
  port:                 587,
  user_name:            'xxx@xxxx.com',
  password:             'xxxxxxx',
  authentication:       'plain',
  enable_starttls_auto: true
}

mail.deliver!

That can be a permanent fix (it is actually how I do it in my app), but if not the next puzzle would be to determine why the configuration is not being picked up.