logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: a3202fd51e240050a12ddf1170e3e6e2b1532bbf
parent: 1cceefce330f7a47590a1914bbd7e404080996b0
Author: Eugen Rochko <eugen@zeonfederated.com>
Date:   Sun, 16 Jul 2017 23:48:35 +0200

Add SMTP_TLS variable for configuring TLS when server uses non-standard port (#4227)


Diffstat:

Mconfig/environments/production.rb1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/config/environments/production.rb b/config/environments/production.rb @@ -85,6 +85,7 @@ Rails.application.configure do :ca_file => ENV['SMTP_CA_FILE'].presence, :openssl_verify_mode => ENV['SMTP_OPENSSL_VERIFY_MODE'], :enable_starttls_auto => ENV['SMTP_ENABLE_STARTTLS_AUTO'] || true, + :tls => ENV['SMTP_TLS'].presence, } config.action_mailer.delivery_method = ENV.fetch('SMTP_DELIVERY_METHOD', 'smtp').to_sym