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.

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.

×
1 answer

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

Submit an Answer