Child pages
  • How to Configure the Apache SpamAssassin Report_Safe Option

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel3
minLevel2
stylenone

Overview

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.

Warning
titleWarnings:
  • 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


Section
Column
width72px

Column

Enable the Old-Style Spam System setting.

Note
titleNote:

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:

  1. Log in to WHM as the root user.
  2. Navigate to WHM's Exim Configuration Manager interface (WHM >> Home >> Service Configuration >> Exim Configuration Manager) and select the Apache SpamAssassin™ Options tab.
  3. For the Old-Style Spam System setting, select On.
  4. Click Save.

 


 

Section
Column
width72px

Column

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:

ValueDescription
0Show the SPAM rules in the email header and leave the message body intact.
1

Add the following attachments:

  • A document that details the spam rule offense.
  • The suspected spam email.
2

Cause the body of the email to include the spam rule offense text, and add the following attachments:

  • A document that details the spam rule offense.
  • The suspected spam email.

Additional documentation

Localtab Group
Localtab
activetrue
titleSuggested documentation

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel in ("email","spamassassin") and label = "whm" and space = currentSpace()

Localtab
titleFor cPanel users

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel in ("email","spamassassin") and label = "cpanel" and space = "ALD"

Localtab
titleFor WHM users

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel in ("email","spamassassin") and label = "whm" and space in (currentSpace(),"ALD")

Localtab
titleFor developers

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel in ("email","spamassassin") and space = "SDK"