AWS SES:陷入沙盒模式
AWS SES: Stuck in sandbox mode
我已准备好将 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 , 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
SMTP Response Codes Returned by Amazon SES
当您的帐户移出沙盒后,您不必验证收件人的地址。但是您仍然需要验证发件人的地址或域。从您的 post 来看,您似乎还没有验证发件人的地址。记得验证出现在的address/domain:
- 来自
- 来源
- 发件人/Return-路径
你能post你用来发送邮件的实际邮件command/script吗?
尽管这个问题回答正确,也许这个提示可以帮助其他人。在激活并从 AWS SES 沙箱切换到生产模式(支持增加限制的请求)后,我意识到,使用旧的 "SMTP IAM User" 导致了同样的问题。只需在生产授权后创建一个新的 "SMTP IAM User"。我真的无法解释,但现在已经成功了好几次。
我已准备好将 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 , 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
SMTP Response Codes Returned by Amazon SES
当您的帐户移出沙盒后,您不必验证收件人的地址。但是您仍然需要验证发件人的地址或域。从您的 post 来看,您似乎还没有验证发件人的地址。记得验证出现在的address/domain:
- 来自
- 来源
- 发件人/Return-路径
你能post你用来发送邮件的实际邮件command/script吗?
尽管这个问题回答正确,也许这个提示可以帮助其他人。在激活并从 AWS SES 沙箱切换到生产模式(支持增加限制的请求)后,我意识到,使用旧的 "SMTP IAM User" 导致了同样的问题。只需在生产授权后创建一个新的 "SMTP IAM User"。我真的无法解释,但现在已经成功了好几次。