Are you interested for monthly server support with Unlimited tickets, 24×7 monitoring, Security Audit and lot more ? please check our Monthly server support plans

How to configure maldet to scan daily and get reports to mail:

You can configure maldet to scan the whole server daily and get the report via mail. For that you need to follow the below steps,

Step 1.

If you have maldet installed in your server see the next step. If not, for installing maldet click here

Step 2.

Go to the maldet configuration file,

 vi /usr/local/maldetect/conf.maldet

Here you can see the fields,

email_alert

You need to turn on this field.

email_addr

Here you need to give the mail id to receive the alerts

For eg: email_addr="admin@iserversupport.com"

Step 3.

The default cron for daily maldet scan will be seen under,

/etc/cron.daily/maldet

If you need to add any other locations for scan other than default locations, you can do that by adding them to this file.

This will scan the server and will produce the result to the given email.