邮件退信代码
2010-08-01 23:05:02 阿炯

220    [domain] Service ready Client Open Connection
221    [domain] Good-bye QUIT
235    Authentication ok, go ahead AUTH 认证成功
250    Ok ALL
250    duplicated RCPT RCPT
250    All SMTP buffer cleared REST
251    User not local; will forward to [forward-path] VRFY
252    Cannot VRFY user, but will accept message and attempt VRFY
334    VXNlcm5hbWU6 AUTH LOGIN
期望用户输入用户名,B64 "Username:"
334    UGFzc3dvcmQ6 AUTH
期望用户输入用户名,B64 "Password:"
354    Start mail input; end with [CRLF].[CRLF] DATA
421    [domain] Service not available OPEN
421    [domain] Service not available - Unable to chdir DATA
无法进入队列目录
421    [domain] Service not available - Unable to read system configuration OPEN
无法读取SMTP配置或者没有配置
421    [domain] Servcie not available - Unable to figure out my IP addresses OPEN
无法判断SMTP自己的IP
421    [domain] Service not available - no valid hosted domain OPEN
系统没有配置任何一个域
421    Too much failure in SMTP session ALL
在SMTP会话中发生太多错误
421    Access is denied from your IP [remote_ip] for audit reason, try later OPEN
动态拒绝远端IP访问
421    Refused. You have no reverse DNS entry
反向域名解析失败
[root@debian]:~]# dig -x  222.73.57.x
; [[]] DiG 9.2.5 [[]] -x 222.73.57.x
;x.57.73.222.in-addr.arpa.     IN      PTR
其实以前也发过给你,后来不知线路上有没有问题,现在反相解析都没有了。希望重新将我们上海联通的四台公网地址做一下反相解析。
222.73.57.x        mail1.freeoa.net

421    421-: (DNS:NR) http://postmaster.info.aol.com/errors/421dnsnr.html421 SERVICE NOT AVAILABLE
解决方法:根据链接查看我们的ip是否被禁,如被禁申请解除
结果:此邮件中可能有某些关键字被GFW(Great Fire Wall的简写,意指"中国国家网络防火墙",这是国外媒体对"国家公共网络监控系统"的俗称。)中国反垃圾邮件过滤系统过滤掉了。
------------------------
•421 HL:REP 该IP发送行为异常,存在接收者大量不存在情况,被临时禁止连接。请检查是否有用户发送病毒或者垃圾邮件,并核对发送列表有效性;
•421 HL:ICC 该IP同时并发连接数过大,超过了邮件服务器的限制,被临时禁止连接。请检查是否有用户发送病毒或者垃圾邮件,并降低IP并发连接数量;
•421 HL:IFC 该IP短期内发送了大量信件,超过了邮件服务器的限制,被临时禁止连接。请检查是否有用户发送病毒或者垃圾邮件,并降低发送频率;
•421 HL:MEP 该IP发送行为异常,存在大量伪造发送域域名行为,被临时禁止连接。请检查是否有用户发送病毒或者垃圾邮件,并使用真实有效的域名发送;
------------------------
432    A password transition is needed AUTH
用户密码需要根据认证机制转换
450    Requested mail action not taken 
450    Mailbox [email_addr] is full RCPT、DATA
用户邮箱满
450    Recipient address rejected: Recipient is protected by Flow Control
这是因为对方的服务器做了流量控制  并不是说发附件就收不到 而是因为附件一般所需要的流量比较多所致。纯文本的所付出的流量很少。
450    4.7.1 [heidi@gronsedt.com]: Recipient address rejected: Greylisted for 5 minutes
结果:对方服务器采用了灰名单技术,要验证发件人身份,等待5分钟发信 ,联系对方加入白名单
------------------------
•450 MI:CEL 发送方出现过多的错误指令。请检查发信程序;
•450 MI:DMC 当前连接发送的邮件数量超出限制。请减少每次连接中投递的邮件数量;
•450 MI:CCL 发送方发送超出正常的指令数量。请检查发信程序;
•450 RP:DRC 当前连接发送的收件人数量超出限制。请控制每次连接投递的邮件数量;
•450 RP:CCL 发送方发送超出正常的指令数量。请检查发信程序;
•450 DT:RBL 发信IP位于一个或多个RBL里。请参考http://www.rbls.org/关于RBL的相关信息;
•450 WM:BLI 该IP不在邮件服务器允许的发送地址列表里;
•450 WM:BLU 此用户不在邮件服务器允许的发信用户列表里;
------------------------
451    Requested action aborted: error in processing; DATA
451    Timeout ALL
数据读写超时
451    Message doesn't conform to the EMIME standard. DATA mail data
不符合rfc2821规范
451    Temporary internal failure - queue message failed DATA
信件入队失败
451    Temporary internal failure - database inaccessible OPEN、MAIL、RCPT
内部临时错误-数据库访问故障
------------------------
•451 DT:SPM ,please try again 邮件正文带有垃圾邮件特征或发送环境缺乏规范性,被临时拒收。请保持邮件队列,两分钟后重投邮件。需调整邮件内容或优化发送环境;
•451 Requested mail action not taken: too much fail authentication 登录失败次数过多,被临时禁止登录。请检查密码与帐号验证设置;
•451 RP:CEL 发送方出现过多的错误指令。请检查发信程序;
•451 MI:DMC 当前连接发送的邮件数量超出限制。请控制每次连接中投递的邮件数量;
•451 RP:QRC 发信方短期内累计的收件人数量超过限制,该发件人被临时禁止发信。请降低该用户发信频率;
•451 Requested action aborted: local error in processing 系统暂时出现故障,请稍后再次尝试发送;
------------------------
452    Temporary internal failure - out of memory ALL
内存分配错误
452    Temporary interanal failure - insufficient system storage 
452    Temporary interanal failure - failed to resolve EHLO/HELO FQDN EHLO、HELO
客户端域名A记录(A RR)解析临时错误
452    too many RCPTs RCPT 邮件人数目过多
453    Accee is denied - sender is in the audit blacklist, try later MAIL
发件人审计黑名单中,拒绝发送
500    syntax error - invalid character ALL
命令或参数中出现非法字符
500    syntax error - line too long ALL
命令或参数行过长
500    syntax error - command unrecognized 
不能识别的命令
------------------------
•500 Error: bad syntaxU 发送的smtp命令语法有误;
------------------------
501    Remote abort the authentication AUTH
用户发送*号取消认证操作
501    Syntax error in parameters or arguments ALL
命令参数错误,如地址不包含尖扩号、地址没有域名
502    Command not implemented 
该命令暂不支持
503    Bad sequence of commands 
命令顺序错误
503    Bad sequence of commands MAIL first RCPT、DATA
命令顺序错误,期待命令MAIL
503    Bad sequence of commands RCPT first DATA
命令顺序错误,期待命令RCPT
504    Command parameter not implemented ALL
命令参数不支持
504    Unrecognized authentication type
AUTH 认证机制不支持
521    Access is denied from your IP [remote_ip] OPEN、MAIL、RCPT
拒绝远端IP访问
530    Authentication required MAIL
需要进行认证
534    Authentication mechanism is too weak AUTH
认证机制过于简单
538    Encryption required for requested authentication mechanism AUTH
客户请求的认证机制需要加密
550    invalid user - [email_addr] MAIL、RCPT、VRFY、EXPN
无效用户
550    invalid user - [email_addr] is disabled for payment reason MAIL、RCPT、VRFY、EXPN
因为欠费用户暂停
550    access denied to you OPEN、MAIL、RCPT、VRFY、EXPN
拒绝访问
550    Access to Mailbox [email_addr]  is denied RCPT、DATA
用户邮箱拒绝访问
550    #5.1.0 Address rejected ellen@chdc.com.cn 。 Host does not like recipient.
判断:手工测试发现为新浪的VIP邮箱收件人主机阻止我们发信,发送邮件至 webmaster@vip.sohu.com
550    Sender verify failed 。Host does not like recipient.
解决办法:对方采用了反向解析技术,确认发信人身份,确认反向解析正确
550    read write time out
结果:队列服务器邮件过多,服务器放弃投递邮件
550    [ma.ma@nsn.com]... User unknown 。Host does not like recipient
解决方法:比对退信编码表
结果:对方地址不正确或是地址不存在 
550    username and mail from inconsistent
结果:由于写邮件时格式不正确,导致产生退信。工程师手工测试正常。
------------------------
•550 MI:NHD HELO命令不允许为空;
•550 MI:IMF 发信人电子邮件地址不合规范。请参考http://www.rfc-editor.org/关于电子邮件规范的定义;
•550 MI:SPF 发信IP未被发送域的SPF许可。请参考http://www.openspf.org/关于SPF规范的定义;
•550 MI:STC 发件人当天的连接数量超出了限定数量,当天不再接受该发件人的邮件。请控制连接次数;
•550 RP:FRL 邮件服务器邮箱不开放匿名转发(Open relay);
•550 RP:RCL 群发收件人数量超过了限额,请减少每封邮件的收件人数量;
•550 RP:TRC 发件人当天内累计的收件人数量超过限制,当天不再接受该发件人的邮件。请降低该用户发信频率;
•550 DT:SPM 邮件正文带有很多垃圾邮件特征或发送环境缺乏规范性。需调整邮件内容或优化发送环境;
•550 Invalid User 请求的用户不存在;
•550 User in blacklist 该用户不被允许给邮件服务器用户发信;
•550 User suspended 请求的用户处于禁用或者冻结状态;
•550 Requested mail action not taken: too much recipient  群发数量超过了限额;
------------------------
551    User not local; please try [forward-path] RCPT、VRFY
非本地用户,请尝试发送到[forward-path]
551    User not local; please try I’m not going to try again; this message has been in the queue too long..”
出现以上错误信息的原因和所发邮件有没有内容、内容大小等都没有关系,是xx防火墙(GFW,又名“xx工程”)做了过滤的原因,它(xx工程)定义了大陆的IP连接到大陆以外(如香港、台湾、欧洲等) 的邮件服务器是不可以自己发邮件给自己的!只要大陆所在客户端用大陆的IP发送邮件,马上就会提示“551 User not local; please try ”这样的错误信息!
511    sorry, no mailbox here by that name (#5.1.1 - chkuser)
用户不存在
551    User not local; please try [forward-path] 。 放弃212.227.15.134。Host does not like recipient.
结果: 经工程师查询是此邮件中可能有某些关键字被GFW(Great Fire Wall的简写,意指"中国国家网络防火墙",这是国外媒体对"国家公共网络监控系统"的俗称。)中国反垃圾邮件过滤系统过滤掉了
552    message exceeds fixed maximum message size DATA mail data
数据过大,超过系统限制;特别是在SIZE扩展后
552    This user's disk quota exceeded, anyway you can send a smail ([1KB) message to inform the person. ?。 Host failed after I sent the message.
结果:552错误是这个用户的磁盘配额超过了。用户的附件或者容量已经起过使用了。可以发小点的附件或者邮件测试一下。
552    MS-Office file containing VBA macros found inside of the email 
在邮件裡的OFFICE档案内含vba巨集(建议用户以压缩包发送附件)或使用foxmail客户端
------------------------
•552 Illegal Attachment 不允许发送该类型的附件,包括以.uu .pif .scr .mim .hqx .bhx .cmd .vbs .bat .com .vbe .vb .js .wsh等结尾的附件;
•552 Requested mail action aborted: exceeded mailsize limit 发送的信件大小超过了邮件服务器邮箱允许接收的最大限制;
------------------------
553    Requested action not taken: mailbox name not allowed RCPT
用户拒绝接收信件
553    Accee is denied - sender is in the blacklist MAIL、RCPT
发件人在黑名单中,拒绝发送
553    Accee is denied - please use the smtp server instead of MX MAIL
拒绝本地用户使用MX服务器发信
------------------------
•553 Requested action not taken: NULL sender is not allowed 不允许发件人为空,请使用真实发件人发送;
•553 Requested action not taken: Local user only  SMTP类型的机器只允许发信人是本站用户;
•553 Requested action not taken: no smtp MX only  MX类型的机器不允许发信人是本站用户;
•553 authentication is required  SMTP需要身份验证,请检查客户端设置;
------------------------
554    Requested mail action aborted: exceeded storage allocation; too much mail data 
554    too many hops, this message is looping DATA
信件中出现的Received过多,拒绝循环信件
554    no valid recipients DATA
没有收件人,可能和错误顺序有关
554    Authentication has failed too many times AUTH
认证失败次数过多
554    Too many MAIL transactions in the same connection MAIL
在同一个SMTP连接中发信会话数目过多
554    Invalid EHLO/HELO FQDN host EHLO、HELO
客户端域名A记录(A RR)声明错误
554    Relay from your IP [remote_ip] is denied RCPT
拒绝远端IP做中继转发操作请求
554    Relay from your addr [revserse_address] is denied RCPT
拒绝来自发件人[reversed_address]的中继转发请求
554    Relay to [relay_address] is denied RCPT
中继转发的目的地址限制
554    RCPT [forward-address] is in the blacklist RCPT
收件人在黑名单中
554    Temporary authentication failure AUTH
认证失败
554    Message is denied because it's infected by [virus name] DATA
信件内容含有病毒,病毒名[virus name],拒绝接收
554    Message is denied by filter key [key] DATA
信件内容包含过滤关键字[key],拒绝接收
554    Subject is denied by filter key [key] DATA
信件主题包含过滤关键字[key],拒绝接收
554    [edward_lai@ctsitwn.com.tw]: Relay access denied 。
询问客户是否是用代理smtp服务器发送邮件的还是用我方的SMTP服务器发送的,这个是正确的,退信原因是拒绝中继转发,导致退信.请用户确认是否是用代理smtp服务器发送邮件的还是用我方的SMTP服务器发送的。
------------------------
•554 IP is rejected, smtp auth error limit exceed 该IP验证失败次数过多,被临时禁止连接。请检查验证信息设置;
•554 HL:IHU 发信IP因发送垃圾邮件或存在异常的连接行为,被暂时挂起。请检测发信IP在历史上的发信情况和发信程序是否存在异常;
•554 HL:IPB 该IP不在邮件服务器允许的发送地址列表里;
•554 MI:STC 发件人当天内累计邮件数量超过限制,当天不再接受该发件人的投信。请降低发信频率;
•554 MI:SPB 此用户不在邮件服务器允许的发信用户列表里;
•554 IP in blacklist 该IP不在邮件服务器允许的发送地址列表里。
------------------------


我们着重来看看4,5系列的错误提示:


4.1.X     
表示邮件地址(Address)问题
4.1.0      
Other address status  其他邮件地址问题
4.1.1      
Bad destination mailbox address  收件地址信箱错误
4.1.2      
Bad destination system address  收件地址系统错误
4.1.3      
Bad destination mailbox address syntax  收件地址信箱句法错误
4.1.4      
Destination mailbox address ambiguous  收件地址信箱不清
4.1.5      
Destination mailbox address valid  收件地址信箱无效
4.1.6      
Mailbox has moved  信箱已移除
4.1.7      
Bad sender's mailbox address syntax  寄件者信箱句法错误
4.1.8      
Bad sender's system address  寄件者系统错误
 
4.2.X     
表示收件者信箱(Mailbox)问题
4.2.0      
Other or undefined mailbox status  其他或未定义的收件者信箱问题
4.2.1    
Mailbox disabled, not accepting messages  信箱无法运作,无法接收信件
4.2.2    
Mailbox full  信箱已满
4.2.3    
Message length exceeds administrative limit.  邮件长度超出管理者限制
4.2.4    
Mailing list expansion problem  此信箱属于特定邮件群组,但群组无法开展
 
4.3.X     
表示目的地邮件系统(Mail System)问题
4.3.0    
Other or undefined mail system status  其他或未定义的邮件系统问题
4.3.1    
Mail system full  邮件系统储存空间已满
4.3.2
System not accepting network messages  主机无法接收信件,可能暂时关机、维修等
4.3.3    
System not capable of selected features  指定的邮件特徵无法为收件主机所接收
4.3.4    
Message too big for system  邮件大小超出邮件系统限制
4.3.5                  
System incorrectly configured  系统设定错误,无法接收邮件
 
4.4.X     
表示邮件传送系统网路与路由(Network and Routing)问题
4.4.0                  
Other or undefined network or routing status  其他或未定义的网路与路邮设定问题 
4.4.1    
No answer from host  主机无回应 
4.4.2    
Bad connection  连线错误 
4.4.3    
Directory server failure  网路系统无法转送邮件,例如无法连线到DNS伺服器 
4.4.4    
Unable to route  邮件系统所需的路由资讯不足,无法决定传送路由
4.4.5    
Network congestion  网路壅塞
4.4.6    
Routing loop detected  邮件因错误的路由设定,多次遶行而无法传送
4.4.7    
Delivery time expired  邮件滞留主机过久
 
4.5.X     
表示邮件传送协定问题 (Mail Delivery Protocol)问题,可能是寄件方、收信方或是传送邮件系统的问题 
4.5.0    
Other or undefined protocol status  其他或未定义的通讯协定问题
4.5.1    
Invalid command  命令无效
4.5.2    
Syntax error  邮件传送协定的句法错误
4.5.3    
Too many recipients  太多收件者
4.5.4    
Invalid command arguments  命令叙述错误
4.5.5    
Wrong protocol version  错误的通讯协定版本
 
4.6.X
表示邮件内容或媒介(Message Content or Media)的问题,收件者与寄件者双方必需支援同样的内容类别(Content Type)
4.6.0
Other or undefined media error  其他或未定义的媒介问题
4.6.1
Media not supported  传送协定或转送邮件的系统不支援该媒介
4.6.2
Conversion required and prohibited  邮件内容在传送之前必需经过转换动作,但该动作不被允许
4.6.3
Conversion required but not supported  邮件内容在转送之前须经过转换动作,但无法执行
4.6.4
Conversion with loss performed  邮件传送成功,但部份内容因无法转换而遗失
4.6.5
Conversion failed  转换动作失败
 
 
4.7.X
表示安全或邮件监控规则(Security or Policy) 的问题
4.7.0
Other or undefined security status  其他安全或邮件监控规则问题
4.7.1
Delivery not authorized, message refused  寄件者无授权传送信件
4.7.2
Mailing list expansion prohibited  寄件者无授权寄信予该邮件群组
4.7.3
Security conversion required but not possible  邮件安全协定
4.7.4
Security features not supported  邮件含有安全特征如认证措施,但不为传送协定所接受
4.7.5
Cryptographic failure  经授权得以认证或解密该邮件的系统无法完成该动作,因所需资讯不完全
4.7.6
Cryptographic algorithm not supported  经授权得以认证或解密该邮件的系统无法完成该动作,因演算法不支援
4.7.7
Message integrity failure  经授权得以认证该邮件的系统无法完成该动作,因邮件已损毁
 
 
5.1.X
表示邮件地址(Address)问题
5.1.0
Other address status  其他邮件地址问题
5.1.1
Bad destination mailbox address  收件地址信箱错误
5.1.2
Bad destination system address  收件地址系统错误
5.1.3
Bad destination mailbox address syntax  收件地址信箱句法错误
5.1.4
Destination mailbox address ambiguous  收件地址信箱不清
5.1.5
Destination mailbox address valid  收件地址信箱无效
5.1.6
Mailbox has moved  信箱已移除
5.1.7
Bad sender's mailbox address syntax  寄件者信箱句法错误
5.1.8
Bad sender's system address  寄件者系统错误
 
 
5.2.X
表示收件者信箱(Mailbox)问题
5.2.0
Other or undefined mailbox status  其他或未定义的收件者信箱问题
5.2.1
Mailbox disabled, not accepting messages  信箱无法运作,无法接收信件
5.2.2
Mailbox full  信箱已满
5.2.3
Message length exceeds administrative limit.  邮件长度超出管理者限制
5.2.4
Mailing list expansion problem  此信箱属于特定邮件群组,但群组无法开展
 
 
5.3.X
表示目的地邮件系统(Mail System)问题
5.3.0
Other or undefined mail system status  其他或未定义的邮件系统问题
5.3.1
Mail system full  邮件系统储存空间已满
5.3.2
System not accepting network messages  主机无法接收信件,可能暂时关机、维修等
5.3.3
System not capable of selected features  指定的邮件特徵无法为收件主机所接收
5.3.4
Message too big for system  邮件大小超出邮件系统限制
5.3.5
System incorrectly configured  系统设定错误,无法接收邮件
 
 
5.4.X
表示邮件传送系统网路与路由(Network and Routing)问题
5.4.0
Other or undefined network or routing status  其他或未定义的网路与路邮设定问题
5.4.1
No answer from host  主机无回应
5.4.2
Bad connection  连线错误
5.4.3
Directory server failure  网路系统无法转送邮件,例如无法连线到DNS伺服器
5.4.4
Unable to route  邮件系统所需的路由资讯不足,无法决定传送路由
5.4.5
Network congestion  网路壅塞
5.4.6
Routing loop detected  邮件因错误的路由设定,多次遶行而无法传送
5.4.7
Delivery time expired  邮件滞留主机过久
 
 
5.5.X
表示邮件传送协定问题 (Mail Delivery Protocol)问题,可能是寄件方、收信方或是传送邮件系统的问题
5.5.0
Other or undefined protocol status  其他或未定义的通讯协定问题
5.5.1
Invalid command  命令无效
5.5.2
Syntax error  邮件传送协定的句法错误
5.5.3
Too many recipients  太多收件者
5.5.4
Invalid command arguments  命令叙述错误
5.5.5
Wrong protocol version  错误的通讯协定版本
 
 
5.6.X
表示邮件内容或媒介(Message Content or Media)的问题,收件者与寄件者双方必需支援同样的内容类别(Content Type)
5.6.0
Other or undefined media error  其他或未定义的媒介问题
5.6.1
Media not supported  传送协定或转送邮件的系统不支援该媒介
5.6.2
Conversion required and prohibited  邮件内容在传送之前必需经过转换动作,但该动作不被允许
5.6.3
Conversion required but not supported  邮件内容在转送之前须经过转换动作,但无法执行
5.6.4
Conversion with loss performed  邮件传送成功,但部份内容因无法转换而遗失
5.6.5
Conversion failed  转换动作失败
 
 
5.7.X
表示安全或邮件监控规则(Security or Policy) 的问题
5.7.0
Other or undefined security status  其他安全或邮件监控规则问题
5.7.1
Delivery not authorized, message refused  寄件者无授权传送信件
5.7.2
Mailing list expansion prohibited  寄件者无授权寄信予该邮件群组
5.7.3
Security conversion required but not possible  邮件安全协定
5.7.4
Security features not supported  邮件含有安全特征如认证措施,但不为传送协定所接受
5.7.5
Cryptographic failure  经授权得以认证或解密该邮件的系统无法完成该动作,因所需资讯不完全
5.7.6
Cryptographic algorithm not supported  经授权得以认证或解密该邮件的系统无法完成该动作,因演算法不支援
5.7.7
Message integrity failure  经授权得以认证该邮件的系统无法完成该动作,因邮件已损毁