HostGator.com » Support Portal

How to use Spam Assassin

Spam Assassin is a great anti-spam tool. We recommend to activate it as soon as you create an account or log in for the first time.

There are some changes that you may notice with the new cPanel 11.25. We are posting details about this in the forums, and we will try and keep this updated as much as possible.

Forum post can be found here.

How to Enable or Disable Spam Assassin

To enable and disable Spam Assassin please do the following:

  1. Login to cPanel and look in the Mail section
  2. Click Spam Assassin™
  3. Click Enable SpamAssassin to enable
  4. Click Disable SpamAssassin to disable

You have now just enabled / disabled Spam Assassin.

Required Score:
0 means everything will be marked as Spam
5 is the default
10 means nothing will be marked as Spam

Just setup Spam Assassin once, and it works for all of the emails on your account. Spam Assassin will mark your spam so it is easy to notice. (You can even make spam assassin automatically delete those emails.)

You may not be able to save the Required Score in the drop-down feature. Instead, you must click the "Configure SpamAssassin" button at the very bottom, change the value for required_score, and then click the "Save" button at the bottom.

Email Filtering with Spam Assassin

NOTE: You can use Spam Box or Email Filtering to move the spam from your Inbox to another folder.

Check your Outlook or other mail client for filtering tools.

Unfortunately, SpamAssassin no longer rewrites the subject line of your emails.
Fortunately, you can accomplish email filtering with the tools we provide.

  1. In your webmail, create a folder called Spam.
  2. In cPanel, go to User Level Filtering.
  3. Next to your email address, click Manage Filters.
  4. Click the Create a new Filter button.
  5. Give the filter a name like SpamAssassin Rule.
  6. Change the "From" drop down to "Spam Status".
  7. Change the "equals" drop down to "begins with".
  8. In the large blank below, type Yes
  9. Change the "Discard Message" drop down to "Deliver to folder".
  10. Click the Change button and choose your new Spam folder.
  11. Click the Activate button.

Now you can use IMAP and subscribe to the new Spam folder.


How can I remove the auto-delete function using x3 theme?

You can go to cPanel > SpamAssassin and click the "Disable Auto-Delete Spam" button.


How can I remove the auto-delete function using X theme?

You can go to cPanel > Mail > Email Filtering and remove the filter you see in this example:

Filter Destination  
$h_X-Spam-Bar: contains "+++++" Discard  

Our shared servers support custom Spam Assassin configurations, please see our Advanced Spam Assassin page for more details.


Article Comments

Blog Builder
Great info! Thanks for the heads up.

Bee
This last note on the filter is exactly what i was looking for. If you're paranoid about missing an important email it is imperative that you send all marked-as-spam messages to your inbox and let Outlook filter it out based on the extra header SpamAssasin added to the original email (if you are using POP3 with Outlook that is). I wish this information was included somewhere on cpanel - took me a while to find it.

Greg
I can't figure out why spam going to my hostgator domain email is being forwarded to my AOL email. In the email details it shows: Received: from gator309.hostgator.com.

I don't see anywhere where I've put a forwarding email address in my hostgator cPanel. Is there something I've overlooked?

HostGator
Please contact us via email, phone or live chat so we can check your MX record and look for forwarders.

Roxann Higuera
"Now you can use IMAP and subscribe to the new Spam folder."

So how's that done? I'm using Outlook.

HostGator
Typically the answer is File > Subscribe.

Check your pop client's help documents if you can't find it.

Mick
I am receiving emails in my inbox that are labeled as spam. SpamAssassin is enabled, spam box is enabled. Please advise.

HostGator
Simply create a folder named "spam" and the email should start delivering there.

HostGator
Thank you for your comments. Just a quick reminder that the comments on this page are not monitored by technical support staff, and that for support issues, it is best to contact us by live chat, phone or email so we can assist you right away.

Although comments are not monitored by technical support staff, they are moderated and read by technical writers. Comments will need to be approved by a moderator before appearing.

Our technical writers do read the comments periodically for the purposes of updating the articles, and do appreciate your feedback, suggestions and corrections to the articles themselves, as well as any suggestions or tips for readers of this article. However, support questions posted here are not guaranteed to be replied to in a timely manner or at all. For support issues, it is best to contact our support staff instead by live chat, email or phone.



Your comments help us keep the knowledge base updated. This is not a medium for support. If you have questions or need help, please contact us via email, phone or live chat for fast assistance.

Post Comment