How to set up maildomain settings?

  • Posted on September 25, 2014
  • robocoreAsked by robocore

Hello guys,

Currently I have a LEMP stack on an Ubuntu 14.04 server running on a Droplet. Aside this I have installed Piwik, a Web analytics package that allows me to analyze incoming usertraffic. Piwik offers me an option to send reports out on a weekly basis to a chosen email account.

I have a mailbox at Gandi, that I want to use for this. How would I set up Ubuntu 14.04 with the ability to send mail out and how would I make it arrive on the mailbox? I am currently not running a DNS server on my Droplet.

Do I need to install a mailserver? If so, what would I have to do with my DNS settings within DigitalOcean?

I currently have made no settings whatsoever towards making a working mailing configuration. What would my starting point be? Where should I look? Are there any tutorials that could be of help? I currently am drawing a blank.

Thanks in advance!

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.


one way is to setup your own mail server, for example with postfix (tutorial here). However, if you only want to send emails from Piwik, you can use any external SMTP server (Gmail, Gandi, …). You can find the necessary steps in the Piwik documentation.