Skip to content
Snippets Groups Projects
Commit f746dc532172 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis
Browse files

Merge branch 'pk212-master-patch-12320' into 'master'

Add Google SMTP relay to SMTP options

See merge request gitlab-org/omnibus-gitlab!6087
2 merge requests!76heptapod#711: 0.34 is the new stable,!73Sync up to upstream Omnibus GitLab 15.1
......@@ -164,6 +164,19 @@
or try [turning on 2-step validation](https://support.google.com/accounts/answer/185839)
and using [an application password](https://support.google.com/mail/answer/185833)._
### Google SMTP relay
You can route outgoing non-Gmail messages through Google [using Google's SMTP relay service](https://support.google.com/a/answer/2956491?hl=en).
```ruby
gitlab_rails['smtp_enable'] = true
gitlab_rails['smtp_address'] = "smtp-relay.gmail.com"
gitlab_rails['smtp_port'] = 587
gitlab_rails['smtp_domain'] = "yourdomain.com"
gitlab_rails['gitlab_email_from'] = 'username@yourdomain.com'
gitlab_rails['gitlab_email_reply_to'] = 'username@yourdomain.com'
```
### Mailgun
```ruby
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment