No announcement yet.

How to Configure the Apache SpamAssassin Report_Safe Option

  • Filter
  • Time
  • Show
Clear All
new posts

  • How to Configure the Apache SpamAssassin Report_Safe Option


    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/ Global Configuration File.

    Configure the Report_Safe option

    You must perform the following two steps to configure the Report_Safe option.

    Step 1: Enable the Old Style Spam System

    Note: The Old Style Spam System is currently deprecated. Exim cannot override any changes made in the /etc/mail/spamassassin/ file when the Old Style Spam System is enabled.

    To enable the Old Style Spam System, perform the following steps:

    1. Log in to WHM as the root user.

    2. In WHM's Exim Configuration Manager interface (Home >> Service Configuration >> Exim Configuration Manager), select the Apache SpamAssassin™ Options tab.

    3. For the Old Style Spam System setting, select On.

    4. Click Save.

    Step 2: Edit the global Apache SpamAssassin configuration file.

    Perform the following steps as the root user at the command line to configure the Report_Safe option:

    1. Log in to your server via ssh as the root user

    2. Open the /etc/mail/spamassassin/ file.

    3. Use a text editor to change the Report_Safe option to 0, 1, or 2. This setting defaults to 1.
    a. The setting 0 shows the SPAM rules in the email header and leaves the message body intact.
    b. The setting 1 adds two attachments:
    *A document that details the spam rule offense.
    *The suspected spam e-mail.
    c. The setting 2 also adds two attachments. However, the body of the email includes the text of the spam rule offense text.