You can use MailSlurp to catch all emails sent to a domain name using catch all inboxes. To set custom outbound and inbound rules for an inbox see the inbox ruleset guide.
Create a domain
First register a domain and add the domain to MailSlurp.
Verify the custom domain and view the catch all inbox that was created.
Click the catch all inbox link shown above in the dashboard to view the inbox where all unmatched emails will be collected.
View the wildcard inbox
View the inbox used with the domain to access the catch all emails.