Page tree
Skip to end of metadata
Go to start of metadata

This document is for a previous release of cPanel & WHM. To view our latest documentation, visit our Home page.

For cPanel & WHM 11.46

(Home >> Service Configuration >> Exim Configuration Manager >> Basic Editor >> Filters)


The Filters option allows you to select and configure filters that can block spam and potentially dangerous attachments.

How to select filters

To select filters, perform the following steps:

  1. Click the Filters tab.
  2. Select the desired option for each setting, and enter any necessary information in the appropriate text box.
  3. Click Save.

System Filter File

Use this option to enable or disable Exim's system filter file, which is typically stored in the /etc/cpanel_exim_system_filter file. Choose one of the following settings:

  • None (default) – Choose this option to disable Exim's system filter file 
  • /etc/cpanel_exim_system_filter – Choose this option to enable Exim's system filter file.  This is the default setting the default configuration.
  • You can also choose to Customize the Exim System Filter File.


Regardless of the option that you select, the Exim configuration will include all files within the /usr/local/cpanel/etc/exim/sysfilter/options/ directory.

Attachments: Filter messages with dangerous attachments

Select this option to filter email messages that contain potentially dangerous attachments.

The following extensions are detected by default:

SpamAssassin: Global Subject Rewrite

Select this option to prefix the Subject header with information from the X-Spam-Subject header and omit the X-Spam-Subject header.

SpamAssassin™ is a program that blocks and detects spam. SpamAssassin examines the content of an email message and assigns the message an overall score. SpamAssassin bases the score on the number of spam-related traits that it finds in the message. If the message’s score exceeds a predefined limit, SpamAssasin discards the message.For more information, visit the SpamAssassin documentation.

SpamAssassin: bounce spam score threshold

Select this option to define the spam score that is used by SpamAssassin to bounce incoming messages.

Enter a positive number, a negative number, or a number with a single decimal in the text box. You can also choose the default setting, which is not to use this option.

For more information on spam scores, visit the SpamAssassin documentation.

SpamAssassin: X-Spam-Subject/Subject header prefix for spam emails

Select this option to use the default X-Spam-Subject header prefix for spam email or to enter a custom prefix.