---
title: "解决sendmail报错 dsn=4.0.0, stat=Deferred"
author: "spamer"
date: "2012-06-13T17:13:19Z"
tags: []
categories: ["操作系统"]
slug: "sendmail-dsn-4-0-0-stat-deferred"
draft: false
lastmod: "2012-06-13T17:13:12Z"
id: 1560158
url: "https://spamer.iteye.com/blog/1560158"
---

os :redhat AS 4.3  
      sendmail系统安装  
     
tail /var/log/maillog

an 25 16:37:30 test sendmail\[773]: l0OMBCRo028217: to=&lt;\*\*\*\*@126.com&gt;, ctladdr=&lt;[root@test.com](mailto:root@test.com)&gt; (0/0), delay=10:26:18, xdelay=00:00:00, mailer=esmtp, pri=754747, relay=mx.126.split.netease.com., dsn=4.0.0, stat=Deferred  
Jan 25 16:37:30 test sendmail\[773]: l0ONwLXu009807: to=&lt;\*\*\*\*@163.com&gt;, ctladdr=&lt;[root@test.com](mailto:root@test.com)&gt; (0/0), delay=08:39:09, xdelay=00:00:00, mailer=esmtp, pri=754747, relay=mx.mail.163.split.netease.com., dsn=4.0.0, stat=Deferred: Connection reset by mx.mail.163.split.netease.com.

在日志中邮件出现stat=Deferred 解办法是，在/etc/mail/local-host-names 定要添加自己邮箱的域名。

test.com  
aaa.com