Sending Email failed in Workmail

0

I have a newly set up workmail organization and account. However, it was unable to send emails and it always got the below error. I have searched a lot of documentation and followed the steps but no luck.

Can anybody help? Thanks

Sending Email failed. Could not send email.

SubmitId: xxxxxxxxx

Your administrator needs to give permissions to WorkMail to perform e-mail sending on your behalf. To give WorkMail sending permissions, follow the instructions here:

https://docs.aws.amazon.com/workmail/latest/adminguide/editing_domains.html

已提問 1 年前檢視次數 449 次
3 個答案
1

HI,

If anyone else comes across this problem, you can solve this by adding the domain again in the WorkMail console. This will trigger a workflow to check various setting for the domain and correct any problems.

Kind regards, Robin

AWS
專家
已回答 1 年前
0

I found the solution myself. Here are the steps:

  1. Goto SES -> Verified identities -> click the domain that you want to send email
  2. Goto Authorization -> Create Policy -> add the below policy
  3. The resource name is the ARN of your domain

{ "Version": "2012-10-17", "Statement": [ { "Sid": "stmtxxxxxxx", "Effect": "Allow", "Principal": { "Service": "workmail.us-west-2.amazonaws.com" }, "Action": "ses:*", "Resource": "arn:aws:ses:us-west-2:xxxxxxx, "Condition": {} } ] }

已回答 1 年前
0

Hello,

If you're experiencing difficulties while trying to send email from your WorkMail Organization and you're receiving an email back to your inbox containing an error message similar to the one below:

Your administrator needs to give permissions to WorkMail to perform e-mail sending on your behalf.

Please follow these steps:

  1. From the AWS Console, go to Amazon SES.
  2. In the side panel, locate Verified Identities (under Configuration) and navigate to this section.
  3. Identify the Identity you're using to send email from WorkMail and open it by clicking on its name.
  4. Click on the Create Policy button.
  5. Click on Custom Policy.
  6. Attach a policy like the one below:
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AuthorizeWorkMail",
      "Effect": "Allow",
      "Principal": {
        "Service": "workmail.REGION.amazonaws.com"
      },
      "Action": [
        "ses:*"
      ],
      "Resource": "arn:aws:ses:REGION:AWS_ACCOUNT_ID:identity/WORKMAIL-DOMAIN-NAME",
      "Condition": {
        "ArnEquals": {
          "aws:SourceArn": "arn:aws:workmail:REGION:AWS_ACCOUNT_ID:organization/WORKMAIL_ORGANIZATION_ID"
        }
      }
    }
  ]
}

Note: you need customize the policy above by replacing REGION, AWS_ACCOUNT, WORKMAIL-DOMAIN-NAME and WORKMAIL_ORGANIZATION_ID with your own values .

Here is some additional documentation: https://docs.aws.amazon.com/workmail/latest/adminguide/editing_domains.html

Hope this helps

已回答 4 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南