Answer the question
In order to leave comments, you need to log in
How to resolve problem with email notifications in gitlab deploing on docker? How to solve the problem of not receiving email notifications?
Greetings to all.
Deployed gitlab in a docker container, everything works except for event notifications, please help with the settings.
There are mail server settings in gitlab.rb. I
tried to configure access through my mail, I honestly don’t understand what to do and in which direction to dig
gitlab_rails['smtp_enable'] = true
gitlab_rails['smtp_address'] = "smtp.yandex.ru"
gitlab_rails[' smtp_port'] = 587
gitlab_rails['smtp_user_name'] = "gitlab"
gitlab_rails['smtp_password'] = "a***z"
gitlab_rails['smtp_domain'] = "****@yandex.ru"
gitlab_rails['smtp_authentication '] = false
gitlab_rails['smtp_enable_starttls_auto'
what am i doing wrong tell me!
Answer the question
In order to leave comments, you need to log in
What you are doing is not correct - you do not understand the meaning of the settings in the config.
look at you gitlab_rails['smtp_authentication'] = false - but Yandex will not let you send mail without a login and password, and despite this you fill in gitlab_rails['smtp_password'] and gitlab_rails['smtp_user_name']
further in gitlab_rails['smtp_domain' ] - it seems to me that there should be a domain and not a full address.
So what I would do is
gitlab_rails['smtp_authentication'] = true
gitlab_rails['smtp_domain'] = "yandex.ru"
gitlab_rails['smtp_user_name'] = "yandex box name before the dog"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question