Hosting emails for other domains on your Mail-in-a-Box
by Felix Kinaro About 1 min reading time
Email transfer is done using an MX server. MX stands for Mail eXchanger. The MX record specifies the address of the server responsible for handling mail for a particular domain. This record is configured at your DNS service provider dashboard.
The MX record specifies the priority and host name of the server. Priority ranges from 0 to 65535. The lower the value, the higher the priority.
For instance if you have 3 servers as follows:
- 100 box.kinaro.me
- 70 server2.kinaro.me
- 10 server3.kinaro.me
server3.kinaro.me will be tried first, then server2.kinaro.me and finally box.kinaro.me.
One can use a single mail server or multiple servers to allow for load balancing and redundancy in case one or some fail.
Adding mail users
After setting the MX record with your DNS provider, go to your Mail-in-a-Box server and create a new user for that domain.
You can generate a random password using the control panel or type your own. The user can then log in with the username being the complete email address and the password chosen.