linux gitlab 9 邮件不发送,gitlab无法发送邮件
我在centos7上安装了gitlab 却无法发送邮件。
gitlab_rails['gitlab_email_enabled'] = true
gitlab_rails['gitlab_email_from'] = '939950559@email.xn--eqrt2go2a13sj93e.top'
user['git_user_email'] = "939950559@email.xn--eqrt2go2a13sj93e.top"
gitlab_rails['smtp_openssl_verify_mode'] = 'none'
gitlab_rails['smtp_enable'] = true
gitlab_rails['smtp_address'] = "smtp.exmail.qq.com"
gitlab_rails['smtp_port'] = 465
gitlab_rails['smtp_user_name'] = "939950559@email.xn--eqrt2go2a13sj93e.top"
gitlab_rails['smtp_password'] = "bMtWut4jW252imQ"
gitlab_rails['smtp_domain'] = "email.xn--eqrt2go2a13sj93e.top"
gitlab_rails['smtp_authentication'] = "login"
gitlab_rails['smtp_enable_starttls_auto'] = true
gitlab_rails['smtp_tls'] = ture
postfix 我也删了
然后用控制台就是这个错误
Notify#test_email: processed outbound mail in 280.6ms
Sent mail to 939950559@qq.com (60045.9ms)
Date: Tue, 27 Feb 2018 11:20:40 +0800
From: Example <939950559@email.xn--eqrt2go2a13sj93e.top>
Reply-To: Example
To: 939950559@qq.com
Message-ID: <5a94ce88ec57e_1f7a3ffb905db10c973bf@izwz963kajb8wuzwbphs6fz.mail>
Subject: 1
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
123
Net::ReadTimeout: Net::ReadTimeout
from /opt/gitlab/embedded/lib/ruby/2.3.0/net/protocol.rb:176:in `rbuf_fill'
from /opt/gitlab/embedded/lib/ruby/2.3.0/net/protocol.rb:154:in `readuntil'
from /opt/gitlab/embedded/lib/ruby/2.3.0/net/protocol.rb:164:in `readline'
from /opt/gitlab/embedded/lib/ruby/2.3.0/net/smtp.rb:955:in `recv_response'
from /opt/gitlab/embedded/lib/ruby/2.3.0/net/smtp.rb:556:in `block in do_start'
from /opt/gitlab/embedded/lib/ruby/2.3.0/net/smtp.rb:965:in `critical'
from /opt/gitlab/embedded/lib/ruby/2.3.0/net/smtp.rb:556:in `do_start'
from /opt/gitlab/embedded/lib/ruby/2.3.0/net/smtp.rb:521:in `start'
from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/mail-2.7.0/lib/mail/network/delivery_methods/smtp.rb:109:in `start_smtp_session'
from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/mail-2.7.0/lib/mail/network/delivery_methods/smtp.rb:100:in `deliver!'
from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/mail-2.7.0/lib/mail/message.rb:2160:in `do_delivery'
from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/mail-2.7.0/lib/mail/message.rb:260:in `block in deliver'
from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/actionmailer-4.2.10/lib/action_mailer/base.rb:543:in `block in deliver_mail'
from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in `block in instrument'
from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/activesupport-4.2.10/lib/active_support/notifications.rb:164:in `instrument'
from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/actionmailer-4.2.10/lib/action_mailer/base.rb:541:in `deliver_mail'
from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/mail-2.7.0/lib/mail/message.rb:260:in `deliver'
from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/actionmailer-4.2.10/lib/action_mailer/message_delivery.rb:85:in `deliver_now'
from (irb):1
from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/railties-4.2.10/lib/rails/commands/console.rb:110:in `start'
from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/railties-4.2.10/lib/rails/commands/console.rb:9:in `start'
from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/railties-4.2.10/lib/rails/commands/commands_tasks.rb:68:in `console'
from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/railties-4.2.10/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
from /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/railties-4.2.10/lib/rails/commands.rb:17:in `'
from bin/rails:9:in `require'
from bin/rails:9:in `'
linux gitlab 9 邮件不发送,gitlab无法发送邮件相关推荐
- linux gitlab 9 邮件不发送,GitLab电子邮件通知不发送
我刚刚在Ubuntu 12.04服务器上安装 GitLab v5.0,现在我们遇到电子邮件通知问题.我不能让GitLab发送任何电子邮件. 我有我的config / environments / pr ...
- php 实现邮件定时发送,php定时发送邮件解决方案
php计划任务的实现 为了定时更新某一文件,需要程序自动运行,从网上搜到了两种方法:ignore_user_abort() 和crontab ignore_user_abort()函数搭配set_ti ...
- php 实现邮件定时发送,PHP 定时发送邮件
由于工作需要,做了一个PHP自动发送邮件的功能,为了以后可能需要,先简单记录一下 1. 下载专门为PHP发送邮件服务的包class.phpmailer,这个网上可以下载 2. 那么如何使用这个包发送邮 ...
- linux git 发邮件,gitlab发邮件基于sendmail
gitlab发邮件基于sendmail 以前都是直接把邮件关了,今天有一哥们需要使用一直没弄好,我也帮忙弄,不得不说真TM是个坑!!! 卸载本地的postfix yum remove postfix ...
- gitlab设置邮件服务器_如何设置您自己的一次性电子邮件服务器
gitlab设置邮件服务器 by Oren Geva 由Oren Geva 如何设置您自己的一次性电子邮件服务器 (How To Setup Your Own Disposable Email Ser ...
- linux 邮件附件 中文,linux bash下通过mailx发送中文内容显示为附件的解决
满意答案 skicotvo99 2017.01.30 采纳率:44% 等级:8 已帮助:561人 linux bash下通过mailx发送中文内容显示为附件的解决mailx版本,这里默认是mai ...
- Linux篇:Shell脚本实现Gitlab双备份
01 前言 最近成功从架构组拿到了Gitlab的管理权限,第一件事就是想着如何备份,以防数据丢失背大锅,于是在网上搜索一番,发现一段非常赞的备份脚本,记录照着操作一下: 参考文章:https://bl ...
- linux备份日志文件脚本,Linux篇:Shell脚本实现Gitlab双备份
01 前言 最近成功从架构组拿到了Gitlab的管理权限,第一件事就是想着如何备份,以防数据丢失背大锅,于是在网上搜索一番,发现一段非常赞的备份脚本,记录照着操作一下: 尤其是第二篇文章博主,有非常多 ...
- Linux企业运维篇——git+gitlab+jenkins+docker构成持续集成环境
一.GitLab与jenkins Gitlab是一个用于仓库管理系统的开源项目,使用Git作为代码管理工具,并在此基础上搭建起来的web服务. Jenkins是一个开源软件项目,是基于Java开发的一 ...
最新文章
- c4d中的3D插图制作视频教程 Skillshare – 3D Illustration in Cinema 4D
- java使用jdom生成xml格式文件
- dnet 并行编程学习总结
- 事务隔离级别动图演示
- 20145228 《信息安全系统设计基础》第0周学习总结
- Redis工作笔记-List类型
- 基于随机游走的图嵌入之快速指南
- Linq 使用skip和take分页
- 损失函数与代价函数区别
- Windows10下VB6.0开发——写入数据到文件操作
- python 任务计划_python任务计划
- 2019美赛A题—学习记录
- Python:批量爬取下载中国知网(CNKI)PDF论文
- 免积分下载百度文库的文章
- js中new操作符到底干了什么?
- JAVA第五课:正则表达式
- frida hook 出现 Process terminated
- 基于WASAPI的录音播音系统
- 芬兰手游业25年发展史
- OpenCV合并图片cv2.add、无缝连接图片cv2.addWeighted、图片克隆cv2.seamlessClone 效果对比、按位运算bitwise_and
热门文章
- Oracle的NVL函数
- jQuery的回调函数
- Java之JDK和JRE
- 怎样查看电脑系统版本_微信7.0.0自动更新后怎样去还原以前的旧版本?
- 都在建议你不要直接使用 @Async 注解,为什么?
- 为什么牛逼的程序员都不用 “ ! = null 做判空?
- 只需 5 分钟看完这篇 HTTPS,去阿里面试和面试官扯皮就没问题了!
- 算法--腾讯面试:单词游戏,谁会赢?
- 时间段为查询条件时的日期边界查询不到问题
- (Java集合框架)集合框架概述和Collection常用功能及遍历