Alias Domain, how can I create a Mailbox for a Alias Domain not a Subserver, no Forwarding

Please add an Option to creat a Mailbox for Alias Domains, very important.

Status: 
Closed (fixed)

Comments

A comment from me on this, since this issue was opened as a follow-up to a forum post.

I just tried out something to suggest to the author: setting up the mailbox in the "real" domain and give it an "Additional email address" in the Alias domain.

Though I found that there seems to be an issue with that procedure. The Additional Address is not accepted - as in there is no error message when I use the alias domain instead of the real one, but the address is silently ignored. When I open Edit Mailbox the next time, the address is gone.

I suppose this should either trigger an error message - if alias domains are not supposed to be used in this way, or is a bug.

Was this description understandable? If not, I'll gladly give an exact reproduction procedure. :)

If you have an email account in a Virtual Server, you should be able to receive email for that account using either the domain of the Virtual Server, or the domain of the Alias Server.

Email accounts can only exist in a Virtual Server, you can't create an account for an Alias Server.

However, by adding Alias Servers to your existing Virtual Servers, that should allow any existing email accounts you have to receive email at those domains.

Yes, I agree that, if the domain was example.com and the alias exalias.com, a user with active "Primary address" user@example.com will also get email for user@exalias.com.

My idea was to not activate the primary address, and add the alias domain in the "Additional Addresses" box, so that the user only has user@exalias.com, in case that is desired.

In any case, I think that incorrect additional addresses, here since they're taken from the alias domain, should not be silently discarded, but either be accepted or rejected with an error message.

Locutus - you are right, that is a bug .. I will fix it in the Virtualmin 3.83 release.

As for the original issue, an alias domain by definition cannot have mailboxes, as it forwards all mail to another domain. You can either just create the mailbox in the destination domain, or create the domain as a regular sub-server. In the latter case you can then add a mailbox, and add a mail alias that forwards all other email to the destination.