HOW TO Send-Only email configuration on Ubuntu 12.04.?

  • Posted February 3, 2014

Hi to all, so here is my problem. I am using a Ubuntu droplet, and have installed a script that need the ability to send emails. There is also a contact form. The problem I’m facing is that I’m stacked because I have setted to receive and send emails through Microsoft “” because of spam, so the only option that I need is the ability to send emails to, per example, new customers to confirm their email addresses, or to send emails from the contact form on the site to my email on Did anyone have any idea how to fix this? I have installed successfully postfix, but now I don’t know what to do. Thank you in advance.


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

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.

I’ve also spent hours going through the “tutorials”, but nothing seems to work. Now I trying to configure my droplet to send emails using msmtp via Gmail, but the authentication is failing. There really needs to a be a simple, step-by-step guide to setting up a simple email send capability.

What part didn’t work for you?

Hi, <br>Contato, I understand you completely. <br>Kamal, I have tried your way, but no luck! <br>Anyone else?? <br>Thanks

HI there, I’ve been facing the same issue and although it is Wordpress related, as long as wp itself also uses php mail() function I think I’m on the same boat! <br> <br>The lack of documentation about setting up a proper and simple way to use Gmail or Hotmail or (aka as a relay service is extremely disappointing. I’m new on managing a VPS, but it is worth nothing if I’ve got a blowing fast server set up serving a web site which is not able to process a simple sendmail request. <br> <br>I’ve also tried postfix, sendmail and exim on Ubuntu 12.04 with no avail. <br> <br>I’ve read a few tutorials about setting up Gmail and Hotmail with postfix, but even following these tutorials strictly I could not make it anyway. Perhaps it may help you if I’m missing something, here a the links: <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br> <br>This ones instructs setting up hotmail (in portuguese) - but Google Translate may help: <br> <br>