Linux SendMail发送邮件失败诊断案例(三)
一Linux服务器突然发送不出邮件,检查了很多地方都没有发现异常,检查/var/log/maillog发现如下具体信息:
Apr 12 00:36:04 mylinux sendmail[4685]: u3BGa4Is004685: Authentication-Warning: mylinux.xxx.xxxx.com: oracle set sender to BackupAdmin using -f
Apr 12 00:40:05 mylinux sendmail[4685]: u3BGa4Is004685: from=BackupAdmin, size=15288, class=0, nrcpts=2, msgid=<201604111636.u3BGa4Is004685@mylinux.xxx.xxx.com>, relay=oracle@localhost
Apr 12 00:40:05 mylinux sendmail[4685]: u3BGa4Is004685: to=xxx@xxxx.com, delay=00:04:01, mailer=esmtp, pri=75288, dsn=4.4.3, stat=queued
Apr 12 00:40:05 mylinux sendmail[4685]: u3BGa4Is004685: to=xxx@xxxx.com, delay=00:04:01, mailer=esmtp, pri=75288, dsn=4.4.3, stat=queued
Apr 12 01:20:50 mylinux sm-msp-queue[5126]: u36Ga6uI012217: u3BHGn6u005126: sender notify: Cannot send message for 5 days
Apr 12 01:24:50 mylinux sendmail[5166]: u3BHKo2I005166: <BackupAdmin@mylinux.xxx.xxx.com>... User unknown
Apr 12 01:24:50 mylinux sm-msp-queue[5126]: u3BHGn6u005126: to=BackupAdmin, delay=00:04:00, xdelay=00:04:00, mailer=relay, pri=46877, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
Apr 12 01:24:50 mylinux sendmail[5166]: u3BHKo2I005166: from=<>, size=16877, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Apr 12 01:24:50 mylinux sm-msp-queue[5126]: u3BHGn6u005126: u3BHGn6v005126: return to sender: User unknown
Apr 12 01:24:50 mylinux sendmail[5166]: u3BHKo2K005166: from=<>, size=19381, class=0, nrcpts=1, msgid=<201604111724.u3BHGn6v005126@mylinux.xxx.xxx.com>, proto=ESMTP, daemon=MTA, relay=localhost.l
ocaldomain [127.0.0.1]
Apr 12 01:24:50 mylinux sm-msp-queue[5126]: u3BHGn6v005126: to=postmaster, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=47901, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (u3BHKo2K005166
Message accepted for delivery)
Apr 12 01:24:50 mylinux sendmail[5186]: u3BHKo2K005166: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=49614, dsn=2.0.0, stat=Sent
Apr 12 04:02:02 mylinux sendmail[7117]: u3BK22fR007117: from=root, size=1308, class=0, nrcpts=1, msgid=<201604112002.u3BK22fR007117@mylinux.xxx.xxx.com>, relay=root@localhost
Apr 12 04:06:02 mylinux sendmail[7121]: u3BK22q9007121: from=<root@mylinux.xxx.xxx.com>, size=1600, class=0, nrcpts=1, msgid=<201604112002.u3BK22fR007117@mylinux.xxx.xxx.com>, proto=ESMTP, d
aemon=MTA, relay=localhost.localdomain [127.0.0.1]
Apr 12 04:06:02 mylinux sendmail[7117]: u3BK22fR007117: to=root, ctladdr=root (0/0), delay=00:04:00, xdelay=00:04:00, mailer=relay, pri=31308, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (u3BK
22q9007121 Message accepted for delivery)
Apr 12 04:06:02 mylinux sendmail[7160]: u3BK22q9007121: to=<root@mylinux.xxx.xxx.com>, ctladdr=<root@mylinux.xxx.xxx.com> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31843, dsn
=2.0.0, stat=Sent
Apr 12 05:20:50 mylinux sm-msp-queue[8038]: u3BGa4Is004685: u3BLGn6u008038: sender notify: Warning: could not send message for past 4 hours
Apr 12 05:24:50 mylinux sendmail[8077]: u3BLKoMB008077: <BackupAdmin@mylinux.xxx.xxx.com>... User unknown
在以前一篇文章中Linux SendMail发送邮件失败诊断案例(二)介绍过,这个是DNS的配置问题,但是这一次,经过排查和同事提醒,才发现DNS服务器根本ping不通,后面沟通过后,才了解到系统管理员更改了DNS服务器,以前旧的DNS服务器已经停用了。所以出现这个奇葩问题。修改了DNS服务器后,测试发现件处于等待发送的队列,重启sendmail服务后,问题解决。
Linux SendMail发送邮件失败诊断案例(三)的更多相关文章
- Linux SendMail发送邮件失败诊断案例(四)
最近又碰到一起Linux下SendMail发送邮件失败的案例,邮件发送后,邮箱收不到具体邮件, 查看日志/var/log/maillog 发现有"DSN: User unknown" ...
- Linux SendMail发送邮件失败诊断案例(二)
Linux上Sendmail经常由于一些配置问题,导致邮件发送失败,下面整理.收集了一些邮件发送失败.异常的案例. 案例1:在新服务器上测试sendmail发送邮件时,发现邮件发送不成功,检查/var ...
- Linux sendmail发送邮件失败诊断案例(一)
在新服务器上测试sendmail发送邮件时,发现邮件发送不成功,检查日志文件发现如下错误(Notice:由于涉及公司服务器,邮箱等,故下面hostname.邮箱地址等信息使用xxx代替) tail - ...
- 转 Linux SendMail发送邮件失败诊断案例(四)
http://www.cnblogs.com/kerrycode/p/7826036.html
- Linux系统下sendmail发送邮件失败的问题
问题是:安装完sendmail,启动服务后,发送邮件第一次发送成功,后面再次无论怎么发送都不行,换邮箱也不行.在确认我的邮件发送格式正确无误后,想到查看邮件发送日志: [root@backu ...
- Linux phpmailer发送邮件失败的解决方法
(本地windows phpmailer发送ok 放到linux发送失败) 原因:linux 通过465端口进行更安全的SMTPS协议发送邮件 windows 是基于smtp 25端口的 因此 可 ...
- 使用 spring封装的javamail linux服务器发送邮件失败解决
原文参考:https://blog.csdn.net/a540891049/article/details/79385471 由于某些平台的linxu服务器为了安全起见 屏蔽了发送邮件的常用端口 25 ...
- Linux简单配置SendMail发送邮件
本文简单整理了一下如何在Linux服务器上安装.配置SendMail发送邮件的步骤,此文不是配置邮件服务器,具体测试环境为CentOS Linux release 7.2.1511 (Core) ,如 ...
- Linux用sendmail发信失败,提示Connection refused by [127.0.0.1]
现象: Linux用sendmail发信失败,提示Connection refused by [127.0.0.1] 29 14:10:44 iZ257p7xxilZ sendmail[3395]: ...
随机推荐
- C#的变迁史 - C# 1.0篇
C#与.NET平台诞生已有10数年了,在每次重大的版本升级中,微软都为这门年轻的语言添加了许多实用的特性,下面我们就来看看每个版本都有些什么.老实说,分清这些并没什么太大的实际意义,但是很多老资格的. ...
- 背水一战 Windows 10 (1) - C# 6.0 新特性
[源码下载] 背水一战 Windows 10 (1) - C# 6.0 新特性 作者:webabcd 介绍背水一战 Windows 10 之 C# 6.0 新特性 介绍 C# 6.0 的新特性 示例1 ...
- Android使用SAX解析XML(2)
school类包含了一个major列表,可以增加该列表的元素,以及返回该列表,还实现了Parcelable.Creator接口. package com.hzhi.my_sax; import jav ...
- 如何改变 FMX ListView 颜色
需求:改变 ListView 颜色 适用:Firemonkey 任何平台 操作:Style 是改变控件外观最便捷的途径,ListView 也不例外,下面示范使用 StyleBook 来设定 ListV ...
- [转]以Facebook为案例剖析科技公司应有的工具文化
原文:http://36kr.com/p/146507.html 这是一篇几年前的文章,但对于没有涉及到工具文化这个概念的人来说,还是很新的. 前言 前段时间和大众点评的 CEO 张涛聊天的时候碰到内 ...
- 【Effective Java】7、优先考虑泛型方法
package cn.xf.cp.ch02.item27; import java.util.HashSet; import java.util.Set; public class Union { / ...
- Quartz.NET开源作业调度框架系列(五):AdoJobStore保存job到数据库
Quartz.NET 任务调度的核心元素是 scheduler, trigger 和 job,其中 trigger(用于定义调度时间的元素,即按照什么时间规则去执行任务) 和 job 是任务调度的元数 ...
- Nunchuck.js - 轻松实现多个设备的数据同步
Nunchuck.js 是对用于移动设备上的浏览器应用程序的控制库,通过浏览器轻松实现多设备数据同步.他们提供了一个库,很容易使开发人员能够整合移动浏览器控件到桌面的基于浏览器的 JavaScript ...
- 【HTML5】HTML5本地数据库(Web Sql Database)
Web Sql数据库简介 Web SQL数据库API实际上不是HTML5规范的组成部分,而是单独的规范.它通过一套API来操纵客户端的数据库. Web SQL数据库的浏览器支持情况 Web SQL 数 ...
- 用js动态生成css代码
有时候我们需要利用js来动态生成页面上style标签中的css代码,方法很直接,就是直接创建一个style元素,然后设置style元素里面的css代码,最后把它插入到head元素中.但有些兼容性问题我 ...