Hi friends,
I installed Gitlab on a server and stupid as I was I overread the part where it says to configurepostfix (When asked about the environment, select ‘Internet Site’. ). Now I am trying to set up gitlab to send confirmation emails on registering and I fail… Can someone help me out with this?
I tried the following:
I ran sudo dpkg-reconfigure postfix
so the window appeared and I entered my domain. Then there were more configs and I mostly left it as it was.
Then I went into my gitlab.rb
file and activated this:
gitlab_rails['smtp_enable'] = true
gitlab_rails['smtp_address'] = "mydomain.com"
gitlab_rails['smtp_port'] = 465
gitlab_rails['smtp_user_name'] = "emailOfAnAdmin"
gitlab_rails['smtp_password'] = "PassOfAndmin"
gitlab_rails['smtp_domain'] = "mydomain.com"
gitlab_rails['smtp_authentication'] = "login"
gitlab_rails['smtp_enable_starttls_auto'] = true
gitlab_rails['smtp_tls'] = false
But I still do not receive any mails. Maybe I have to change the configs of the postfix conf? I am not sure…
Any help with this I’d be very grateful! Thanks in advance