How to setup e-mail for use with Outlouk / Mailclient with Virtualmin

  • Posted on December 27, 2013
  • marcelAsked by marcel


I have setup mail.mydomain A and MX records, and added user to virtualmin.

How can I setup mail so that I can use it in Outlouk or any other mail client via IMAP and POP?

I have searched for tutorials, found other questions, but all with differten options. Is there a tutorial or guide on how to set this up?

Also, in my previous hosting experiences it was often possible to use some general mailserver, like Whatever domain I used, I could authenticate on their mail server as long as I created my mail account in their directadmin panel. In my case I do have a simple setup of main and subservers, with 3 simple lightweight sites. Is it possible to have the subservers (as virtualmin calls them) let use the mailserver of the main site? This would spare me lots of time for future domains/mailaccounts.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Glad to hear that! :] <br> <br>You can create a wildcard MX record but that would apply to too, simply name the MX record “*” and it should apply for every subdomain under

Yeah! Was just configuration. It is now working in Outlouk too. <br> <br>Then one more final question: I now have mail up&running for 2 domains on my VPS, however, I would like to have one central mailserver (my main virtaulmin server). I will create up to 10 light sites (sub-servers), but I don`t want to go through the email configuration part for every sub-server. Is that possible? To automatically let users for sub-servers be using the mailserver of the main server? It is kind of a shared hosting idea, where it is often possible to do so. <br> <br>Thanks!

It is now working from virtualmin, but not yet from my mailclient