I’ve recently set up a Gitlab server on my own hardware, and I’m trying to get an account up and running. I do not have a working email server on this hardware and as such I’m trying to get the confirmation email to be sent using a Gmail account I’ve set up explicitly for this purpose. I’ve edited my
gitlab.rb file file to include Gmail’s settings, but I still can’t get things to work. Any ideas?
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'] = :plain gitlab_rails['smtp_enable_starttls_auto'] = true gitlab_rails['smtp_tls'] = true