mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 10:49:39 +02:00
Added new smtp attribute for STARTTLS
This commit is contained in:
parent
2ec7e09ba5
commit
beb921d94a
2 changed files with 4 additions and 2 deletions
|
@ -44,6 +44,8 @@ smtp_password: 'pw/key'
|
|||
smtp_domain: 'domain for HELO checking'
|
||||
# Use "none" only when for a self-signed and/or wildcard certificate
|
||||
smtp_openssl_verify_mode: 'peer' # 'none', 'peer', 'client_once','fail_if_no_peer_cert'
|
||||
# Detects if STARTTLS is enabled in your SMTP server and starts to use it. Defaults to true.
|
||||
smtp_enable_starttls_auto: 'true' # 'false'
|
||||
|
||||
# autotest config overwrites
|
||||
test:
|
||||
|
|
|
@ -61,12 +61,12 @@ module Registry
|
|||
config.action_mailer.smtp_settings = {
|
||||
address: ENV['smtp_address'],
|
||||
port: ENV['smtp_port'],
|
||||
enable_starttls_auto: true,
|
||||
enable_starttls_auto: ENV['smtp_enable_starttls_auto'],
|
||||
user_name: ENV['smtp_user_name'],
|
||||
password: ENV['smtp_password'],
|
||||
authentication: 'smtp_login',
|
||||
domain: ENV['smtp_domain'],
|
||||
openssl_verify_mode: ENV['smtp_openssl_verify_mode']
|
||||
openssl_verify_mode: ENV['smtp_openssl_verify_mode'],
|
||||
}
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue