GIT:gitlab 郵件配置(smtp)
阿新 • • 發佈:2018-12-19
環境說明
作業系統版本:
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: " [email protected]"
# 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