Cpanel now adds a spam/ham report to the email headers. If the message is not spam, it adds a ham report as follows.
X-Ham-Report: Spam detection software, running on the system “server.def.com”, has
identified this incoming email as possible spam. The original message
has been attached to this so you can view it (if it isn’t spam) or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: testing […]
Content analysis details: (-1.9 points, 5.0 required)
pts rule name description
—- ———————- ————————————————–
-0.0 SPF_PASS SPF: sender matches SPF record
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
0.0 TVD_SPACE_RATIO TVD_SPACE_RATIO
While many email clients have options to hide such headers, a few customers are irritated with such headers when displayed in their email. If you want to disable the reports, do the following in exim.conf
Comment out the following line in /etc/exim.conf and restart exim.
add_header = X-Ham-Report: $spam_report
Such changes are temporary and will be reverted when upcp or eximup runs. In order to make the changes permanent, do the following through WHM.
In the new Advanced Exim configuration editor you can uncheck the box with “default_spam_scan” and then copy this section of the config and paste it into the box after “custom_begin_spam_scan” with your desired modifications. Then scroll down and click save. In short, you need to remove that line and save the rest. Try sending a mail now and you will no longer see the report.