GIT:gitlab 邮件配置(smtp)
环境说明
操作系统版本:
Debian GNU/Linux 8 (jessie)
内核版本:
3.16.0-4-amd64
gitlab版本:
# cat /opt/data/site/gitlab/VERSION
8.9.0-pre
运行组件:
Unicorn + Sidekiq + Workhorse
操作步骤
第一步
http://blog.itpub.net/28624388/viewspace-1755425/
第二步
vim /opt/data/site/gitlab/config/gitlab.yml
# Email account username
# With third party providers, this is usually the full email address.
# With self-hosted email servers, this is usually the user part of the email address.
user: "gitlab-incoming@gmail.com"
# Email account password
password: "[REDACTED]"
# IMAP server host
host: "imap.gmail.com"
# IMAP server port
port: 993
# Whether the IMAP server uses SSL
ssl: true
# Whether the IMAP server uses StartTLS
start_tls: false
第三步 重启
/etc/init.d/gitlab restart
================# 水平有限 欢迎指正 #=================