Upon setting MX records of your domain to mx1.hanami.run and mx2.hanami.run, any emails that were sent to your domain will be routed to our servers by mail sender agent(such as gmail, hotmail, outlook etc).
Once receiving the emails, we will check to see if the TO field match your alias, if it matches, we will forward it to the email address that you configured for forwarding.
When you use * in your alias, it will match anything. We also support multi matching, which means that if the TO matches any rules, we will forward that email to all target addresses of those rules. Consider below example, let's say you configured the forward rule as below:
*@domain.com -> firstname.lastname@example.org
email@example.com -> firstname.lastname@example.org
email@example.com -> firstname.lastname@example.org
email@example.com -> firstname.lastname@example.org
If someone sends an email to email@example.com, that email will be forwarded to three addresses: firstname.lastname@example.org, email@example.com and firstname.lastname@example.org.
If someone sends an email to email@example.com, we will forward that email to both of firstname.lastname@example.org and email@example.com.
However, if someone sends an email to firstname.lastname@example.org, it will only be forwarded to email@example.com.
From the above example, you could see that we support fanout to many addresses, thus you can set up a simple mail group such as firstname.lastname@example.org but can add as many target destination addresses as you want. A valid use case is when we want to setup a dedicated email for QA team or Support team as below:
email@example.com -> firstname.lastname@example.org
email@example.com -> firstname.lastname@example.org
email@example.com -> firstname.lastname@example.org
email@example.com -> firstname.lastname@example.org
email@example.com -> firstname.lastname@example.org
Noted that it's best to limit under 100 emails in a single mail alias. If you want to add like hundreds of users, then it's probably better for you to migrate to a properly mailing list setup.