sameersbn / sameersbn/docker-gitlab

I can't receive email

Open
#1,250 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

wontfix
Dominant language
Shell
Stars
8.1k
Forks
2.1k
Avg merge
17h 47m
Merged PRs (30d)
7

Description

Hi,
Thank you for this great project and for the work you put through,
I have set up gitlab/gitlab-ce:latest in VM VirtualBox and on a private server,OS is unbuntu.
But I can use website to send email,and I can't receive email to register when using gitlab.
I have followed the steps in https://docs.gitlab.com/omnibus/docker/README.html.

sudo docker run --detach
--hostname gitlab.example.com
--publish 443:443 --publish 80:80 --publish 2289:22 \ ##I have dowload ssh so can't use 22:22
--name gitlab
--restart always
--volume /srv/gitlab/config:/etc/gitlab
--volume /srv/gitlab/logs:/var/log/gitlab
--volume /srv/gitlab/data:/var/opt/gitlab
gitlab/gitlab-ce:latest

sudo docker exec -it gitlab vi /etc/gitlab/gitlab.rb

gitlab_rails['smtp_enable'] = true
gitlab_rails['smtp_address'] = "smtp.gmail.com"
gitlab_rails['smtp_port'] = 587
gitlab_rails['smtp_user_name'] = "yoyoXXXXXX@gmail.com"
gitlab_rails['smtp_password'] = "password"
gitlab_rails['smtp_domain'] = "smtp.gmail.com" ##when I find solution,some website write "www.gamil.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'

sudo docker restart gitlab

Am I missing something? Is there a problem with the Gmail SMTP support?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Docker installation documentation and the /etc/gitlab/gitlab.rb SMTP settings shown in the issue. Reproduce registration email delivery after restarting the container, and verify that the configured Gmail SMTP setup can send the registration message.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, shell
Domain
devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.