This site utilizes JavaScript to function correctly. Looks like it's disabled on your browser. Please enable it for your best experience.

For instructions on enabling JavaScript, click here

Skip to main content

Just Host Web Hosting Help

How to configure custom SpamAssassin filters

Summary

The option to enable "Spam Box" is available for users, and creates a simple "Spam" box for each user. However, some may choose to create their own rules, instead of the "Spam Box" provided with SpamAsasssin. This can easily be done from your cPanel; to do so, follow these steps.





Enable SpamAssassin

  1. From your cPanel, go to the Mail category, and select SpamAssassin.
  2. Verify SpamAssassin is enabled by selecting Enable SpamAssassin If the button states Disable SpamAssassin this means that it's already enabled.
  3. Now you will need to set a "rewrite" that SpamAssassin will apply to the message(s) it suspects is spam; select "Configure SpamAssasin," then enter something under "Rewrite_header subject." We recommend using something like **SPAM**, as this makes it easily identifiable.
Create a new Filter
  1. Return to your cPanel, navigate to the "Mail" category once again, and select "User Level Filtering."
  2. Select "Manage Filters" to the right of your email address, then select "Create New Filter." Give the filter a name, then fill out the boxes:
    • Select "Any Header", "Contains"; then enter your rule, such as "**SPAM**", into the field.
      Now, select the desired option using the bottom-most box. In common cases, selecting "Deliver to folder" and entering a specific folder, like "Junk" or "Spam" is optimal. This way you can still manually check the messages for false-positives.
  3. Select "Activate".
If you need any assistance setting these up, or need another example, please feel free to contact Support with any inquiries.

Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

Explanation of what SpamAssassin is and how it works
Knowledgebase Article 240,335 views tags: assassin email spam

I'm getting a ton of spam and I don't know what to do! I would like it filtered and/or dropped from the server!
Knowledgebase Article 249,448 views tags: filter filtering spam spamassassin

SPAM is a brand of canned mystery meat made by Hormel Foods Corporation. It was first introduced in...oh wait, different kind of spam—but still related to email spam because they share similar characteristics, like nobody wants it or ever asks for it. Email spam is electronic junk mail or more gen
Knowledgebase Article 137,196 views tags: filter spam spamassassin spamexperts

Related Help Content

General Instructions on how to use the spam folder with webmail
Knowledgebase Article 246,305 views tags: email spam spamassassin webmail

Getting spammed? What does Just Host recommend?
Knowledgebase Article 541,512 views tags: email filter spam

Prevent Spam These steps will help you prevent users and robots from posting Spam on your WordPress blog. Inside the WordPress Dashboard, select Settings in the navigation bar on the left. From the G
Getting Started Article 222,252 views tags: comment scroll spam wordpress

How does Spam Hammer work?
Knowledgebase Article 214,575 views tags: email filter hammer spam

Explanation of how spam works and common prevention tips
Knowledgebase Article 293,992 views tags: email spam webmail

Oh spam, sometimes it seems like we'll never get rid of you.
Knowledgebase Article 311,132 views tags: email filtering spam spamexperts virus

How to setup and use Custom Name Servers with your Domain name
Video "How-to" Tutorial 334,497 views tags: cpanelutilities custom

If you find some of your emails end up your recipients Spam folder, arrive late, or sometimes don't arrive at all, this article can help you improve the deliverability of the messages you are sending.
Knowledgebase Article 293,675 views tags: delivery email filters receiving sending working

** Google ad credits are only available to customers in the United States, Canada, and the United Kingdom at this time.

¹ VAT (Value Added Tax) is not included in our advertised price and will be charged separately and itemized on invoices and billing information. Standard VAT rates based on EU Member State regulations may apply. Learn more.