Skip to content

Instantly share code, notes, and snippets.

@josefglatz
Created April 7, 2015 15:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save josefglatz/393ff0a0fa60e86d829e to your computer and use it in GitHub Desktop.
Save josefglatz/393ff0a0fa60e86d829e to your computer and use it in GitHub Desktop.
Gitlab Gmail SMTP Configuration Google Apps
# /etc/gitlab/gitlab.rb
gitlab_rails['gitlab_email_from'] = "support@owndomain.at"
gitlab_rails['smtp_enable'] = true
gitlab_rails['smtp_address'] = "smtp.gmail.com"
gitlab_rails['smtp_port'] = 587
gitlab_rails['smtp_user_name'] = "account@owndomain.at"
gitlab_rails['smtp_password'] = "NicePassword"
gitlab_rails['smtp_domain'] = "owndomain.at"
gitlab_rails['smtp_authentication'] = :plain
gitlab_rails['smtp_enable_starttls_auto'] = true
@Pablohn26
Copy link

I guess

gitlab_rails['smtp_authentication'] = :plain

now should be

gitlab_rails['smtp_authentication'] = "plain"

PD: Thanks for your gist!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment