AWS SES:陷入沙箱模式

时间:2016-10-19 05:37:40

标签: amazon-web-services amazon-ses

我已准备好使用SES进行制作,因此增加了发送限制。这是来自AWS的电子邮件:

  

"恭喜!在审核了您的案例后,我们在AWS Region US East(弗吉尼亚北部)将您的发送配额增加到每天50,000条消息,并将您的最大发送速率提高到每秒14条消息。您的帐户也已移出沙箱,因此您不再需要验证收件人地址。"

我配置了sSMTP,因此我可以使用mail端口和生成的SMTP凭据使用mail命令发送电子邮件。我发了一封电子邮件,我明白了:

  

" 10月17日14:08:10 iS sSMTP [20486]:554邮件被拒绝:未验证电子邮件地址。以下身份未通过检查区域US-EAST-1:root,root @ ia.internal.vdopia.com"

SMTP端点为:email-smtp.us-east-1.amazonaws.com:587

我做错了什么?

更新 输出syslog

syslog的输出:

Oct 19 07:29:44 ia sSMTP[427]: Creating SSL connection to host
Oct 19 07:29:44 ia sSMTP[427]: 220 email-smtp.amazonaws.com ESMTP       SimpleEmailService-1652178317 ANxvvoY79LhkdX5l8cYI
Oct 19 07:29:44 ia sSMTP[427]: EHLO ia.internal.vdopia.com
Oct 19 07:29:44 ia sSMTP[427]: 250 Ok
Oct 19 07:29:44 ia sSMTP[427]: STARTTLS
Oct 19 07:29:44 ia sSMTP[427]: 220 Ready to start TLS
Oct 19 07:29:44 ia sSMTP[427]: SSL connection using RSA_AES_128_CBC_SHA1
Oct 19 07:29:44 ia sSMTP[427]: EHLO ia.internal.vdopia.com
Oct 19 07:29:44 ia sSMTP[427]: 250 Ok
Oct 19 07:29:44 ia sSMTP[427]: AUTH LOGIN
--- removing some lines
Oct 19 07:29:44 ia sSMTP[427]: 235 Authentication successful.
Oct 19 07:29:44 ia sSMTP[427]: MAIL FROM: <root@ia.internal.vdopia.com>
Oct 19 07:29:44 ia sSMTP[427]: 250 Ok
Oct 19 07:29:44 ia sSMTP[427]: RCPT TO:<ayush.sharma@vdopia.com>
Oct 19 07:29:44 ia sSMTP[427]: 250 Ok
Oct 19 07:29:44 ia sSMTP[427]: DATA
Oct 19 07:29:44 ia sSMTP[427]: 354 End data with <CR><LF>.<CR><LF>
Oct 19 07:29:44 ia sSMTP[427]: Received: by ia.internal.vdopia.com (sSMTP sendmail emulation); Wed, 19 Oct 2016 07:29:44 +0000
Oct 19 07:29:44 ia sSMTP[427]: From: "root" <root@ia.internal.vdopia.com>
Oct 19 07:29:44 ia sSMTP[427]: Date: Wed, 19 Oct 2016 07:29:44 +0000
Oct 19 07:29:44 ia sSMTP[427]: Subject: testing
Oct 19 07:29:44 ia sSMTP[427]: To: <ayush.sharma@vdopia.com>
Oct 19 07:29:44 ia sSMTP[427]: X-Mailer: mail (GNU Mailutils 2.99.98)
Oct 19 07:29:44 ia sSMTP[427]:
Oct 19 07:29:45 ia sSMTP[427]: .
Oct 19 07:29:45 ia sSMTP[427]: 554 Message rejected: Email address is not verified. The following identities failed the check in region US-EAST-1: root <root@ia.internal.vdopia.com>, root@ia.internal.vdopia.com

2 个答案:

答案 0 :(得分:1)

SMTP Response Codes Returned by Amazon SES

当您的帐户移出沙盒时,您无需验证收件人&#39;地址。但您仍需验证发件人的地址或域。在您的帖子中,您似乎还没有验证发件人的地址。请务必验证显示在以下位置的地址/域名:

  • 来源
  • 发件人/回程路径

您可以发布用于发送邮件的实际邮件命令/脚本吗?

答案 1 :(得分:0)

尽管如此,这个问题的答案是正确的,也许这个提示可以帮助其他人。激活并从AWS SES沙箱切换到生产模式(支持极限增加请求)后,我意识到,使用旧的“SMTP IAM用户”导致了同样的问题。只需在生产授予后创建一个新的“SMTP IAM用户”。我真的无法解释它,但现在已经好几次了。