Use system SSL certs for SMTP
This commit is contained in:
parent
a8bb122c6a
commit
3d0a2fa31f
|
@ -86,6 +86,7 @@ Rails.application.configure do
|
|||
:openssl_verify_mode => ENV['SMTP_OPENSSL_VERIFY_MODE'],
|
||||
:enable_starttls_auto => ENV['SMTP_ENABLE_STARTTLS_AUTO'] || true,
|
||||
:tls => ENV['SMTP_TLS'].presence,
|
||||
:ca_file => "/etc/ssl/certs/ca-certificates.crt"
|
||||
}
|
||||
|
||||
config.action_mailer.delivery_method = ENV.fetch('SMTP_DELIVERY_METHOD', 'smtp').to_sym
|
||||
|
|
Reference in a new issue