如何将AWS子域名下所有用户邮件转发至单个AWS Workmail账户?
Got it, let's walk through how to make this work with AWS Workmail and Route 53. First off, a quick clarification: DNS alone can't handle email forwarding—it just routes incoming mail to the right mail server. The actual forwarding logic lives in Workmail, but we'll need Route 53 to ensure mail for your upload.mywebsite.com subdomain reaches Workmail properly.
First, confirm your upload.mywebsite.com subdomain has the correct MX records in Route 53:
- Log into the Route 53 console, find your
mywebsite.comhosted zone. - Add or edit the MX record for
upload.mywebsite:- Set the value to AWS Workmail's MX servers (you can grab these from the Workmail console under your domain settings—they’ll look something like
mx.awsworkmail.comwith a priority of 10).
- Set the value to AWS Workmail's MX servers (you can grab these from the Workmail console under your domain settings—they’ll look something like
- Save the record. This ensures any email sent to
username@upload.mywebsite.comgets routed to Workmail instead of another service.
Now that mail is hitting Workmail, we need to tell it to forward all those subdomain emails to combineduploads@mywebsite.com.
Option 1: Organization-level routing rules (best for bulk users)
If you have lots of users under upload.mywebsite.com, this is the most efficient way:
- Log into the AWS Workmail console and navigate to your organization.
- Go to the Routing Rules section.
- Create a new rule:
- Condition: Set the rule to match any recipient where the address contains
@upload.mywebsite.com(you can also use an exact domain match if preferred). - Action: Select "Forward to" and enter
combineduploads@mywebsite.com. You can also choose to keep a copy of the email in the original user's inbox if needed. - Save the rule. From now on, every email sent to any
username@upload.mywebsite.comwill automatically forward to your target inbox.
- Condition: Set the rule to match any recipient where the address contains
Option 2: Per-user forwarding (good for small user counts)
If you only have a handful of users under the subdomain, you can set up forwarding individually:
- For each Workmail user with an
@upload.mywebsite.comaddress, go to their user settings page. - Find the Mail Forwarding option, toggle it on.
- Enter
combineduploads@mywebsite.comas the forwarding address, and choose whether to keep a copy in the user's inbox. - Save the setting for each user.
- Verify that
combineduploads@mywebsite.comis a valid, active Workmail mailbox (otherwise forwarding will fail). - Test by sending a test email to one of your
username@upload.mywebsite.comaddresses and confirm it shows up incombineduploads@mywebsite.com. - If you used routing rules, double-check the rule priority to make sure it doesn't get overridden by other existing rules.
内容的提问来源于stack exchange,提问作者Shruggie

