Default to allowing TLS for SMTP but without peer verification
This commit is contained in:
parent
aec7af87d7
commit
28900676f3
2 changed files with 4 additions and 3 deletions
|
@ -7,10 +7,10 @@ ActionMailer::Base.smtp_settings = {
|
|||
:port => Settings.smtp_port,
|
||||
:domain => Settings.smtp_domain,
|
||||
:enable_starttls_auto => Settings.smtp_enable_starttls_auto,
|
||||
:openssl_verify_mode => Settings.smtp_tls_verify_mode,
|
||||
:authentication => Settings.smtp_authentication,
|
||||
:user_name => Settings.smtp_user_name,
|
||||
:password => Settings.smtp_password,
|
||||
:openssl_verify_mode => OpenSSL::SSL::VERIFY_NONE
|
||||
:password => Settings.smtp_password
|
||||
}
|
||||
|
||||
# Set the host and protocol for all ActionMailer URLs
|
||||
|
|
|
@ -135,7 +135,8 @@ trace_icon_storage: "local"
|
|||
smtp_address: "localhost"
|
||||
smtp_port: 25
|
||||
smtp_domain: "localhost"
|
||||
smtp_enable_starttls_auto: false
|
||||
smtp_enable_starttls_auto: true
|
||||
smtp_tls_verify_mode: "none"
|
||||
smtp_authentication: null
|
||||
smtp_user_name: null
|
||||
smtp_password: null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue