amazon-web-services - AWS SES : Stuck in sandbox mode

标签 amazon-web-services amazon-ses

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

"Congratulations! After reviewing your case, we have increased your sending quota to 50,000 messages per day and your maximum send rate to 14 messages per second in AWS Region US East (N. Virginia). Your account has also been moved out of the sandbox, so you no longer need to verify recipient addresses."

我配置了 sSMTP,以便可以使用 mail 命令、AWS 终端节点和生成的 SMTP 凭证发送电子邮件。我发送了一封电子邮件,然后收到:

"Oct 17 14:08:10 ia sSMTP[20486]: 554 Message rejected: Email address is not verified. The following identities failed the check in region US-EAST-1: root , [email protected]"

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

我做错了什么?

已更新 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: <<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="beccd1d1cafed7df90d7d0cadbccd0dfd290c8dad1ced7df90ddd1d3" rel="noreferrer noopener nofollow">[email protected]</a>>
Oct 19 07:29:44 ia sSMTP[427]: 250 Ok
Oct 19 07:29:44 ia sSMTP[427]: RCPT TO:<<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="fe9f878b8d96d08d969f8c939fbe889a918e979fd09d9193" rel="noreferrer noopener nofollow">[email protected]</a>>
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" <<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="3a4855554e7a535b1453544e5f48545b56144c5e554a535b14595557" rel="noreferrer noopener nofollow">[email protected]</a>>
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: <<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="4f2e363a3c27613c272e3d222e0f392b203f262e612c2022" rel="noreferrer noopener nofollow">[email protected]</a>>
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 <<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="c4b6ababb084ada5eaadaab0a1b6aaa5a8eab2a0abb4ada5eaa7aba9" rel="noreferrer noopener nofollow">[email protected]</a>>, <a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="0a7865657e4a636b2463647e6f78646b66247c6e657a636b24696567" rel="noreferrer noopener nofollow">[email protected]</a>

最佳答案

SMTP Response Codes Returned by Amazon SES

当您的帐户移出沙箱后,您无需验证收件人的地址。但您仍然需要验证发件人的地址或域。从您的帖子来看,您似乎尚未验证发件人的地址。请记住验证出现在的地址/域:

  • 来自
  • 来源
  • 发件人/返回路径

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

关于amazon-web-services - AWS SES : Stuck in sandbox mode,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40122994/

相关文章:

amazon-ses - Amazon SES 持久审核日志

linux - 如何在 Amazon Linux 上安装最新版本的 GDAL?

amazon-web-services - AWS CDK - 如何将事件通知添加到现有 S3 存储桶

amazon-web-services - 如何在 Amazon Elastic Beanstalk (AWS EBS) 上传递自定义环境变量?

c# - 通过 amazon ses 发送 html 模板

node.js - 如何使用 ses api 跟踪电子邮件

angularjs - 如何使用 AngularJS 通过 SES 发送电子邮件

django - AWS - 执行 git aws.push 时为 'Failed to get bucket name'

ios - 在 AWS DynamoDB 上查询 bool 值和日期范围

python - Django + uWSGI + 发送电子邮件的神秘问题