Gitlab not sending mails to my gmail account

so we have a self hosted gitlab instance on bitnami and we migrated from aws. we are not getting any emails from gitlab at all. we have followed the gitlab document and tried to make changes accordingly which is of new use…

is there anything i am missing ? how do i like proceed?

Hi, unfortunately impossible to help with your problem. Showing screenshot of documentation isn’t helpful. It would be better for you to post your configuration so that we can see if you made any mistakes. Also, paste this configuration as text and not as a screenshot, as it’s far easier to read text than open and read a screenshot.

Also, check the log files under /var/log/gitlab as this can also help because there could be errors for when the email was sent.

yeah, sorry about that.


since we moved from aws to this, all the setting went to default.
these were the changes we made.

I said post as text not screenshot. Its difficult to read screenshots.

really sorry man :sweat_smile:
so these were the changes we made

#mail_delivery_method: SMTP
gitlab_rails[‘smtp_enable’] = true
gitlab_rails[‘smtp_address’] = “smtp.gmail.com
gitlab_rails[‘smtp_port’] = 465
gitlab_rails[‘smtp_user_name’] = “"
gitlab_rails[‘smtp_password’] = "

gitlab_rails[‘smtp_domain’] = “smtp.gmail.com
gitlab_rails[‘smtp_authentication’] = “login”
gitlab_rails[‘smtp_enable_starttls_auto’] = true
gitlab_rails[‘smtp_tls’] = true

###! Can be: ‘none’, ‘peer’, ‘client_once’, 'fail_if_no_peer_cert’
###! Docs: ActionMailer::Base
gitlab_rails[‘smtp_openssl_verify_mode’] = ‘peer’

gitlab_rails[‘smtp_ca_path’] = “/etc/ssl/certs”

gitlab_rails[‘smtp_ca_file’] = “/etc/ssl/certs/ca-certificates.crt”

Email Settings

gitlab_rails[‘gitlab_email_enabled’] = true

Port 587 for submission protocol if using TLS. Port 465 is SSL only and not TLS. After change run reconfigure

i tied doing it as well. still i am not getting any emails.
the thing is we need to get to this path /opt/gitlab/etc/gitlab.rb and make the configurations in the gitlab.rb gile…
but then we didnt have gitlab.rb file instead we had gitlab.rb.template file.
so, what we did was we moved the contents of gitlab.rb.template file to gitlab.rb file and made the configurations.
still we couldnt gett the mails.

Am i doing anything wrong or is there any other method we can proceed with??

The location is /etc/gitlab/gitlab.rb not where you were looking. That was the wrong place.

Thanks a lot man.!!!