Sorry for the late answer but I’m not in very good shape of health. Something between flu and bronchitis. The weather is changing very fast …
Please keep in mind that the NethServer is not designed to be an email server for complete separate domains.
NethServer is designed, till now, to act like an PDC with the possibility to have also an email server (and of course and other facilities but based on this task) to serve the primary domain and if exist, additionally virtual domains, as aliases domains for the primary domain.
(cc: @alefattorini, @giacomo, @davidep, @filippo_carletti: I hope is correct what I said till now)
In this forum there are a lot of Q&A regarding this task. Some of them:
NethServer for dummies: Email server
Some question about E-mail and SOGO
Multiple, separate domains email server
Incomplete email address
One NethServer installation for N organizations?
Multi Domain support for mail
SOGO Email - Change the default from email sender
The same problem is for Zentyal.
Like I said, I use NethServer as email server for different domains but using an workaround. In a project, I have 50 email domains and each domain have at least one identical email address: “contact”.
How I solved this problem so as each email address, email@example.com, firstname.lastname@example.org, … email@example.com, to work properly?
Like I told you in my first answer, with the following remark: You cannot create two users with the same user name. For this, you must get another workaround. I have used this “technique”: for each domain, I have created “same user” like this:
User name: contact.domain (contact.domain1; contact.domain2; …; contact.domain50).
First name: Contact
Last name: DOMAIN (DOMAIN1; DOMAIN2; …; DOMAIN50)
Account name = User name = contact.domain; contact.domain1; contact.domain2; …; contact.domain50
- I think that I seen somewhere, I’m not sure if in this forum, another way to create the same user for more than one time.
For me, how I solved this problem was the easy way and it works for about two years on Zentyal and on NethServer.
I hope that all of that from above will help you.