The Apache SpamAssassin™ Report_Safe option allows you to modify how Apache SpamAssassin alerts email recipients that an email failed its spam tests. You can configure this option in the
/etc/mail/spamassassin/local.cf global configuration file.
- This document is for cPanel & WHM version 11.52 and earlier. We removed the Old-Style Spam System setting and its functionality in cPanel & WHM version 54.
- You must perform both of the following steps to properly configure the Report_Safe option.
Configure the Report_Safe option
Enable the Old-Style Spam System setting.
We removed the Old-Style Spam System setting in cPanel & WHM version 54. In cPanel & WHM version 11.52 and earlier, Exim cannot override any changes to the
/etc/mail/spamassassin/local.cf file when you enable this setting.
To enable this setting, perform the following steps:
- Log in to WHM as the
- Navigate to WHM's How to Configure the Apache SpamAssassin Report_Safe Option interface (WHM >> Home >> Service Configuration >> Exim Configuration Manager) and select the Apache SpamAssassin™ Options tab.
- For the Old-Style Spam System setting, select On.
- Click Save.
Edit the global Apache SpamAssassin configuration file.
Log in to your server via SSH as the
root user and modify the
Report_Safe value in the
/etc/mail/spamassassin/local.cf file to use one of the following values:
|Show the SPAM rules in the email header and leave the message body intact.|
Add the following attachments:
Cause the body of the email to include the spam rule offense text, and add the following attachments: