利用telnet发送邮件遇到554 DT:SPM错误提示

时间:2020-12-02 15:17:39

com.sun.mail.smtp.SMTPSendFailedException: 554 DT:SPM 163 smtp4,DtGowAC39BkEKIxX2VoCAA–.130S2 1468803076,please seehttp://mail.163.com/help/help_spam_16.htm?ip=xxxxx&hostid=smtp4&time=1468803076


测试的时候有时能发送有时554,说明代码没问题,唯一变化的就是每次测试发送的内容,刚开始怀疑的原因有:1.主题中包含空格横杠等,2.邮箱使用的是授权码客户端个数限制。 
分别测试了qq、163、hotmail等 
百度多次,找到一个靠谱的解释就是:邮件title和content之前写的是test和helloworld等,被网易认为邮件内容不合法。于是就把各项内容按正常的内容填写之后发送就正常使用了


<code class="hljs ini has-numbering" style="display: block; padding: 0px; color: inherit; box-sizing: border-box; font-family: "Source Code Pro", monospace;font-size:undefined; white-space: pre; border-radius: 0px; word-wrap: normal; background: transparent;"><span class="hljs-setting" style="box-sizing: border-box;">fromEmail_zjlyx=<span class="hljs-value" style="box-sizing: border-box;">xxxxxxxxxx@<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">163</span>.com</span></span>
<span class="hljs-setting" style="box-sizing: border-box;">emailName_zjlyx=<span class="hljs-value" style="box-sizing: border-box;">xxxxxxxxxx</span></span>
<span class="hljs-setting" style="box-sizing: border-box;">emailPassword_zjlyx=<span class="hljs-value" style="box-sizing: border-box;">xxxxxxxxxx</span></span>
<span class="hljs-setting" style="box-sizing: border-box;">emailShouQuanMa_zjlyx=<span class="hljs-value" style="box-sizing: border-box;">xxxxxxxxxx</span></span></code><ul class="pre-numbering" style="box-sizing: border-box; position: absolute; width: 50px; top: 0px; left: 0px; margin: 0px; padding: 6px 0px 40px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(221, 221, 221); list-style: none; text-align: right; background-color: rgb(238, 238, 238);"><li style="box-sizing: border-box; padding: 0px 5px;">1</li><li style="box-sizing: border-box; padding: 0px 5px;">2</li><li style="box-sizing: border-box; padding: 0px 5px;">3</li><li style="box-sizing: border-box; padding: 0px 5px;">4</li></ul>
<code class="hljs avrasm has-numbering" style="display: block; padding: 0px; color: inherit; box-sizing: border-box; font-family: "Source Code Pro", monospace;font-size:undefined; white-space: pre; border-radius: 0px; word-wrap: normal; background: transparent;">BossMailAction<span class="hljs-preprocessor" style="color: rgb(68, 68, 68); box-sizing: border-box;">.sendMail</span>(                    prop<span class="hljs-preprocessor" style="color: rgb(68, 68, 68); box-sizing: border-box;">.getProperty</span>(<span class="hljs-string" style="color: rgb(0, 136, 0); box-sizing: border-box;">"fromEmail_zjlyx"</span>),                     thisBossMail<span class="hljs-preprocessor" style="color: rgb(68, 68, 68); box-sizing: border-box;">.getMail</span>()<span class="hljs-preprocessor" style="color: rgb(68, 68, 68); box-sizing: border-box;">.trim</span>(),                    prop<span class="hljs-preprocessor" style="color: rgb(68, 68, 68); box-sizing: border-box;">.getProperty</span>(<span class="hljs-string" style="color: rgb(0, 136, 0); box-sizing: border-box;">"emailName_zjlyx"</span>),                     prop<span class="hljs-preprocessor" style="color: rgb(68, 68, 68); box-sizing: border-box;">.getProperty</span>(<span class="hljs-string" style="color: rgb(0, 136, 0); box-sizing: border-box;">"emailShouQuanMa_zjlyx"</span>),                    <span class="hljs-string" style="color: rgb(0, 136, 0); box-sizing: border-box;">"xxxxx来信回复"</span>,sb<span class="hljs-preprocessor" style="color: rgb(68, 68, 68); box-sizing: border-box;">.toString</span>()   )<span class="hljs-comment" style="color: rgb(136, 0, 0); box-sizing: border-box;">;</span></code><ul class="pre-numbering" style="box-sizing: border-box; position: absolute; width: 50px; top: 0px; left: 0px; margin: 0px; padding: 6px 0px 40px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(221, 221, 221); list-style: none; text-align: right; background-color: rgb(238, 238, 238);"><li style="box-sizing: border-box; padding: 0px 5px;">1</li><li style="box-sizing: border-box; padding: 0px 5px;">2</li><li style="box-sizing: border-box; padding: 0px 5px;">3</li><li style="box-sizing: border-box; padding: 0px 5px;">4</li><li style="box-sizing: border-box; padding: 0px 5px;">5</li><li style="box-sizing: border-box; padding: 0px 5px;">6</li></ul>
<code class="hljs lasso has-numbering" style="display: block; padding: 0px; color: inherit; box-sizing: border-box; font-family: "Source Code Pro", monospace;font-size:undefined; white-space: pre; border-radius: 0px; word-wrap: normal; background: transparent;">    <span class="hljs-keyword" style="color: rgb(0, 0, 136); box-sizing: border-box;">public</span> static <span class="hljs-literal" style="color: rgb(0, 102, 102); box-sizing: border-box;">void</span> sendMail(<span class="hljs-built_in" style="color: rgb(102, 0, 102); box-sizing: border-box;">String</span> fromEmail,<span class="hljs-built_in" style="color: rgb(102, 0, 102); box-sizing: border-box;">String</span> toEmail,<span class="hljs-built_in" style="color: rgb(102, 0, 102); box-sizing: border-box;">String</span> emailName,<span class="hljs-built_in" style="color: rgb(102, 0, 102); box-sizing: border-box;">String</span> emailPassword,<span class="hljs-built_in" style="color: rgb(102, 0, 102); box-sizing: border-box;">String</span> title, <span class="hljs-built_in" style="color: rgb(102, 0, 102); box-sizing: border-box;">String</span> centent) throws Exception {        Properties properties <span class="hljs-subst" style="color: rgb(0, 0, 0); box-sizing: border-box;">=</span> <span class="hljs-literal" style="color: rgb(0, 102, 102); box-sizing: border-box;">new</span> Properties();<span class="hljs-comment" style="color: rgb(136, 0, 0); box-sizing: border-box;">// 创建Properties对象</span>        properties<span class="hljs-built_in" style="color: rgb(102, 0, 102); box-sizing: border-box;">.</span>setProperty(<span class="hljs-string" style="color: rgb(0, 136, 0); box-sizing: border-box;">"mail.transport.protocol"</span>, <span class="hljs-string" style="color: rgb(0, 136, 0); box-sizing: border-box;">"smtp"</span>);<span class="hljs-comment" style="color: rgb(136, 0, 0); box-sizing: border-box;">// 设置传输协议</span>        properties<span class="hljs-built_in" style="color: rgb(102, 0, 102); box-sizing: border-box;">.</span>put(<span class="hljs-string" style="color: rgb(0, 136, 0); box-sizing: border-box;">"mail.smtp.host"</span>, <span class="hljs-string" style="color: rgb(0, 136, 0); box-sizing: border-box;">"smtp.163.com"</span>);<span class="hljs-comment" style="color: rgb(136, 0, 0); box-sizing: border-box;">// 设置发信邮箱的smtp地址</span>        properties<span class="hljs-built_in" style="color: rgb(102, 0, 102); box-sizing: border-box;">.</span>setProperty(<span class="hljs-string" style="color: rgb(0, 136, 0); box-sizing: border-box;">"mail.smtp.auth"</span>, <span class="hljs-string" style="color: rgb(0, 136, 0); box-sizing: border-box;">"true"</span>); <span class="hljs-comment" style="color: rgb(136, 0, 0); box-sizing: border-box;">// 验证</span>        properties<span class="hljs-built_in" style="color: rgb(102, 0, 102); box-sizing: border-box;">.</span>put(<span class="hljs-string" style="color: rgb(0, 136, 0); box-sizing: border-box;">"mail.debug"</span>, <span class="hljs-string" style="color: rgb(0, 136, 0); box-sizing: border-box;">"true"</span>);<span class="hljs-comment" style="color: rgb(136, 0, 0); box-sizing: border-box;">//便于调试</span>        Authenticator auth <span class="hljs-subst" style="color: rgb(0, 0, 0); box-sizing: border-box;">=</span> <span class="hljs-literal" style="color: rgb(0, 102, 102); box-sizing: border-box;">new</span> AjavaAuthenticator(emailName,                emailPassword); <span class="hljs-comment" style="color: rgb(136, 0, 0); box-sizing: border-box;">// 使用验证,创建一个Authenticator</span>        Session session <span class="hljs-subst" style="color: rgb(0, 0, 0); box-sizing: border-box;">=</span> Session<span class="hljs-built_in" style="color: rgb(102, 0, 102); box-sizing: border-box;">.</span>getDefaultInstance(properties, auth);<span class="hljs-comment" style="color: rgb(136, 0, 0); box-sizing: border-box;">// 根据Properties,Authenticator创建Session</span>        Message message <span class="hljs-subst" style="color: rgb(0, 0, 0); box-sizing: border-box;">=</span> <span class="hljs-literal" style="color: rgb(0, 102, 102); box-sizing: border-box;">new</span> MimeMessage(session);<span class="hljs-comment" style="color: rgb(136, 0, 0); box-sizing: border-box;">// Message存储发送的电子邮件信息</span>        message<span class="hljs-built_in" style="color: rgb(102, 0, 102); box-sizing: border-box;">.</span>setFrom(<span class="hljs-literal" style="color: rgb(0, 102, 102); box-sizing: border-box;">new</span> InternetAddress(fromEmail));        message<span class="hljs-built_in" style="color: rgb(102, 0, 102); box-sizing: border-box;">.</span>setRecipient(Message<span class="hljs-built_in" style="color: rgb(102, 0, 102); box-sizing: border-box;">.</span>RecipientType<span class="hljs-built_in" style="color: rgb(102, 0, 102); box-sizing: border-box;">.</span><span class="hljs-keyword" style="color: rgb(0, 0, 136); box-sizing: border-box;">TO</span>, <span class="hljs-literal" style="color: rgb(0, 102, 102); box-sizing: border-box;">new</span> InternetAddress(                toEmail));<span class="hljs-comment" style="color: rgb(136, 0, 0); box-sizing: border-box;">// 设置收信邮箱</span>        <span class="hljs-comment" style="color: rgb(136, 0, 0); box-sizing: border-box;">// 指定邮箱内容及ContentType和编码方式</span>        message<span class="hljs-built_in" style="color: rgb(102, 0, 102); box-sizing: border-box;">.</span>setContent(centent, <span class="hljs-string" style="color: rgb(0, 136, 0); box-sizing: border-box;">"text/html;charset=utf-8"</span>);        message<span class="hljs-built_in" style="color: rgb(102, 0, 102); box-sizing: border-box;">.</span>setSubject(title);<span class="hljs-comment" style="color: rgb(136, 0, 0); box-sizing: border-box;">// 设置主题</span>        message<span class="hljs-built_in" style="color: rgb(102, 0, 102); box-sizing: border-box;">.</span>setSentDate(<span class="hljs-literal" style="color: rgb(0, 102, 102); box-sizing: border-box;">new</span> <span class="hljs-built_in" style="color: rgb(102, 0, 102); box-sizing: border-box;">Date</span>());<span class="hljs-comment" style="color: rgb(136, 0, 0); box-sizing: border-box;">// 设置发信时间</span>        Transport<span class="hljs-built_in" style="color: rgb(102, 0, 102); box-sizing: border-box;">.</span>send(message);<span class="hljs-comment" style="color: rgb(136, 0, 0); box-sizing: border-box;">// 发送</span>    }</code><ul class="pre-numbering" style="box-sizing: border-box; position: absolute; width: 50px; top: 0px; left: 0px; margin: 0px; padding: 6px 0px 40px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(221, 221, 221); list-style: none; text-align: right; background-color: rgb(238, 238, 238);"><li style="box-sizing: border-box; padding: 0px 5px;">1</li><li style="box-sizing: border-box; padding: 0px 5px;">2</li><li style="box-sizing: border-box; padding: 0px 5px;">3</li><li style="box-sizing: border-box; padding: 0px 5px;">4</li><li style="box-sizing: border-box; padding: 0px 5px;">5</li><li style="box-sizing: border-box; padding: 0px 5px;">6</li><li style="box-sizing: border-box; padding: 0px 5px;">7</li><li style="box-sizing: border-box; padding: 0px 5px;">8</li><li style="box-sizing: border-box; padding: 0px 5px;">9</li><li style="box-sizing: border-box; padding: 0px 5px;">10</li><li style="box-sizing: border-box; padding: 0px 5px;">11</li><li style="box-sizing: border-box; padding: 0px 5px;">12</li><li style="box-sizing: border-box; padding: 0px 5px;">13</li><li style="box-sizing: border-box; padding: 0px 5px;">14</li><li style="box-sizing: border-box; padding: 0px 5px;">15</li><li style="box-sizing: border-box; padding: 0px 5px;">16</li><li style="box-sizing: border-box; padding: 0px 5px;">17</li><li style="box-sizing: border-box; padding: 0px 5px;">18</li><li style="box-sizing: border-box; padding: 0px 5px;">19</li></ul>

20160726问题还没完。。。

代码更新到服务器上结果发送邮件又报554了。。。 
这次就重新测试了好多遍,结果发现相同代码相同jar 
1.在我的电脑上可以发送(一个是2012年注册的163邮箱A,一个是2016年注册的163邮箱B)

2.在服务器(2008 r2)上,邮箱A可以给任何人,邮件B只能给自己发送成功,给别人就554

3.在公司其它同事电脑上同2

4.在我电脑里的虚拟机上(2008 r2)同1

5.使用同事的手机号新开通的163邮箱同2

问题分析jdk(jdk7包含mail.jar和smtp.jar)或者网络或者电脑的环境变量或者163的邮箱机制

最后排出了一圈也没找到原因

最后的大招:既然邮箱B能发给自己,那就发给自己然后抄送给别人,上午在服务器测试还是不行,结果下午再测试的时候就能发送成功了,163太恶心

总结:拦截的原因是163邮箱把我发送的邮件当做垃圾邮件了,只要大家把邮件的标题和内容写的正规点(像平常写邮件一样),就不会出现这种情况了


<code class="hljs ruby has-numbering" style="display: block; padding: 0px; color: inherit; box-sizing: border-box; font-family: "Source Code Pro", monospace;font-size:undefined; white-space: pre; border-radius: 0px; word-wrap: normal; background: transparent;">**退信代码说明**: 
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">421</span> <span class="hljs-constant" style="box-sizing: border-box;">HL</span><span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">:REP</span> 该<span class="hljs-constant" style="box-sizing: border-box;">IP</span>发送行为异常,存在接收者大量不存在情况,被临时禁止连接。请检查是否有用户发送病毒或者垃圾邮件,并核对发送列表有效性;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">421</span> <span class="hljs-constant" style="box-sizing: border-box;">HL</span><span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">:ICC</span> 该<span class="hljs-constant" style="box-sizing: border-box;">IP</span>同时并发连接数过大,超过了网易的限制,被临时禁止连接。请检查是否有用户发送病毒或者垃圾邮件,并降低<span class="hljs-constant" style="box-sizing: border-box;">IP</span>并发连接数量;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">421</span> <span class="hljs-constant" style="box-sizing: border-box;">HL</span><span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">:IFC</span> 该<span class="hljs-constant" style="box-sizing: border-box;">IP</span>短期内发送了大量信件,超过了网易的限制,被临时禁止连接。请检查是否有用户发送病毒或者垃圾邮件,并降低发送频率;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">421</span> <span class="hljs-constant" style="box-sizing: border-box;">HL</span><span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">:MEP</span> 该<span class="hljs-constant" style="box-sizing: border-box;">IP</span>发送行为异常,存在大量伪造发送域域名行为,被临时禁止连接。请检查是否有用户发送病毒或者垃圾邮件,并使用真实有效的域名发送;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">450</span> <span class="hljs-constant" style="box-sizing: border-box;">MI</span><span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">:CEL</span> 发送方出现过多的错误指令。请检查发信程序;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">450</span> <span class="hljs-constant" style="box-sizing: border-box;">MI</span><span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">:DMC</span> 当前连接发送的邮件数量超出限制。请减少每次连接中投递的邮件数量;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">450</span> <span class="hljs-constant" style="box-sizing: border-box;">MI</span><span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">:CCL</span> 发送方发送超出正常的指令数量。请检查发信程序;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">450</span> <span class="hljs-constant" style="box-sizing: border-box;">RP</span><span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">:DRC</span> 当前连接发送的收件人数量超出限制。请控制每次连接投递的邮件数量;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">450</span> <span class="hljs-constant" style="box-sizing: border-box;">RP</span><span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">:CCL</span> 发送方发送超出正常的指令数量。请检查发信程序;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">450</span> <span class="hljs-constant" style="box-sizing: border-box;">DT</span><span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">:RBL</span> 发信<span class="hljs-constant" style="box-sizing: border-box;">IP</span>位于一个或多个<span class="hljs-constant" style="box-sizing: border-box;">RBL</span>里。请参考<span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">http:</span>/<span class="hljs-regexp" style="color: rgb(0, 136, 0); box-sizing: border-box;">/www.rbls.org/</span>关于<span class="hljs-constant" style="box-sizing: border-box;">RBL</span>的相关信息;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">450</span> <span class="hljs-constant" style="box-sizing: border-box;">WM</span><span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">:BLI</span> 该<span class="hljs-constant" style="box-sizing: border-box;">IP</span>不在网易允许的发送地址列表里;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">450</span> <span class="hljs-constant" style="box-sizing: border-box;">WM</span><span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">:BLU</span> 此用户不在网易允许的发信用户列表里;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">451</span> <span class="hljs-constant" style="box-sizing: border-box;">DT</span><span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">:SPM</span> ,please try again 邮件正文带有垃圾邮件特征或发送环境缺乏规范性,被临时拒收。请保持邮件队列,两分钟后重投邮件。需调整邮件内容或优化发送环境;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">451</span> <span class="hljs-constant" style="box-sizing: border-box;">Requested</span> mail action <span class="hljs-keyword" style="color: rgb(0, 0, 136); box-sizing: border-box;">not</span> <span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">taken:</span> too much fail authentication 登录失败次数过多,被临时禁止登录。请检查密码与帐号验证设置;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">451</span> <span class="hljs-constant" style="box-sizing: border-box;">RP</span><span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">:CEL</span> 发送方出现过多的错误指令。请检查发信程序;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">451</span> <span class="hljs-constant" style="box-sizing: border-box;">MI</span><span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">:DMC</span> 当前连接发送的邮件数量超出限制。请控制每次连接中投递的邮件数量;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">451</span> <span class="hljs-constant" style="box-sizing: border-box;">MI</span><span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">:SFQ</span> 发信人在<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">15</span>分钟内的发信数量超过限制,请控制发信频率;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">451</span> <span class="hljs-constant" style="box-sizing: border-box;">RP</span><span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">:QRC</span> 发信方短期内累计的收件人数量超过限制,该发件人被临时禁止发信。请降低该用户发信频率;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">451</span> <span class="hljs-constant" style="box-sizing: border-box;">Requested</span> action <span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">aborted:</span> local error <span class="hljs-keyword" style="color: rgb(0, 0, 136); box-sizing: border-box;">in</span> processing 系统暂时出现故障,请稍后再次尝试发送;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">500</span> <span class="hljs-constant" style="box-sizing: border-box;">Error</span><span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">:</span> bad syntaxU 发送的smtp命令语法有误;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">550</span> <span class="hljs-constant" style="box-sizing: border-box;">MI</span><span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">:NHD</span> <span class="hljs-constant" style="box-sizing: border-box;">HELO</span>命令不允许为空;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">550</span> <span class="hljs-constant" style="box-sizing: border-box;">MI</span><span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">:IMF</span> 发信人电子邮件地址不合规范。请参考<span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">http:</span>/<span class="hljs-regexp" style="color: rgb(0, 136, 0); box-sizing: border-box;">/www.rfc-editor.org/</span>关于电子邮件规范的定义;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">550</span> <span class="hljs-constant" style="box-sizing: border-box;">MI</span><span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">:SPF</span> 发信<span class="hljs-constant" style="box-sizing: border-box;">IP</span>未被发送域的<span class="hljs-constant" style="box-sizing: border-box;">SPF</span>许可。请参考<span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">http:</span>/<span class="hljs-regexp" style="color: rgb(0, 136, 0); box-sizing: border-box;">/www.openspf.org/</span>关于<span class="hljs-constant" style="box-sizing: border-box;">SPF</span>规范的定义;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">550</span> <span class="hljs-constant" style="box-sizing: border-box;">MI</span><span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">:DMA</span> 该邮件未被发信域的<span class="hljs-constant" style="box-sizing: border-box;">DMARC</span>许可。请参考<span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">http:</span>/<span class="hljs-regexp" style="color: rgb(0, 136, 0); box-sizing: border-box;">/dmarc.org/</span>关于<span class="hljs-constant" style="box-sizing: border-box;">DMARC</span>规范的定义;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">550</span> <span class="hljs-constant" style="box-sizing: border-box;">MI</span><span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">:STC</span> 发件人当天的连接数量超出了限定数量,当天不再接受该发件人的邮件。请控制连接次数;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">550</span> <span class="hljs-constant" style="box-sizing: border-box;">RP</span><span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">:FRL</span> 网易邮箱不开放匿名转发(<span class="hljs-constant" style="box-sizing: border-box;">Open</span> relay);
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">550</span> <span class="hljs-constant" style="box-sizing: border-box;">RP</span><span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">:RCL</span> 群发收件人数量超过了限额,请减少每封邮件的收件人数量;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">550</span> <span class="hljs-constant" style="box-sizing: border-box;">RP</span><span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">:TRC</span> 发件人当天内累计的收件人数量超过限制,当天不再接受该发件人的邮件。请降低该用户发信频率;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">550</span> <span class="hljs-constant" style="box-sizing: border-box;">DT</span><span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">:SPM</span> 邮件正文带有很多垃圾邮件特征或发送环境缺乏规范性。需调整邮件内容或优化发送环境;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">550</span> <span class="hljs-constant" style="box-sizing: border-box;">Invalid</span> <span class="hljs-constant" style="box-sizing: border-box;">User</span> 请求的用户不存在;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">550</span> <span class="hljs-constant" style="box-sizing: border-box;">User</span> <span class="hljs-keyword" style="color: rgb(0, 0, 136); box-sizing: border-box;">in</span> blacklist 该用户不被允许给网易用户发信;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">550</span> <span class="hljs-constant" style="box-sizing: border-box;">User</span> suspended 请求的用户处于禁用或者冻结状态;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">550</span> <span class="hljs-constant" style="box-sizing: border-box;">Requested</span> mail action <span class="hljs-keyword" style="color: rgb(0, 0, 136); box-sizing: border-box;">not</span> <span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">taken:</span> too much recipient 群发数量超过了限额;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">552</span> <span class="hljs-constant" style="box-sizing: border-box;">Illegal</span> <span class="hljs-constant" style="box-sizing: border-box;">Attachment</span> 不允许发送该类型的附件,包括以.uu .pif .scr .mim .hqx .bhx .cmd .vbs .bat .com .vbe .vb .js .wsh等结尾的附件;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">552</span> <span class="hljs-constant" style="box-sizing: border-box;">Requested</span> mail action <span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">aborted:</span> exceeded mailsize limit 发送的信件大小超过了网易邮箱允许接收的最大限制;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">553</span> <span class="hljs-constant" style="box-sizing: border-box;">Requested</span> action <span class="hljs-keyword" style="color: rgb(0, 0, 136); box-sizing: border-box;">not</span> <span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">taken:</span> <span class="hljs-constant" style="box-sizing: border-box;">NULL</span> sender is <span class="hljs-keyword" style="color: rgb(0, 0, 136); box-sizing: border-box;">not</span> allowed 不允许发件人为空,请使用真实发件人发送;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">553</span> <span class="hljs-constant" style="box-sizing: border-box;">Requested</span> action <span class="hljs-keyword" style="color: rgb(0, 0, 136); box-sizing: border-box;">not</span> <span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">taken:</span> <span class="hljs-constant" style="box-sizing: border-box;">Local</span> user only <span class="hljs-constant" style="box-sizing: border-box;">SMTP</span>类型的机器只允许发信人是本站用户;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">553</span> <span class="hljs-constant" style="box-sizing: border-box;">Requested</span> action <span class="hljs-keyword" style="color: rgb(0, 0, 136); box-sizing: border-box;">not</span> <span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">taken:</span> no smtp <span class="hljs-constant" style="box-sizing: border-box;">MX</span> only <span class="hljs-constant" style="box-sizing: border-box;">MX</span>类型的机器不允许发信人是本站用户;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">553</span> authentication is required <span class="hljs-constant" style="box-sizing: border-box;">SMTP</span>需要身份验证,请检查客户端设置;
  •**<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">554</span> <span class="hljs-constant" style="box-sizing: border-box;">DT</span><span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">:SPM</span> 发送的邮件内容包含了未被许可的信息,或被系统识别为垃圾邮件。请检查是否有用户发送病毒或者垃圾邮件;**
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">554</span> <span class="hljs-constant" style="box-sizing: border-box;">DT</span><span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">:SUM</span> 信封发件人和信头发件人不匹配;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">554</span> <span class="hljs-constant" style="box-sizing: border-box;">IP</span> is rejected, smtp auth error limit exceed 该<span class="hljs-constant" style="box-sizing: border-box;">IP</span>验证失败次数过多,被临时禁止连接。请检查验证信息设置;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">554</span> <span class="hljs-constant" style="box-sizing: border-box;">HL</span><span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">:IHU</span> 发信<span class="hljs-constant" style="box-sizing: border-box;">IP</span>因发送垃圾邮件或存在异常的连接行为,被暂时挂起。请检测发信<span class="hljs-constant" style="box-sizing: border-box;">IP</span>在历史上的发信情况和发信程序是否存在异常;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">554</span> <span class="hljs-constant" style="box-sizing: border-box;">HL</span><span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">:IPB</span> 该<span class="hljs-constant" style="box-sizing: border-box;">IP</span>不在网易允许的发送地址列表里;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">554</span> <span class="hljs-constant" style="box-sizing: border-box;">MI</span><span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">:STC</span> 发件人当天内累计邮件数量超过限制,当天不再接受该发件人的投信。请降低发信频率;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">554</span> <span class="hljs-constant" style="box-sizing: border-box;">MI</span><span class="hljs-symbol" style="color: rgb(0, 102, 102); box-sizing: border-box;">:SPB</span> 此用户不在网易允许的发信用户列表里;
  •<span class="hljs-number" style="color: rgb(0, 102, 102); box-sizing: border-box;">554</span> <span class="hljs-constant" style="box-sizing: border-box;">IP</span> <span class="hljs-keyword" style="color: rgb(0, 0, 136); box-sizing: border-box;">in</span> blacklist 该<span class="hljs-constant" style="box-sizing: border-box;">IP</span>不在网易允许的发送地址列表里。</code>