Hello, If we put RKHUNTER_OPTS="-c --cronjob --skip-keypress --report-warnings-only" and SEND_EMAIL=yes We still receive email from the server if they are no warning. Regards.
Let me know whether setting VERBOSITY to the appropriate number works.
Hello, I have modify my config : RKHUNTER_OPTS="-c --cronjob --skip-keypress --report-warnings-only" ENABLE=yes SEND_EMAIL=yes VERBOSITY=1 But I still receive email (empty email) for each server. Regards
Hello, The problem is due to : # email output? if [[ "${SEND_EMAIL}" == "yes" ]] ; then CMD="cat ${_tmpout} ${EMAIL_CMD}" eval ${CMD} fi they is no check if _tmpout is empty or not Regards.
Just had the same idea, fixed it and found this bug. The following patch redirects STDOUT of the update-run to /dev/null and checks if the logfile's size is greater zero.
Created attachment 68610 [details, diff] rkhunter-cron.diff fixes the stuff described above.
Created attachment 68611 [details, diff] rkhunter-cron.diff fixed the diff, sorry.
Changelog indicates that ka0ttic fixed this a while back