1
0
مراية لـ https://github.com/postalserver/postal.git تم المزامنة 2026-03-03 14:24:06 +00:00

disable SMTP TLS by default and add custom paths for SMTP key/cert

TLS can be enabled by setting 'smtp_server.tls_enabled' to true.
هذا الالتزام موجود في:
Adam Cooke
2017-04-28 15:12:56 +01:00
الأصل 1b58cb853b
التزام caacaa7f92
3 ملفات معدلة مع 13 إضافات و6 حذوفات

عرض الملف

@@ -108,11 +108,11 @@ module Postal
end
def self.smtp_private_key_path
config_root.join('smtp.key')
config.smtp_server.tls_private_key_path || config_root.join('smtp.key')
end
def self.smtp_certificate_path
config_root.join('smtp.cert')
config.smtp_server.tls_certificate_path || config_root.join('smtp.cert')
end
def self.smtp_certificate_data