【问题标题】:Amazon SES, understand errors and avoid suspensionAmazon SES,了解错误并避免暂停
【发布时间】:2015-04-02 08:47:59
【问题描述】:

我开始使用 Amazon SES 发送简报(超过 3 万封电子邮件)。我有 2 个问题。

错误

我收到很多这样的错误:

Diagnostic-Code: smtp; 554 4.4.7 Message expired: unable to deliver in 840 minutes.<421 4.4.0 Unable to lookup DNS for DOMAIN.it>
Diagnostic-Code: smtp; 554 4.4.7 Message expired: unable to deliver in 840 minutes.<421 <CASELLA@alice.it> Service not available - too busy>
Diagnostic-Code: smtp; 554 4.4.7 Message expired: unable to deliver in 840 minutes.<421 4.4.1 Failed to establish connection>
Diagnostic-Code: smtp; 554 4.4.7 Message expired: unable to deliver in 840 minutes.<421 4.4.2 Connection timed out>
Diagnostic-Code: smtp; 550 4.4.7 Message expired: unable to deliver in 840 minutes.<421 4.4.2 Connection closed unexpectedly>
Diagnostic-Code: smtp; 554 4.4.7 Message expired: unable to deliver in 840 minutes.<421 4.4.0 Unable to lookup DNS for ANOTHERDOMAIN.191.it>

尤其是这个错误:

Diagnostic-Code: smtp; 554 4.4.7 Message expired: unable to deliver in 840 minutes.<421 4.4.0 Unable to lookup DNS for sitedomain.it>

为了保护隐私,我更换了域名,但错误涉及不同的域名。

要查看它们,我有“返回路径”。在使用 Amazon 之前,我使用的是私有 SMTP,但我从未收到过这些消息。

好像很多地址是错误的或不存在的,但为什么我之前没有得到它们?

解释是什么?

Spamassassin 得分高

我使用这个工具:http://spamcheck.postmarkapp.com/ 来检查发送的电子邮件的质量,分数总是在 3 到 5 之间。

我的电子邮件只是 HTML 格式,并且只包含指向我的商业网站的链接。它们是给我的客户的新闻、优惠或类似的东西(他们选择了时事通讯)。

我为域启用了 DKIM。

如何生成更好的 HTML 以降低 spamassasin 分数并避免垃圾邮件?

这是完整的消息,包括完整的标题和内容:

Content-Filter: maildrop-toaster
Return-Path: <0000014c703b095b-d06c5ff8-cabd-409e-96ed-187a8a98157e-000000@eu-west-1.amazonses.com>
Delivered-To: clientdomain.it-info@clientdomain.it
Return-Path: <0000014c703b095b-d06c5ff8-cabd-409e-96ed-187a8a98157e-000000@eu-west-1.amazonses.com>
X-Spam-Flag: YES
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail3.clientdomain.it
X-Spam-Level: **************************************************
X-Spam-Status: Yes, score=50.1 required=5.0 tests=AWL,DNS_FROM_AHBL_RHSBL,
    HTML_IMAGE_RATIO_04,HTML_MESSAGE,MIME_HTML_ONLY,OROLOGIO1,RDNS_NONE
    autolearn=disabled version=3.2.5
X-Spam-Report: 
    *  2.0 DNS_FROM_AHBL_RHSBL RBL: Envelope sender listed in dnsbl.ahbl.org
    *   50 OROLOGIO1 URI: OROLOGIO1
    *  0.2 HTML_IMAGE_RATIO_04 BODY: HTML has a low ratio of text to image area
    *  0.0 HTML_MESSAGE BODY: HTML included in message
    *  1.7 MIME_HTML_ONLY BODY: Message only has text/html MIME parts
    *  0.1 RDNS_NONE Delivered to trusted network by a host with no rDNS
    * -3.9 AWL AWL: From: address is in the auto white-list
Delivered-To: clientdomain.it-info@clientdomain.it
Received: (qmail 24091 invoked by uid 89); 31 Mar 2015 14:34:55 -0000
Received: by simscan 1.4.0 ppid: 24076, pid: 24088, t: 0.0709s
         scanners:none
Received: from unknown (HELO a6-10.smtp-out.eu-west-1.amazonses.com) (54.240.6.10)
  by mail3.clientdomain.it with SMTP; 31 Mar 2015 14:34:55 -0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple;
    s=uku4taia5b5tsbglxyj6zym32efj7xqv; d=amazonses.com; t=1427812059;
    h=Date:From:To:Message-Id:Subject:Mime-Version:Content-Type:Feedback-ID;
    bh=5bGosed0XiWcFgHNXhhXU4e1wN6LXAXi91I3/eH9smI=;
    b=YA3ERPB8ZTKHSwT8GdA9o2cFZlvNLhiOSPTDjAXS8k6CegLLOWyRAKlZF3So6CSW
    rVLUgkYcCVn/Mi7+Ds2afv8uonP93Quh7rTmVjz4JU7dm3HbiUQd3J8ApDqwz2fZ5y0
    uCOba0L88jzsiWJJraMnbP/zM+IHUpLusbHd+U1s=
Date: Tue, 31 Mar 2015 14:27:39 +0000
From: mydomain Italia <mydomain.italia@mydomain.it>
To: info@clientdomain.it
Message-ID: <0000014c703b095b-d06c5ff8-cabd-409e-96ed-187a8a98157e-000000@eu-west-1.amazonses.com>
Subject: ***SPAM*** Eventi mydomain Italia 2015 
Mime-Version: 1.0
Content-Type: text/html; charset=utf-8
X-SES-Outgoing: 2015.03.31-54.240.6.10
Feedback-ID: 1.eu-west-1.z7yglAL5GywH6H26FcViauiBZKVY/EL6nMHx51tLzEY=:AmazonSES
X-Spam-Prev-Subject: Eventi mydomain Italia al  2015 

<html>
  <head>
    <title>Newsletter</title>
  <style type="text/css">
    body { font: normal 13px Verdana; width: 800px; }
    #footer {
      background: #DCE4FD;
      padding: 10px;
    }

  </style>
  </head>
  <body>

<!--          /* Client-specific Styles */          #outlook a {padding:0;} /* Force Outlook to provide a "view in browser" menu link. */          body{width:100% !important; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%; margin:0; padding:0;}          /* Prevent Webkit and Windows Mobile platforms from changing default font sizes, while not breaking desktop design. */          .ExternalClass {width:100%;} /* Force Hotmail to display emails at full width */          .ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div {line-height: 100%;} /* Force Hotmail to display normal line spacing.  More on that: http://www.emailonacid.com/forum/viewthread/43/ */          #backgroundTable {margin:0; padding:0; width:100% !important; line-height: 100% !important;}          img {outline:none; text-decoration:none;border:none; -ms-interpolation-mode: bicubic;}          a img {border:none;}          .image_fix {display:block;}          p {margin: 0px 0px !important;}                    table td {border-collapse: collapse;}          table { border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt; }          /*a {color: #e95353;text-decoration: none;text-decoration:none!important;}*/          /*STYLES*/          table[class=full] { width: 100%; clear: both; }                    /*################################################*/          /*IPAD STYLES*/          /*################################################*/          @media only screen and (max-width: 640px) {          a[href^="tel"], a[href^="sms"] {          text-decoration: none;          color: #ffffff; /* or whatever your want */          pointer-events: none;          cursor: default;          }          .mobile_link a[href^="tel"], .mobile_link a[href^="sms"] {          text-decoration: default;          color: #ffffff !important;          pointer-events: auto;          cursor: default;          }          table[class=devicewidth] {width: 440px!important;text-align:center!important;}          table[class=devicewidthinner] {width: 420px!important;text-align:center!important;}          table[class="sthide"]{display: none!important;}          img[class="bigimage"]{width: 420px!important;height:219px!important;}          img[class="col2img"]{width: 420px!important;height:258px!important;}          img[class="image-banner"]{width: 440px!important;height:106px!important;}          td[class="menu"]{text-align:center !important; padding: 0 0 10px 0 !important;}          td[class="logo"]{padding:10px 0 5px 0!important;margin: 0 auto !important;}          img[class="logo"]{padding:0!important;margin: 0 auto !important;}           }          /*##############################################*/          /*IPHONE STYLES*/          /*##############################################*/          @media only screen and (max-width: 480px) {          a[href^="tel"], a[href^="sms"] {          text-decoration: none;          color: #ffffff; /* or whatever your want */          pointer-events: none;          cursor: default;          }          .mobile_link a[href^="tel"], .mobile_link a[href^="sms"] {          text-decoration: default;          color: #ffffff !important;           pointer-events: auto;          cursor: default;          }          table[class=devicewidth] {width: 280px!important;text-align:center!important;}          table[class=devicewidthinner] {width: 260px!important;text-align:center!important;}          table[class="sthide"]{display: none!important;}          img[class="bigimage"]{width: 260px!important;height:136px!important;}          img[class="col2img"]{width: 260px!important;height:160px!important;}          img[class="image-banner"]{width: 280px!important;height:68px!important;}                    }        -->
<div><!-- Start of preheader --> 
<table id="backgroundTable" style="width: 100%;" border="0" cellspacing="0" cellpadding="0" bgcolor="#f6f4f5">
<tbody>
<tr>
<td width="100%">
<table class="devicewidth" style="width: 580px;" border="0" cellspacing="0" cellpadding="0" align="center">
<tbody>
<!-- Spacing --> 
<tr>
<td width="100%" height="5">&nbsp;</td>
</tr>
<!-- Spacing --> 
<tr>
<td style="font-family: Helvetica, arial, sans-serif; font-size: 10px; color: #999999;" align="right" valign="middle"><a href='http://www.myseconddomain.it/notizie/2014-nord' target="_blank"></a>i</td>
</tr>
<!-- Spacing --> 
<tr>
<td width="100%" height="5">&nbsp;</td>
</tr>
<!-- Spacing -->
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<!-- End of preheader --></div>
<div><!-- start of header --> 
<table id="backgroundTable" style="width: 100%;" border="0" cellspacing="0" cellpadding="0" bgcolor="#f6f4f5">
<tbody>
<tr>
<td>
<table class="devicewidth" style="width: 580px;" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#0db9ea">
<tbody>
<tr>
<td><!-- logo --> 
<table class="devicewidth" style="width: 280px; height: 131px;" border="0" cellspacing="0" cellpadding="0" align="left">
<tbody>
<tr>
<td class="logo" style="padding: 10px 0 10px 20px;" width="270" valign="middle">
<div><a href="http://www.mydomain.it" target="_blank"><img style="float: left; border: 1px #f6f4f5;" src="http://bit.ly/logomydomain" alt="" width="233" height="107" /></a></div>
</td>
</tr>
</tbody>
</table>
<!-- End of logo --> <!-- menu --> 
<table class="devicewidth" style="width: 287px; height: 74px;" border="0" cellspacing="0" cellpadding="0" align="right">
<tbody>
<tr>
<td class="menu" style="font-family: Helvetica,Arial,sans-serif; font-size: 14px; color: #ffffff; line-height: 24px; padding: 10px 0px; text-align: right;" colspan="2" width="270" valign="middle">Gioved&igrave; 02/04/2015<br /><a href="http://www.mydomain.it" target="_blank"><img style="float: left; border: 1px #f6f4f5;" src="http://www.mydomain.it/system/media/img/passion.jpg" alt="" width="287" height="74" /></a></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<div>
<table id="backgroundTable" style="width: 100%;" border="0" cellspacing="0" cellpadding="0" bgcolor="#f6f4f5">
<tbody>
<tr>
<td>
<table class="devicewidth" style="width: 580px;" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#ffffff">
<tbody>
<tr>
<td width="100%" height="20">&nbsp;</td>
</tr>
<tr>
<td>
<table class="devicewidthinner" style="width: 540px; border: 0px solid #ffffff;" border="0" cellspacing="0" cellpadding="0" align="center">
<tbody>
<tr>
<!-- start of image -->
<td align="center"><a href='http://www.myseconddomain.it/notizie/mydomain-ti-invita-al--a-milano' target="_self" title=" 2015"><img style="border: 1px solid white;" src="http://www.mydomain.it/system/media/news/2015/marzo/solanNL1.jpg" alt="" width="541" height="299" /></a></td>
</tr>
<!-- end of image --> <!-- Spacing --> 
<tr>
<td width="100%" height="20">&nbsp;</td>
</tr>
<!-- Spacing --> <!-- title --> 
<tr>
<td style="font-family: Helvetica, arial, sans-serif; font-size: 18px; color: #333333; text-align: left; line-height: 20px;">Fiera di Roma 8-10 aprile 2015<br /></td>
</tr>
<!-- end of title --> <!-- Spacing --> <!-- Spacing --> <!-- content --> 
<tr>
<td style="font-family: Helvetica, arial, sans-serif; font-size: 13px; color: #95a5a6; text-align: left; line-height: 24px;">
<p><strong>mydomain Italia &egrave; lieta di invitarLa ai due seguenti incontri</strong><em> </em></p>
<p><strong>9 aprile ore 16.00</strong> <em>- "Il distributore 2.0 e il ruolo degli installatori" &egrave; rivolto  ad installatori, operatori del settore. Introduzione e moderazione a cura di Maurizio.<br /></em></p>
<p><strong>10 aprile ore 10.00</strong> -<em> "Industria e retail: la diagnosi energetica quale elemento chiave per la  competitivit&agrave;" &egrave; rivolto ad industrie, retail, grande distribuzione organizzata, energy manager.</em></p>
<p><strong>Richiedi i biglietti omaggio al tuo referente commerciale</strong><em><br /></em></p>
</td>
</tr>
<tr>
<td width="100%" height="10">&nbsp;</td>
</tr>
<tr>
<td>
<table class="tablet-button" style="height: 30px;" border="0" cellspacing="0" cellpadding="0" align="left">
<tbody>
<tr>
<td style="background-color: #0db9ea; border-top-left-radius: 4px; border-bottom-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; background-clip: padding-box; font-size: 13px; font-family: Helvetica, arial, sans-serif; text-align: center; color: #ffffff; font-weight: 300; padding-left: 18px; padding-right: 18px;" width="auto" height="30" align="center" valign="middle"><a href='http://www.myseconddomain.it/notizie/mydomain-ti-invita-al--a-milano' target="_self" title=" 2015"><span style="color: #ffffff; font-weight: 300;">&nbsp;Leggi di pi&ugrave; </span></a></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td width="100%" height="20">&nbsp;</td>
</tr>
<!-- button --> <!-- /button --> <!-- Spacing --> <!-- Spacing -->
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<div><!-- start textbox-with-title --><!-- end of textbox-with-title --></div>
<div><!-- start of left image --><!-- end of left image --></div>
<div><!-- start of left image --><!-- end of left image --></div>
<div><!-- fulltext --> <!-- end of fulltext --></div>
<div><!-- Start of 2-columns --><!-- End of 2-columns --></div>
<div><!-- 3-columns --><!-- end of 3-columns --></div>
<div><!-- Full + text --></div>
<div><!-- Start of preheader -->
<div>
<table id="backgroundTable" style="width: 100%;" border="0" cellspacing="0" cellpadding="0" bgcolor="#f6f4f5">
<tbody>
<tr>
<td width="100%">
<table class="devicewidth" style="width: 580px;" border="0" cellspacing="0" cellpadding="0" align="center">
<tbody>
<tr>
<td width="100%" height="5">&nbsp;</td>
</tr>
<tr>
<td style="font-family: Helvetica, arial, sans-serif; font-size: 10px; color: #999999;" align="center" valign="middle">Se non desideri pi&ugrave; ricevere quetsa mail <a href="http://www.mydomain.it/newsletter/unsubscribe?e=VjNVT2NYRjlNOGRlSnpmYzRiaTZ5aVZHbmFTVXR0RkhjQjAyN05NTUoyYWYrS2JEWjBwbllFQ0RDREYrCkV5bjdWNURWbE1PVzR6aHhkK081MHFndzl4MHdXb2ZsOHhRM1FkN1ROK3ErbllhNlRWWERnK0lJS2V5cgoxYmNVRW4vY3JGT1dYS0l3My9ZMlczcGdXTEE2YzU2dit3SENIUGs4d2VUYU9RaEVLdk0weXhZY2pOV3YKZ2F0a1RTaFVUVVJPTEQ4djFteDFrU1BkMnd2S2pRMXdYaXhia3YyZjdScW5FYk03Y2x1ZEpSSXQvWmMvCjhhQ25MYlJnOWtVQ0RGMmNvN09hWFFFYWtFemZSZjE5bXVkYjNobE11ei9LUDFZanpWeVdpdGRaUzJKbwp1OGQ5ZmZ5S3pUR0FpTkZUaUlpSFY2QWowdjdCOFFlemREVk56S3E3dUE9PQo=">clicca qui</a><br /></td>
</tr>
<tr>
<td width="100%" height="5">&nbsp;</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<!-- End of preheader --></div>



  </body>
</html> 

【问题讨论】:

  • 我投票决定将此问题作为离题结束,因为它似乎不是编程问题。调试外部垃圾邮件问题对于Stack Overflow 来说太宽泛了
  • 还有很多关于 amazon ses 及其用法的信息。我在这里没有看到违规行为。我正在寻求反馈,如果您不能提供反馈,那么如果您不在这里浪费时间会更好。 ;)

标签: amazon-web-services spam-prevention amazon-ses


【解决方案1】:

我看到的第一件事是 SpamAssassin 服务器正在使用 ahbl.org,它不是一个活动的黑名单服务器。

2015 年 1 月 1 日,他们更改了黑名单,以便所有查询都以垃圾邮件的肯定结果响应。这是您用来测试 spamassassin 的服务器之一吗?如果是这样,请使用当前的黑名单更新您的黑名单。这将为您的 spamassassin 分数节省 2 分。

他们在这里发布了一条关于它的消息。 http://www.ahbl.org/content/last-notice-wildcarding-services-jan-1st

解决您对 SES 日志的其他顾虑

这意味着 Amazon SES 找不到该域的 DNS 记录。你确定它有效吗?检查 http://www.mxtoolbox.com 上的 MX 记录 Amazon SES 提供的反馈比其他 SMTP 服务器多。有可能在这些相同的电子邮件失败之前,但您没有得到日志数据来告诉您。

【讨论】:

  • 您好,格雷格,非常感谢您的留言。我正在研究这些东西,我会告诉你我将要做什么。祝你有美好的一天
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2013-01-11
  • 2012-06-10
  • 2018-10-04
  • 1970-01-01
相关资源
最近更新 更多