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]: ...
随机推荐
- 介绍开源的.net通信框架NetworkComms框架 源码分析(十六 ) ConnectionStatic
原文网址: http://www.cnblogs.com/csdev Networkcomms 是一款C# 语言编写的TCP/UDP通信框架 作者是英国人 以前是收费的 目前作者已经开源 许可是 ...
- Spring注解@Value的用法
有时候我们在配置文件中使用配置的信息不仅需要在xml文件中使用,还可能在类中使用,这个时候,我们可使用@Value注解了: @Value("${rest.service.url}" ...
- Java --HashMap源码解析
兴趣所致研究一下HashMap的源码,写下自己的理解,基于JDK1.8. 本文大概分析HashMap的put(),get(),resize()三个方法. 首先让我们来看看put()方法. public ...
- Linux命令速查手册,超详细Linux命令教程
一.常用命令速查 ls cd pwd cat more less tail head cp scp mv mkdir rmdir touch rm ps kill top free clear tre ...
- 【Effective Java】7、优先考虑泛型方法
package cn.xf.cp.ch02.item27; import java.util.HashSet; import java.util.Set; public class Union { / ...
- Git修改提交的用户名和Email
git config --global user.name "Your Name" git config --global user.email you@example.com
- Android 手机卫士6--高级工具
1.包含内容 高级工具:归属地查询:常用号码查询:短信备份: 2.归属地查询 ①拷贝数据库 SQLiteDatabase不支持直接从assets读取文件,所以要提前拷贝数据 ②电话归属地在手机窗体上悬 ...
- jackson中JSON字符串节点遍历和修改
有些场景下,在实现一些基础服务和拦截器的时候,我们可能需要在不知道JSON字符串所属对象类型的情况下,对JSON字符串中的某些属性进行遍历和修改,比如,设置或查询一些报文头字段. 在jackson中, ...
- Atitit.excel导出 功能解决方案 php java C#.net版总集合.doc
Atitit.excel导出 功能解决方案 php java C#.net版总集合.docx 1.1. Excel的保存格式office2003 office2007/2010格式1 1.2. 类库选 ...
- SQL Server 的通用分页显示存储过程
建立一个 Web 应用,分页浏览功能必不可少.这个问题是数据库处理中十分常见的问题.经典的数据分页方法是:ADO 纪录集分页法,也就是利用ADO自带的分页功能(利用游标)来实现分页.但这种分页方法仅适 ...