Question

One droplet, One Vesta, Multi domain and mail servers settings

  • Posted on January 19, 2015
  • deskhaAsked by deskha

It’s been almost two weeks that i kept failing to configure mail server.

I have one droplet with name,let’s say ‘mydroplet’, 1Gb Ram, 30Gb SSD and Ubuntu 12.04.5 x32 and successfully installed Vesta there I have successfully put several domains and sub-domains there and manage to bring the transferred website alive again (they were on shared hosting previously)

The only thing i failed is making the mail to work

I have configured the DNS on digital ocean with MX record For example, for mydomain1.com, i put 10 mail.mydomain1.com, for mydomain2.com i put 10 mail.mydomain2.com .

I still don’t know how to configure the MX records for the subdmomain (for example for sub.mydomain1.com, should i put it as 10 mail.sub.mydomain1.com(??) ? )

I can add the email address in vesta and access it through roundcube. I can even send email from there to my gmail accounts but i can’t receive any.

For additional info, my old hosting is still alive and i can still open the old email squirell through its IP (xxx.xx.xxx.xxx:2095) but i found no new or recently received email there also.

Its been almost 2 weeks…and i think i’m almost desperate…any suggestion and help?


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.

Make sure you have a matching A record for mail.mydomain1.com. This should be your droplets ip address.

Also I don’t think DO DNS allows sub-domains for MX records. At least I haven’t figured it out either.