What version of GitLab are you using? Check
/var/log/gitlab/gitlab-rails/sidekiq.log for errors relating to mail
delivery.

If you are using a version older than v7.11, then you may need to set

gitlab_rails['smtp_ca_file'] = "/opt/gitlab/embedded/ssl/cert.pem"

See: https://gitlab.com/gitlab-org/gitlab-ce/issues/1558



On Sun, May 31, 2015 at 4:31 PM, David Chaves <davidcamilo...@gmail.com>
wrote:

> Hi, I just started to using gitlab in a Debian 7 enviroment (specifically,
> a TurnKey Core appliance <http://www.turnkeylinux.org/core> in a virtual
> machine), but I'm unable to send emails, this is the current configuration
> in my gitlab.rb file:
>
> gitlab_rails['smtp_enable'] = true
> gitlab_rails['smtp_address'] = "smtp.gmail.com"
> gitlab_rails['smtp_port'] = 587
> gitlab_rails['smtp_user_name'] = "[username]@gmail.com"
> gitlab_rails['smtp_password'] = "[password]"
> gitlab_rails['smtp_domain'] = "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'
>
> And also google kindly had warned me that I had tried to log in from a
> "suspicios" device (which, at the time of this writing, I had
> already marked this activity as "non-suspicious"), but there are no emails
> in my mailbox :(.
>
> The configuration it's based in the one found at:
> https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/smtp.md
>
> Regards
> David
>
> --
> You received this message because you are subscribed to the Google Groups
> "GitLab" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to gitlabhq+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/gitlabhq/e3386f94-30fe-42f8-84cd-60019e8ec452%40googlegroups.com
> <https://groups.google.com/d/msgid/gitlabhq/e3386f94-30fe-42f8-84cd-60019e8ec452%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/CAMBWrQm6XO7WCSQT461uUFAFj_QKTLCc8HOFqX8HOFHDe_L4fQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to