From b2ed7716636adf7bd55b5b2d48f628469abfdeb1 Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Thu, 25 Feb 2021 02:54:45 +0100 Subject: [PATCH] Fix SMTP relay host for dokku deployment --- config/environments/production.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index 078b8d0..3db08ce 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -71,7 +71,8 @@ Rails.application.configure do config.action_mailer.perform_caching = false config.action_mailer.smtp_settings = { - address: 'localhost', + # TODO: make configurable through ENV variables + address: 'dokku1.workaround.org', port: 25, enable_starttls_auto: false }