User name template that uses alias instead of top server

Hi,

I have an issue with user naming and I wondered if there is a way to tell Virtualmin to use alias’s domain instead of top server’s domain. For example, in setup:

example.com (top level server)

I would like to create info@example.com and info@domain.com emails. But when I create info@example.com I get user “info.example” and when I want to create info@domain.com I also get “info.example” user and process fail with “user/alias already exist” error.

Is there a way to get info.domain user when I create email info@domain.com?

I already posted an extended version of this question here: https://www.virtualmin.com/node/42430

But perhaps this forum board and simplified issue description are more appropriate.

Thank you!