0 Comments

I wasted far more time than originally expected on simple email-notifications configuration for GitLab. I use Webio hosting and somehow following part of config file (at “/etc/gitlab/gitlab.rb”) is the only one that works. Hopefully it will be useful to you, too.

 

1
gitlab_rails['smtp_enable'] =true
gitlab_rails['smtp_address'] ="poczta.webio.pl"
gitlab_rails['smtp_port'] = 465
gitlab_rails['smtp_user_name'] ="xyz@codetitans.pl"
gitlab_rails['smtp_password'] ="xyz"
gitlab_rails['smtp_domain'] ="codetitans.pl"
gitlab_rails['smtp_authentication'] ="login"
gitlab_rails['smtp_enable_starttls_auto'] =true
gitlab_rails['smtp_tls'] =true
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"

gitlab_rails['gitlab_email_display_name'] ='CodeTitans'
gitlab_rails['gitlab_email_from'] ='xyz@codetitans.pl'
gitlab_rails['gitlab_email_reply_to'] ='xyz@codetitans.pl'

Post comment