Create Spam Filters for Mailing Lists

This document explains how to create spam filters for mailing lists. Mail filters allow you to control which email messages that your server delivers in cPanel's Mailing Lists interface (Home >> Email >> Mailing Lists).

Navigate to Mailing Lists

To control which email messages that your server delivers to your mailing lists, use Mailman's Spam filters interface. To access Mailman's Spam filters interface, click the Manage link that corresponds to the mailing list that you wish to edit.

How to Create Spam Filters for Mailing Lists

To create a mail filter rule with the Header filters section of the Spam filters interface, perform the following steps:

  1. In the Spam Filter Rule 1 text box, enter a regular expression (regex) that matches the messages to which to apply an action, for example:

    X-Spam-Status:\s+Yes
  2. Next to Action:, select the action for Mailman to perform on the messages that match the filter. The following table describes the available options:

    Option
    Explanation
    Defer This option disables the filter rule.
    Hold This option directs Mailman to hold the messages that match the filter rule until a moderator approves it.
    Reject This option directs Mailman to reject the messages that match the filter rule.
    Discard This option directs Mailman to delete the messages that match the filter rule.
    Accept This option directs Mailman to accept the messages that match the filter rule.
  3. Click Submit Your Changes.

Conclusion

You now know how to create spam filters for mailing lists.

  • spam filters, mailing list
  • 5 Users Found This Useful
Was this answer helpful?

Related Articles

Video: Create Email Address in cPanel

This video tutorial demonstrates how to create an email address using cPanel Shared Hosting...

Video: Create Email Address in cPanel

This video tutorial demonstrates how to create an email address using cPanel Shared Hosting...

How to Disable Simplified Account Creation in Outlook 2016

Summary When you configure an Office 365 account in Outlook 2016, you see the...

Video: Change Primary Language in cPanel

This video tutorial provides Step-by-Step instructions for changing the Primary Language settings...

Video: How to Enable Spam Protection in cPanel

This video tutorial provides Step-by-Step instructions for enabling spam protection in cPanel...