Answer the question
In order to leave comments, you need to log in
How to properly setup smtp for gitlab?
Installed gitlab on arch according to this manual.
gitlab version
System information
System:
Current User: gitlab
Using RVM: no
Ruby Version: 2.2.2p95
Gem Version: 2.4.5
Bundler Version:1.9.4
Rake Version: 10.4.2
Sidekiq Version:3.3.0
GitLab information
Version: 7.10.0
Revision: 8cddc07
Directory: /usr/share/webapps/gitlab
DB Adapter: mysql2
URL: http://
HTTP Clone URL: http://
SSH Clone URL:
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 2.6.2
Repositories: /var/lib/gitlab/repositories/
Hooks: /usr/share/webapps/gitlab-shell/hooks/
Git: /usr/bin/git
if Rails.env.production?
Gitlab::Application.config.action_mailer.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {
address: "smtp.yandex.ru",
port: 465,
user_name: "username",
password: "pass",
domain: "domain",
authentication: :login,
enable_starttls_auto: true,
# openssl_verify_mode: 'peer' # See ActionMailer documentation for other possible options
}
end
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question