Email accounts for an alias of a domain

If I create a virtual server as an alias of another virtual server (parked domain) how in Virtualmin can I create email accounts associated with that alias domain?

For example:
Main virtual server is example.com

I create a new virtual server called example.net that is an alias of example.com. How do I create example.net email accounts in Virtualmin?

Howdy,

When you have an domain alias setup, all email coming into that goes to the primary domain.

In the case you described above, any email coming into example.net would automatically be delivered to example.com.

Then, what you’d do is create an account within example.com… such as “foo@example.com”. Although it’s an example.com account, emails to foo@example.net will work just fine.

-Eric

Excellent! Thank you Eric.