Skip to content

Instantly share code, notes, and snippets.

@ar0ch
Created March 28, 2016 15:38
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 ar0ch/b33a9232776504bd83ac to your computer and use it in GitHub Desktop.
Save ar0ch/b33a9232776504bd83ac to your computer and use it in GitHub Desktop.
Mailgun for Girlab
################################
# GitLab email server settings #
################################
# see https://gitlab.com/gitlab-org/omnibus-gitlab/blob/629def0a7a26e7c2326566f0758d4a27857b52a3/doc/settings/smtp.md#smtp-settings
# Use smtp instead of sendmail/postfix.
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.example.com"
gitlab_rails['smtp_password'] = "<snip>"
gitlab_rails['smtp_domain'] = "mg.example.com"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment