Report this

What is the reason for this report?

Ubuntu LEMP on 14.04 - Sending email?

Posted on August 18, 2015

Hello,

I have the above image - would someone be able to tell me what extra I need to do so that SendMail works? I have configured fail2ban to send an email when a block is executed, but I am assuming I need to install something to get this going?

Thanks allot, Dave.



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!

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.

You will need an MTA (Mail Transfer Agent) such as sendmail or postfix. I’d recommend using postfix

apt-get install postfix

The default configuration should allow you to send emails but without additional DNS records your messages might get flagged as spam. It is often easier to use SMTP for sending email with a service like Mandrill

This comment has been deleted

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.