Linux Maldetect Not Sending Email Reports

GTS Joe asked:

I’ve set Linux Malware Detect to send me emails of the reports it generates, but haven’t received a single one even though it has produced several reports. Relevant maldet settings /usr/local/maldetect/conf.maldet include:

email_alert="1"
email_addr="my@email.com"
email_ignore_clean="0"

I’ve also used the command:

whereis mail

to make sure the “mail” command is installed and it returns “/etc/mail” to verify it’s installed.

What do I need to do to receive emails from maldet?

My answer:


Your system doesn’t have the mail command installed. To resolve the problem, install it. For instance:

yum install /usr/bin/mail

View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.