I need to set up a mailserver. I've several different domains and I need to set up different emails for each other.
For example:
domain1.com -> user@domain1.com
domain2.com -> user2@domain2.com

Any suggestion?

  • You need to provide some more details, like the SMTP server you're using and so on. – EnzoR Dec 10 '18 at 8:09
  • You also need to provide more details on what is your final objective. – EnzoR Dec 10 '18 at 8:17

While waiting for more details, a very good point to start with could be the relevant webpages from the email server the user is running.

For example, both postfix and exim (among the most used email servers in Ubuntu) have some documentation illustrating the concepts needed to host mutiple email domains.

The whole thing mainly boils down to configure local users to be mapped to specific email address(es).

Without any extra details, that's it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.