How to add wildcards to Linux Malware Detect ignore_paths
Posted
by
Laurence Cope
on Server Fault
See other posts from Server Fault
or by Laurence Cope
Published on 2014-08-24T09:43:33Z
Indexed on
2014/08/24
10:21 UTC
Read the original article
Hit count: 366
malware
I am using Linux Malware Detect to scan and report on malware, but on a daily basis I receive alerts for malware in users emails (mainly spam folder). I do not want alerts for this, the spam folders are cleaned often, and the users may clean it also.
I tried adding wildcards into /usr/local/maldetect/ignore_paths as follows but they are not ignored:
/home/*/homes/*/Maildir
/home/?/homes/?/Maildir
Does anyone know how to exclude folders using wildcards, as it would not be practical to add the full path of every users mail directory.
Thanks
© Server Fault or respective owner