This post will explain how to set up wildcard (also known as catch-all) email forwarding on a custom domain. This will allow you to have all emails sent to *@your.domain forwarded to another address. We will be using Mailgun, which will allow you to have 5,000 emails forwarded each month for free.

Instructions

  1. Sign up for an account at Mailgun.
  2. Go to the Domains section and click the “Add New Domain” button.
  3. Follow the instructions to add and verify your domain name. Update your DNS records according to the instructions.
  4. Go to the Routes section of the management area once your domain is verified.
  5. Click the “Create New Rule” button.
  6. For the filter expression, enter catch_all().
  7. For the actions, enter forward("[email protected]"). The form should look something like this when you’re done:
  8. Save the rule. You’re done!
  9. Test sending an email to [email protected] and make sure it forwards properly. You may need to wait an hour or two for the DNS records to propagate.