Question

Ubuntu LEMP on 14.04 - Sending email?

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.

Subscribe
Share

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.

This comment has been deleted

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