Nowadays, the Rewrite Table engine supports domain redirections. That is to say email@example.com will be rewritten as any@otherDomain.com.
However, such a feature is not exposed via webadmin.
You will need to :
- Create a new *DomainMappingsRoutes* in webadmin-data
- You will expose in this routes, using directly RecipientsRewriteTable, the endpoitns for adding, removing and listing domain mappings.
You will write a test class from your endpoints. See GroupsRoutesTest.
Don't hesitate to ask for help on the Gitter chat.