一、gitlab配置邮件通知功能
编辑/etc/gitlab/gitlab.rb 文件
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #配置如下 gitlab_rails['gitlab_email_enabled'] = true gitlab_rails['gitlab_email_from'] = '[email protected]' gitlab_rails['gitlab_email_display_name'] = 'admin' gitlab_rails['gitlab_email_reply_to'] = '[email protected]' gitlab_rails['smtp_enable'] = true gitlab_rails['smtp_address'] = "smtp.exmail.qq.com" gitlab_rails['smtp_port'] = 25 gitlab_rails['smtp_user_name'] = "[email protected]" gitlab_rails['smtp_password'] = "密码" gitlab_rails['smtp_domain'] = "nideyuan.com" gitlab_rails['smtp_authentication'] = "login" |
保存退出后,重新执行 gitlab-ctl reconfigure