标签:
gitlab_rails[‘smtp_enable‘] = true
gitlab_rails[‘smtp_address‘] = "smtp.exmail.qq.com"
gitlab_rails[‘smtp_port‘] = 465
gitlab_rails[‘smtp_user_name‘] = "xxxx@xx.com"
gitlab_rails[‘smtp_password‘] = "password"
gitlab_rails[‘smtp_authentication‘] = "login"
gitlab_rails[‘smtp_ssl‘] = true
gitlab_rails[‘smtp_enable_starttls_auto‘] = true
gitlab_rails[‘smtp_tls‘] = false
gitlab_rails[‘gitlab_email_from‘] = ‘user@yahoo.com‘ gitlab_rails[‘gitlab_email_from‘] = ‘user@yahoo.com‘ gitlab_rails[‘smtp_enable‘] = true gitlab_rails[‘smtp_address‘] = "smtp.mail.yahoo.com" gitlab_rails[‘smtp_port‘] = 465 gitlab_rails[‘smtp_user_name‘] = "user@yahoo.com" gitlab_rails[‘smtp_password‘] = "password" gitlab_rails[‘smtp_authentication‘] = "login" gitlab_rails[‘smtp_enable_starttls_auto‘] = true gitlab_rails[‘smtp_tls‘] = true gitlab_rails[‘smtp_openssl_verify_mode‘] = ‘peer‘
gitlab_rails[‘smtp_enable‘] = true
gitlab_rails[‘smtp_address‘] = "smtp.gmail.com"
gitlab_rails[‘smtp_port‘] = 587
gitlab_rails[‘smtp_user_name‘] = "my.email@gmail.com"
gitlab_rails[‘smtp_password‘] = "my-gmail-password"
gitlab_rails[‘smtp_domain‘] = "smtp.gmail.com"
gitlab_rails[‘smtp_authentication‘] = "login"
gitlab_rails[‘smtp_enable_starttls_auto‘] = true
gitlab_rails[‘smtp_tls‘] = false
gitlab_rails[‘smtp_openssl_verify_mode‘] = ‘peer‘ # Can be: ‘none‘, ‘peer‘, ‘client_once‘, ‘fail_if_no_peer_cert‘, see http://api.rubyonrails.org/classes/ActionMailer/Base.html
Don‘t forget to change my.email@gmail.com to your email address and my-gmail-password to your own password.
gitlab_rails[‘smtp_enable‘] = true gitlab_rails[‘smtp_address‘] = "smtp.mailgun.org" gitlab_rails[‘smtp_port‘] = 587 gitlab_rails[‘smtp_authentication‘] = "plain" gitlab_rails[‘smtp_enable_starttls_auto‘] = true gitlab_rails[‘smtp_user_name‘] = "postmaster@mg.gitlab.com" gitlab_rails[‘smtp_password‘] = "8b6ffrmle180" gitlab_rails[‘smtp_domain‘] = "mg.gitlab.com"
https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/smtp.md
标签:
原文地址:http://www.cnblogs.com/ruiy/p/5724659.html