Question: how to configure xeams mail server?
Answer: Install Xeams on a clean machine, that is not running any other email server. ...  Add an MX record in your DNS server pointing to the external IP address of this installation machine. Create necessary users in Xeams using the Admin Console.