diff options
author | Marin Jankovski <maxlazio@gmail.com> | 2015-03-03 15:35:07 -0800 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2015-03-04 09:04:23 -0800 |
commit | 890f14786a49cb715d8856c1a6917003649796c5 (patch) | |
tree | 0496485668b331ccf7e0f9cbba1ba1d9523788de /config | |
parent | 8e7e77e4b61a1ca587b91b3ff65a26601eebcf7d (diff) | |
download | gitlab-ce-890f14786a49cb715d8856c1a6917003649796c5.tar.gz |
Add link to smtp documentation.
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/smtp_settings.rb.sample | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/initializers/smtp_settings.rb.sample b/config/initializers/smtp_settings.rb.sample index e00923e7e0c..f0fe2fdfa43 100644 --- a/config/initializers/smtp_settings.rb.sample +++ b/config/initializers/smtp_settings.rb.sample @@ -3,6 +3,9 @@ # 2. Edit settings inside this file # 3. Restart GitLab instance # +# For full list of options and their values see http://api.rubyonrails.org/classes/ActionMailer/Base.html +# + if Rails.env.production? Gitlab::Application.config.action_mailer.delivery_method = :smtp @@ -14,6 +17,6 @@ if Rails.env.production? domain: "gitlab.company.com", authentication: :login, enable_starttls_auto: true, - openssl_verify_mode: 'none' + openssl_verify_mode: 'peer' # See ActionMailer documentation for other possible options } end |