I got the above error when I am executing the bash script with mail command. In the scripts you use -a in the mail commands to attach the logfile. This does not function and results in an error that an invalid header is being added to the mail. Looking in… Continue Reading Invalid header: /var/log/rkhunter.log