{"id":982,"date":"2021-03-29T16:30:00","date_gmt":"2021-03-29T20:30:00","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2011\/09\/06\/spamassassin-fighting-spam\/"},"modified":"2026-01-22T11:16:44","modified_gmt":"2026-01-22T16:16:44","slug":"spamassassin-fighting-spam","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/email\/spamassassin-fighting-spam\/","title":{"rendered":"SpamAssassin: Fighting Spam"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/11\/SpamAssassin-Fighting-Spam-1024x538.png\" alt=\"SpamAssassin: Fighting Spam Hero Image\" class=\"wp-image-107741\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/11\/SpamAssassin-Fighting-Spam-1024x538.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/11\/SpamAssassin-Fighting-Spam-300x158.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/11\/SpamAssassin-Fighting-Spam-768x403.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/11\/SpamAssassin-Fighting-Spam.png 1200w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p>You just want to run a website and make the most of your business\u2019s email address, but managing spam is starting to feel like a full-time job. Sound familiar? It seems that no matter what we try, the world\u2019s \u2018spam artists\u2019 find new ways to annoy us. <\/p>\n\n\n\n<p>If you have never managed your own email before, the sheer volume of spam may shock you. That\u2019s why cPanel comes pre-installed with <strong>Spam Filters<\/strong> powered by <strong>Apache SpamAssassin<\/strong>, one of the most powerful open source email filtering systems available. Use this guide to setup your server\u2019s spam prevention to help cut down on the amount of spam you have to deal with!<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#how-spamassassin-works\">How SpamAssassin Works<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#point-system\">How the Point System Works<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><a href=\"#spamassassin-in-cpanel\">Enabling and Disabling SpamAssassin in cPanel<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#enable-spamassassin\">How to Enable SpamAssassin<\/a><\/li>\n\n\n\n<li><a href=\"#disable-spamassassin\">How to Disable SpamAssassin<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><a href=\"#optimize-spamassassin\">Optimizing SpamAssassin for Your Account<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#how-score-messages\">How SpamAssassin Scores Spam Messages<\/a><\/li>\n\n\n\n<li><a href=\"#modify-threshold\">How to Modify the Spam Threshold Score<\/a><\/li>\n\n\n\n<li><a href=\"#how-choose-score\">Choosing a Spam Threshold Score<\/a><\/li>\n\n\n\n<li><a href=\"#spam-box\">The Spam Box<\/a><\/li>\n\n\n\n<li><a href=\"#enable-disable-auto-delete\">Enable\/Disable the Auto-Delete Feature<\/a><\/li>\n\n\n\n<li><a href=\"#auto-delete\">Auto-Delete Spam Threshold Score<\/a><\/li>\n\n\n\n<li><a href=\"#still-getting-spam\">SpamAssassin is Enabled and Still Getting Spam<\/a><\/li>\n\n\n\n<li><a href=\"#filters-to-organize\">Using Filters to Organize Spam<\/a><\/li>\n\n\n\n<li><a href=\"#blacklist-filters\">How to Manage Blacklist Filters<\/a><\/li>\n\n\n\n<li><a href=\"#whitelist-filters\">How to Manage Whitelist Filters<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#spamassassin-whm\">How to Enable\/Disable SpamAssassin in WHM<\/a><\/li>\n\n\n\n<li><a href=\"#locate-activity\">How to Locate High Levels of SpamAssassin Activity<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#slow-server\">Can SpamAssassin Slow Down a Server?<\/a><\/li>\n\n\n\n<li><a href=\"#review-logs\">When Should I Review SpamAssassin Logs?<\/a><\/li>\n\n\n\n<li><a href=\"#locate-users\">Locate Users with the Highest SpamAssassin Executions<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#why-label-spam\">Why Does SpamAssassin Label my Email as Spam?<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#how-determine\">How Does SpamAssassin Determine that Email is Spam?<\/a><\/li>\n\n\n\n<li><a href=\"#lower-your-score\">How to Lower Your SpamAssassin Score<\/a><\/li>\n\n\n\n<li><a href=\"#x-spam-scores\">Understanding X-Spam Scores<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><a href=\"#imh-central\">Platform i: Using SpamAssassin<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#imh-central-adjusting-threshold\">Adjusting the Spam Threshold Score<\/a><\/li>\n\n\n\n<li><a href=\"#imh-central-whitelisting\">Whitelisting Emails<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-spamassassin-works\">How SpamAssassin Works<\/h2>\n\n\n\n<p class=\"alert alert-info\"><strong>Note:<\/strong> SpamAssassin is the software that powers cPanel\u2019s spam filtering system. Newer versions of cPanel will list these resources under <strong>Spam Filters<\/strong>, but older versions on some servers may keep everything under <strong>SpamAssassin<\/strong>. Don\u2019t worry \u2014 the resources are the same no matter what the icon is called! In <strong>WebHost Manager (WHM)<\/strong>, different anti-spam settings are listed alongside related server functions.<\/p>\n\n\n\n<p>cPanel\u2019s <strong>Spam Filters<\/strong> powered by <strong>SpamAssassin <\/strong>are not an all-or-nothing email filter, as some other spam prevention tools are. Instead, they determine whether an email is spam as soon as it hits the server. SpamAssassin works on the back end of your email server and has 10 different levels of settings to catch spam. When enabled by default, your filters will be set to 5. This is mid-range \u2014 but what exactly does that mean?<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"point-system\">How the Point System Works<\/h3>\n\n\n\n<p>SpamAssassin uses a points-based system called \u201chits\u201d to label spam. When it finds particular characteristics in an email it assigns a point value. These \u2018characteristics\u2019 can include everything from words and topics commonly found in spam emails, to malicious code, and even custom values you set yourself. If the email exceeds the maximum point value you set, the email is flagged as spam.<\/p>\n\n\n\n<p>The lower the score you set, the more email will be caught as spam. For example, a setting of 1 means that only one hit needs to be flagged against an email for it to be considered spam. If you set the score higher, more hits will be required on an email for it to be labeled as spam. So, the lower the score, the more emails should be flagged as spam.<\/p>\n\n\n\n<p>We suggest testing the different settings prior to using a higher setting.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"spamassassin-in-cpanel\">Enabling and Disabling SpamAssassin in cPanel<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"enable-spamassassin\">How to Enable SpamAssassin<\/h3>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-log-into-cpanel\/\">Log into cPanel<\/a>. <br><br><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"95\" class=\"wp-image-70537\" style=\"width: 150px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/cPanelSpamFilters.jpg\" alt=\"cPanel Spam Filters icon\"><br><\/li>\n\n\n\n<li>Under the <em>Email<\/em> section, click on the <strong>Spam Filters<\/strong> icon.<\/li>\n\n\n\n<li>Click on the toggle switch that appears before <strong>Process New Emails and Mark them as Spam<\/strong>. <br><br><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"95\" class=\"wp-image-15848\" style=\"width: 500px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/cpanel_v70_spam-filters_spam-assassin-toggle-enabled.png\" alt=\"Click on the image to enlarge screenshot.\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/cpanel_v70_spam-filters_spam-assassin-toggle-enabled.png 563w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/cpanel_v70_spam-filters_spam-assassin-toggle-enabled-300x57.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><div style=\"clear: both;\">\u00a0<\/div><div class=\"alert alert-info\"> <b>NOTICE:<\/b> The toggle should change to blue and a green success message will appear, indicating: \u201cApache SpamAssassin has been enabled.\u201d<\/div><\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"disable-spamassassin\">How to Disable SpamAssassin<\/h3>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li>Log into cPanel.<\/li>\n\n\n\n<li>Under the <em>Email<\/em> section, click on the <strong>Spam Filters<\/strong> icon.<\/li>\n\n\n\n<li>Click on the toggle switch that appears before <strong>Process New Emails and Mark them as Spam<\/strong>. <br><br><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"79\" class=\"wp-image-15849\" style=\"width: 500px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/cpanel_v70_spam-filters_spam-assassin-toggle-disabled.png\" alt=\"Click on the image to enlarge screenshot.\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/cpanel_v70_spam-filters_spam-assassin-toggle-disabled.png 597w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/08\/cpanel_v70_spam-filters_spam-assassin-toggle-disabled-300x47.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><div style=\"clear: both;\"> <div class=\"alert alert-info\"> <b>NOTICE:<\/b> The toggle should change to grey and a green success message will appear, indicating: \u201cApache SpamAssassin has been disabled.\u201d<\/div> <\/div><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"optimize-spamassassin\">Optimizing SpamAssassin for Your Account<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"how-score-messages\">How SpamAssassin Scores Spam Messages<\/h3>\n\n\n\n<p>With spam comprising almost 80% of all emails sent across the planet, it is definitely important to try and filter them out as best you can. With a tool like SpamAssassin, each email will be evaluated against a score standard and either allowed to pass to your mailbox or flagged as spam and dealt with accordingly. <\/p>\n\n\n\n<p>There are many different factors that SpamAssassin uses while trying to determine if a message is possibly spam or not. If you review our guide on <a href=\"#why-label-spam\">why does SpamAssassin label my email as spam<\/a> that should give you a good understanding of what it\u2019s looking for when scoring a message.<\/p>\n\n\n\n<p>You can also take a look at the long list of <a href=\"https:\/\/spamassassin.apache.org\/old\/tests_3_3_x.html\" target=\"_blank\" aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener\">SpamAssassin tests performed in v3.3.x<\/a> for the complete list along with scores of all the various tests SpamAssassin runs on your messages.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"modify-threshold\">How to Modify the Spam Threshold Score<\/h3>\n\n\n\n<p>The <strong>Spam Threshold Score<\/strong> is the <em>limit that can be set to identify spam messages<\/em> in your email account(s). When <a href=\"#enable-spamassassin\">SpamAssassin is enabled<\/a>, it assigns a score to each email based on how likely it is to be spam. With a range of 0-10, the default setting for SpamAssassin is 5, which is right in the middle. If an email is given a score above the threshold, SpamAssassin will modify the header of that email to identify it as spam. The email header can then be used to filter spam away from your inbox, according to the settings configured in the <em>Spam Filters plugin for cPanel<\/em>. In this guide, you can learn <strong>how to modify the Spam Threshold Score<\/strong>.<\/p>\n\n\n\n<p><a name=\"modify-spam-threshold-score\"><\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"score\">Spam Threshold Score<\/h4>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li>Log into cPanel.<\/li>\n\n\n\n<li>Under the <em>Email<\/em> section, click on the <strong>Spam Filters<\/strong> icon.<\/li>\n\n\n\n<li>Under the toggle switch labeled: <i>Process New Emails and Mark them as Spam<\/i>, there is a brief description of how SpamAssassin works. Click on the link at the end, <strong>Spam Threshold Score<\/strong>.<\/li>\n\n\n\n<li>Select a value from the <strong>Spam Threshold Score (required_score)<\/strong> drop-down menu. <div class=\"alert alert-info\"> <p><b>NOTE:<\/b> The <i>lower<\/i> the Spam Threshold Score, the <i>more strict<\/i> the filter will be, resulting in the possibility of less spam appearing in your inbox. However, this may also cause more legitimate emails to be identified as spam (and possibly filtered away from your inbox).<\/p> <p>On the contrary, the <i>higher<\/i> the Spam Threshold Score, the <i>less strict<\/i> the filter will be, resulting in the possibility of fewer emails being falsely identified as spam. However, this may also cause more spam to appear in your inbox.<\/p> <p>The best way to determine which Spam Score is optimal for your email activity is to monitor the behavior closely while experimenting with various Spam Threshold Scores. For more assistance with this, please see below for a look at <a href=\"#how-choose-score\">how to choose an effective spam threshold score<\/a>.<\/p> <\/div> <\/li>\n\n\n\n<li>Finally, click the <strong>Update Scoring Options<\/strong> button to save your new Spam Threshold Score.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"how-choose-score\">Choosing a Spam Threshold Score<\/h3>\n\n\n\n<p>The <strong>Spam Threshold Score<\/strong> plays an important role in classifying emails as legitimate or spam messages. Unfortunately, one size does not fit all when it comes to setting the optimal value for classifying spam. The best way to find the most effective threshold score is through trial and error.<\/p>\n\n\n\n<p>First, you should <a href=\"#spam-box\">enable the Spam Box<\/a> and <a href=\"#enable-disable-auto-delete\">disable the auto-delete<\/a> features in the <em>Spam Filters<\/em> settings. This will filter emails that exceed the threshold score to a dedicated folder (for you to further review) rather than automatically deleting them. This also prevents legitimate emails from being automatically deleted if the threshold score is too strict.<\/p>\n\n\n\n<p>Once that is done, you can proceed to <a href=\"#modify-threshold\">set the Spam Threshold Score<\/a>. At first, you can try to use the default value (5). With these settings in place, you should monitor the spam box and inbox closely for a few days to a week (depending on the number of emails you receive). If you see more spam emails being sent to your inbox, you should change your threshold score to a lower value (to be more strict). If you see more legitimate emails being sent to your spam box, you should change the threshold score to a higher value (to be more lenient).<\/p>\n\n\n\n<p>Although taking an active approach to controlling the amount of spam you receive may seem daunting, it can be as simple as trial and error. The suggestions above will help to make it is easy to find that Goldilocks, \u201cjust right\u201d setting though.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"spam-box\">The Spam Box<\/h3>\n\n\n\n<p>The <strong>Spam Box<\/strong> is a great feature that can help mitigate the number of spam emails that appear in your inbox. By enabling the spam box and setting an appropriate Spam Threshold Score you can filter potential spam emails to their own folder. Along with the added benefit of reducing the number of spam emails in your inbox, you will also gain the ability to review the emails that are being classified as spam prior to deletion. In the event legitimate emails are falsely identified as spam, you can move them to your inbox rather than having them automatically deleted and lost forever.<\/p>\n\n\n\n<p><a name=\"spam-box-enable\"><\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"enable\">Enable or Disable the Spam Box<\/h4>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li>Log into cPanel.<\/li>\n\n\n\n<li>Click on the <strong>Spam Filters<\/strong> icon, under the <em>Email<\/em> section.<\/li>\n\n\n\n<li>Click on the <strong>Move New Spam to a Separate Folder (Spam Box)<\/strong> toggle. <br><div class=\"alert alert-info\">The toggle should change to blue and a green success message will appear, indicating: \u201cSuccess: Spam Box has been enabled.\u201d<\/div><\/li>\n\n\n\n<li>To disable Spam Box, simply click the same toggle. <br><div class=\"alert alert-info\">The toggle should change to grey and a green success message will appear, indicating: \u201cSuccess: Spam Box has been disabled.\u201d<\/div><\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"spam-box\">Accessing The Spam Box<\/h3>\n\n\n\n<p>Depending on the client being used (Mail, Outlook, Mac Mail, etc.) the Spam Box may show up as a \u201cSpam\u201d or \u201cJunk\u201d folder within your email client. To access it on your server directly, you\u2019ll want to visit http:\/\/yourdomain.com\/webmail where \u201cyourdomain.com\u201d is your actual domain name. You\u2019ll need to log in with your full email address and password and you\u2019ll see a \u201cJunk\u201d folder within RoundCube. That is your spambox directly on the server:<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"470\" height=\"571\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2024\/05\/spam-folder-roundcube.png\" alt=\"\" class=\"wp-image-127813\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2024\/05\/spam-folder-roundcube.png 470w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2024\/05\/spam-folder-roundcube-247x300.png 247w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"enable-disable-auto-delete\">Enable\/Disable the Auto-Delete Feature<\/h3>\n\n\n\n<p>Once you have <a href=\"#modify-threshold\">fine-tuned your Spam Threshold Score<\/a>, you can turn on the <strong>Auto-Delete<\/strong> feature. This feature will automatically delete email messages assigned a spam score higher than your configured value. Here\u2019s <strong>how to enable\/disable the Auto-Delete feature<\/strong> <em>from within the Spam Filters interface in cPanel<\/em>.<\/p>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li>Log into cPanel.<\/li>\n\n\n\n<li>Click on the <strong>Spam Filters<\/strong> icon under the <em>Email<\/em> section.<\/li>\n\n\n\n<li>Click on the <strong>Automatically Delete New Spam (Auto-Delete)<\/strong> toggle. <br><div class=\"alert alert-info\">The toggle should change to blue and a green success message will appear, indicating: \u201cSpam Auto-Delete has been enabled.\u201d<\/div><\/li>\n\n\n\n<li>To disable Auto-Delete, simply click the same toggle. <br><div class=\"alert alert-info\">The toggle should change to grey and a green success message will appear, indicating: \u201cSpam Auto-Delete has been disabled.\u201d<\/div><\/li>\n<\/ol>\n\n\n\n<p><a name=\"auto-delete-disable\"><\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"auto-delete\">Auto-Delete Spam Threshold Score<\/h3>\n\n\n\n<p>If the auto-delete feature is enabled in your Spam Filters settings, you can configure a separate Spam Threshold Score. If an email exceeds this score, the message will be automatically deleted.<\/p>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li>Log into cPanel.<\/li>\n\n\n\n<li>Under the <em>Email<\/em> section, click on the <strong>Spam Filters<\/strong> icon.<\/li>\n\n\n\n<li>Under the toggle switch labeled: <i>Automatically Delete New Spam (Auto-Delete)<\/i>, click on <strong>Configure Auto-Delete Settings<\/strong><\/li>\n\n\n\n<li>In the <strong>Auto-Delete Threshold Score<\/strong> field, enter the numerical value that you would like. <div class=\"alert alert-info\"> <p><b>WARNING:<\/b> Email messages that are assigned a Spam Score higher than the value you set will be automatically deleted. Those email messages will <u>not<\/u> be able to be recovered. We recommend utilizing the Spam Box feature for filtering out spam.<\/p> <\/div> <div class=\"alert alert-info\"> <p><b>IMPORTANT:<\/b> You can not set this score below the current Spam Threshold Score.<\/p> <\/div> <\/li>\n\n\n\n<li>Click on the <strong>Update Auto-Delete Score<\/strong> button to save your changes.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"still-getting-spam\">SpamAssassin is Enabled and Still Getting Spam<\/h3>\n\n\n\n<p>You can <a href=\"#modify-threshold\">adjust your SpamAssassin score settings<\/a> to be more aggressive, by lowering the <strong>required_score<\/strong> value required to be met before a message is flagged as spam.<\/p>\n\n\n\n<p>You can also <a href=\"#blacklist-filters\">blacklist<\/a> or <a href=\"#whitelist-filters\">whitelist<\/a> an email address or domain in SpamAssassin. So if you have one particular domain or user that keeps sending you spam that is getting by SpamAssassin, you could add them to your blacklist to have their messages automatically flagged as spam. Alternatively if someone you want to always be able to email you is having their messages flagged as spam, you could add them to your SpamAssassin whitelist.<\/p>\n\n\n\n<p>Another thing that you can do is to <a href=\"https:\/\/www.inmotionhosting.com\/support\/email\/block-ips-from-sending-you-email\/\">block certain IPs from sending you email<\/a>, or you can <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/user-account-level-filtering\/\">use cPanel user level email filtering<\/a> to block other types of messages that SpamAssassin seems to be missing.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"blacklist-filters\">Using Filters to Organize Spam<\/h3>\n\n\n\n<p>In order to maximize the true power of SpamAssassin, we recommend you <a href=\"https:\/\/www.inmotionhosting.com\/support\/email\/setup-email-filters\/\">set up a Filter\/Message rule in your mail client<\/a>. Emails that are determined to be spam are still delivered to your inbox. Spam will begin with the subject line \u201c<em>SPAM<\/em>\u201c. By setting up filters in your email client you can sort the mail and have all messages labeled as spam placed into its folder for review later. This will keep junk mail out of your inbox. To learn how to set up filters in various email clients, please visit our guide on setting up email filters.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Blacklisting\/Whitelisting Email addresses in SpamAssassin<\/h3>\n\n\n<div class=\"imh-youtube-embed\">\n\t\t\t<iframe src=\"https:\/\/www.youtube.com\/embed\/FGSU22CJvH8\" title=\"How to Blacklist and Whitelist Email Addresses in SpamAssassin\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n\t\t\t<script type=\"application\/ld+json\">{\"@context\":\"https:\/\/schema.org\",\"@type\":\"VideoObject\",\"name\":\"How to Blacklist and Whitelist Email Addresses in SpamAssassin\",\"description\":\"This videos walk you through the process of Blacklisting and Whitelisting email addresses in Spam Assassin.\",\"uploadDate\":\"2015-04-12\",\"thumbnailUrl\":\"https:\/\/img.youtube.com\/vi\/FGSU22CJvH8\/hqdefault.jpg\"}<\/script>\n\t\t<\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"blacklist-filters\">How to Manage Blacklist Filters<\/h3>\n\n\n\n<p>An influx of unsolicited emails can be quite irritating. However, you can utilize SpamAssassin to help fight against spam. In particular, you can <strong>add email addresses to the Blacklist<\/strong> so that Spam Filters will classify messages from them as spam. In this guide, you can learn how to <strong>manage the SpamAssassin Blacklist<\/strong> using the <em>Spam Filters plugin for cPanel<\/em>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">View Blacklist<\/h4>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li>Log into cPanel.<\/li>\n\n\n\n<li>Click on the <strong>Spam Filters<\/strong> icon located in the <em>Email<\/em> section.<\/li>\n\n\n\n<li><a rel=\"lightbox-0\" href=\"\/support\/wp-content\/uploads\/2018\/09\/cpanel_v70_spam-filters_show-additional-configurations-link.png\"><img decoding=\"async\" title=\"Click to enlarge this screenshot image.\" width=\"200\" align=\"right\" class=\"std_ss alignright size-full wp-image-15922\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/09\/cpanel_v70_spam-filters_show-additional-configurations-link.png\" alt=\"Show Additional Configurations link displayed under the Additional Configurations (For Advanced Users) section.\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/09\/cpanel_v70_spam-filters_show-additional-configurations-link.png 448w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/09\/cpanel_v70_spam-filters_show-additional-configurations-link-300x86.png 300w\" sizes=\"(min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/a> <p>Under the <i>Additional Configurations (For Advanced Users)<\/i> section, click on <strong>Show Additional Configurations<\/strong> to expand the section. <b style=\"font-size: inherit;\">NOTE:<\/b><span style=\"font-size: inherit;\"> This section and its options will only appear when <\/span><a href=\"#enable-spamassassin\">SpamAssassin is enabled<\/a><span style=\"font-size: inherit;\">.<\/span><\/p> <\/li>\n\n\n\n<li> <p><span style=\"font-size: inherit; color: #1e1e1e;\">From the <\/span><em style=\"font-size: inherit; color: #1e1e1e;\">Blacklist (Emails Never Allowed)<\/em><span style=\"font-size: inherit; color: #1e1e1e;\"> section, click on the link labeled: <\/span><strong style=\"font-size: inherit; color: #1e1e1e;\">Edit Spam Blacklist Settings<\/strong><span style=\"font-size: inherit; color: #1e1e1e;\">.<\/span><\/p> <div style=\"clear: both;\">\u00a0<\/div> <\/li>\n<\/ol>\n\n\n\n<p>Now that you are familiar with where you can <em>view the Blacklist<\/em>, adding email addresses to the list is just a few clicks away. Follow along with the steps in the next section to learn how to <strong>add an email address to the Blacklist of SpamAssassin<\/strong>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Add Email Address<\/h4>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li>Log into cPanel and navigate to the Blacklist settings.<br><br><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"127\" class=\"wp-image-15929\" style=\"width: 500px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/09\/cpanel_v70_spam-filters_add-a-new-blacklist-from-item-link.png\" alt=\"Add A New blacklist_from Item link displayed.\"><br><\/li>\n\n\n\n<li> Click on the <strong style=\"font-size: revert; color: initial;\">Add A New \u201cblacklist_from\u201d Item<\/strong><span style=\"font-size: revert; color: initial;\"> link.<\/span> <br><br><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"110\" class=\"wp-image-15930\" style=\"width: 500px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/09\/cpanel_v70_spam-filters_blacklist-from-field.png\" alt=\"blacklist_from field displayed.\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/09\/cpanel_v70_spam-filters_blacklist-from-field.png 694w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/09\/cpanel_v70_spam-filters_blacklist-from-field-300x66.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><br><div style=\"clear: both;\">\u00a0<\/div> <\/li>\n\n\n\n<li> A <strong style=\"font-size: revert; color: initial;\">blacklist_from<\/strong><span style=\"font-size: revert; color: initial;\"> field will appear for you to enter the email address into. Repeat Step 2 and 3 for each email address you would like to add.<\/span> <div style=\"clear: both;\">\u00a0<\/div> <\/li>\n\n\n\n<li> Click the <strong style=\"font-size: revert; color: initial;\">Update Blacklist (blacklist_from)<\/strong><span style=\"font-size: revert; color: initial;\"> button to save your changes.<\/span> <div style=\"clear: both;\">\u00a0<\/div> <\/li>\n<\/ol>\n\n\n\n<p>Once you <em>add email addresses to your Blacklist<\/em> message from any of the email addresses listed within will be marked as spam by SpamAssassin. If you made an error or just want to <strong>remove an email address from the Blacklist<\/strong>, you can follow the steps in the section below.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Delete Email Address from Blacklist<\/h4>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li>Log into cPanel and navigate to the Blacklist settings.<\/li>\n\n\n\n<li><p>Click on the<strong> icon<\/strong> to the right on the <em>blacklist_from<\/em> field that contains the email address you would like to remove.<\/p><br><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"38\" class=\"wp-image-15932\" style=\"width: 500px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/09\/cpanel_v70_spam-filters_remove-blacklist_from-icon.png\" alt=\"Remove blacklist_from icon displayed.\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/09\/cpanel_v70_spam-filters_remove-blacklist_from-icon.png 694w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/09\/cpanel_v70_spam-filters_remove-blacklist_from-icon-300x23.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/> <div style=\"clear: both;\">\u00a0<\/div> <\/li>\n\n\n\n<li><p>Click the <strong>Update Blacklist (blacklist_from)<\/strong> button to save your changes.<\/p><img loading=\"lazy\" decoding=\"async\" width=\"250\" height=\"52\" class=\"wp-image-15931\" style=\"width: 250px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/09\/cpanel_v70_spam-filters_update-blacklist-blacklist_from-button.png\" alt=\"Update Blacklist blacklist_from button displayed.\"> <br><\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"whitelist-filters\">How to Manage Whitelist Filters<\/h3>\n\n\n\n<p>If you are expecting an email that you (based on your Spam Filters settings) think may be mistaken for spam, you can <strong>add the email address to a Whitelist<\/strong>. This will ensure that the message is not classified as spam. Here\u2019s how to <em>view the Whitelist Settings<\/em> along with how to <em>add and delete email addresses<\/em> to <strong>manage the SpamAssassin Whitelist<\/strong>.<\/p>\n\n\n\n<p><a name=\"view\"><\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">View Whitelist<\/h4>\n\n\n\n<p class=\"alert alert-info\"><strong>NOTE:<\/strong> This section and its options will only appear when <a href=\"#enable-spamassassin\">SpamAssassin is enabled<\/a>.<\/p>\n\n\n\n<ol class=\"article_list wp-block-list\"><li>Log into cPanel.<\/li><li>Click on the <strong>Spam Filters<\/strong> icon located in the <em>Email<\/em> section.<\/li><li>Under the <i style=\"font-size: inherit;\">Additional Configurations (For Advanced Users)<\/i><span style=\"font-size: inherit;\"> section, click on <\/span><strong style=\"font-size: inherit;\">Show Additional Configurations<\/strong><span style=\"font-size: inherit;\"> to expand the section.<\/span> <br><br><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"143\" class=\"wp-image-15922\" style=\"width: 500px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/09\/cpanel_v70_spam-filters_show-additional-configurations-link.png\" alt=\"Show Additional Configurations link displayed under the Additional Configurations (For Advanced Users) section.\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/09\/cpanel_v70_spam-filters_show-additional-configurations-link.png 448w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/09\/cpanel_v70_spam-filters_show-additional-configurations-link-300x86.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><br><\/li><li>From the <em>Whitelist (Emails Always Allowed)<\/em> section, click on the link labeled: <strong>Edit Spam Whitelist Settings<\/strong>.<div style=\"clear: both;\">\n\n\n\n<p>Now that you are familiar with where you can <em>view the Whitelist<\/em>, adding email addresses to the list is just a few clicks away. Follow along with the steps in the next section to learn how to <strong>add an email address to the Whitelist of SpamAssassin<\/strong>.<\/p>\n\n\n\n<p><a name=\"add\"><\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Add Email Address<\/h4>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li>Log into cPanel and navigate to the Whitelist settings.<\/li>\n\n\n\n<li> Click on the<strong style=\"font-size: inherit;\"> Add A New \u201cwhitelist_from\u201d Item<\/strong><span style=\"font-size: inherit;\"> link.<\/span> <div style=\"clear: both;\">\u00a0<\/div><img loading=\"lazy\" decoding=\"async\" width=\"350\" height=\"83\" class=\"wp-image-15924\" style=\"width: 350px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/09\/cpanel_v70_spam-filters_add-a-new-whitelist-from-item-link.png\" alt=\"Add A New whitelist_from Item link displayed.\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/09\/cpanel_v70_spam-filters_add-a-new-whitelist-from-item-link.png 305w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/09\/cpanel_v70_spam-filters_add-a-new-whitelist-from-item-link-300x71.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/> <br><\/li>\n\n\n\n<li>A <strong style=\"font-size: inherit;\">whitelist_from<\/strong><span style=\"font-size: inherit;\"> field will appear for you to enter the email address into. Repeat Step 2 and 3 for each email address you would like to add.<\/span><br><br><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"104\" class=\"wp-image-15925\" style=\"width: 500px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/09\/cpanel_v70_spam-filters_whitelist-from-field.png\" alt=\"whitelist_from field displayed.\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/09\/cpanel_v70_spam-filters_whitelist-from-field.png 712w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/09\/cpanel_v70_spam-filters_whitelist-from-field-300x62.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><br><\/li>\n\n\n\n<li>Click the <strong style=\"font-size: inherit;\">Update Whitelist (whitelist_from)<\/strong><span style=\"font-size: inherit;\"> button to save your changes.<\/span> <\/li>\n<\/ol>\n\n\n\n<p>Once you <em>add email addresses to your Whitelist<\/em> you should successfully receive messages from the specified email address(es) to your inbox and they should not be marked as spam. If you made an error or just want to <strong>remove an email address from the Whitelist<\/strong>, you can follow the steps in the section below.<\/p>\n\n\n\n<p><a name=\"delete\"><\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Delete Email Address from Whitelist<\/h4>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li>Log into cPanel and navigate to the Whitelist settings.<\/li>\n\n\n\n<li>Click on the<strong style=\"font-size: inherit;\"> icon<\/strong><span style=\"font-size: inherit;\"> to the right on the <\/span><em style=\"font-size: inherit;\">whitelist_from<\/em><span style=\"font-size: inherit;\"> field that contains the email address you would like to remove.<\/span> <br><br><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"29\" class=\"wp-image-15927\" style=\"width: 500px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/09\/cpanel_v70_spam-filters_remove-whitelist_from-icon.png\" alt=\"Remove whitelist_from icon displayed.\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/09\/cpanel_v70_spam-filters_remove-whitelist_from-icon.png 712w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/09\/cpanel_v70_spam-filters_remove-whitelist_from-icon-300x18.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><div style=\"clear: both;\">\u00a0<\/div> <\/li>\n\n\n\n<li> Click the <strong style=\"font-size: inherit;\">Update Whitelist (whitelist_from)<\/strong><span style=\"font-size: inherit;\"> button to save your changes.<\/span> <br><br><img loading=\"lazy\" decoding=\"async\" width=\"350\" height=\"68\" class=\"wp-image-15926\" style=\"width: 350px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2018\/09\/cpanel_v70_spam-filters_update-whitelist-whitelist_from-button.png\" alt=\"Update Whitelist whitelist_from button displayed.\"><br><div style=\"clear: both;\">\u00a0<\/div> <\/li>\n<\/ol>\n\n\n<div class=\"jumbotron\" style=\"text-align:center;\">\r\n<p style=\"font-size: 20px;\"><strong>Scalable VPS Infrastructure, Fully Managed<\/strong><\/p>\r\n<p>When shared hosting can't handle your traffic, VPS delivers dedicated resources that scale with demand. Our team manages the technical complexity while you manage your business.<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>NVMe Storage &nbsp;&nbsp; <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>High-Availability &nbsp;&nbsp; <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>Ironclad Security &nbsp;&nbsp; <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>Premium Support<\/p>\r\n<p><a class=\"btn btn-primary btn-lg\" href=\"https:\/\/www.inmotionhosting.com\/vps-hosting?mktgp=t&irgwc=1&affiliates=5001860&utm_campaign=Jumbotron&utm_source=supportcenter&utm_medium=cta&utm_term=vps-cta2\">VPS Hosting<\/a><\/p>\r\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"spamassassin-whm\">How to Enable\/Disable SpamAssassin in WHM<\/h2>\n\n\n\n<p>SpamAssassin is the primary application used to detect and mark incoming or outgoing spam emails for your cPanel-based VPS or Dedicated server. In some cases you may prefer to have it disabled; this is not recommended unless you are using a different solution to reduce or mark spam. Be aware that SpamAssassin can only be enabled account-wide. It cannot be specific to a created cPanel account.<\/p>\n\n\n\n<p class=\"alert alert-info\">Enabling or disabling Spam Assassin requires that you have <a href=\"https:\/\/www.inmotionhosting.com\/support\/server\/ssh\/root-access-faq\/\">root access<\/a>.<\/p>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/whm\/log-into-whm\/\">Login to the WHM<\/a>.<\/li>\n\n\n\n<li>Next, under the <i>Server Configuration<\/i> section click on <strong>Tweak Settings<\/strong>.<\/li>\n\n\n\n<li>Tweak Settings has a lot of settings that you can change, but the one we\u2019re looking for is under the <strong>MAIL<\/strong> tab. Click on the <strong>Mail<\/strong> tab to open the <strong>Mail<\/strong> options.<\/li>\n\n\n\n<li>Scroll down in the <strong>Mail<\/strong> options until you find <strong>Enable Apache Spam Assassin spam filter<\/strong>. In the column at right, click on <strong>ON<\/strong> to enable, or <strong>OFF<\/strong> to disable Apache SpamAssassin. <\/li>\n\n\n\n<li>When you have selected your choice, make sure that you click on the blue <strong>SAVE<\/strong> button at the bottom of the screen.<\/li>\n<\/ol>\n\n\n\n<p class=\"alert alert-info\">For more information on SpamAssassin, please see the <a href=\"https:\/\/spamassassin.apache.org\/doc.html\" target=\"_blank\" aria-label=\"official documentation (opens in a new tab)\" rel=\"noreferrer noopener\">official documentation<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"locate-activity\">How to Locate High Levels of SpamAssassin Activity<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"slow-server\">Can SpamAssassin Slow Down a Server?<\/h3>\n\n\n\n<p>While having SpamAssassin enabled for your users is a great option to help reduce the amount of spam that they deal with, if one particular user on your server is having an excessive amount of spam being processed for their account by SpamAssassin, it can lead to an increase in server demand.<\/p>\n\n\n\n<p>If one user on your server is filling out their email address on every marketing list they come across or placing their email address in public places, at some point they could be receiving hundreds if not thousands of spam messages a day. Trying to have your server handle all of these could possibly be causing websites to run a bit slower, or delay other users trying to access their own email.<\/p>\n\n\n\n<p class=\"alert alert-info\">Please note that in order to follow the steps below, you\u2019ll need to have root access to your VPS or dedicated server, so that you have access to the SpamAssassin logs.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"review-logs\">When Should I Review SpamAssassin Logs?<\/h3>\n\n\n\n<p>If you happen to have a <a href=\"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/create-server-load-monitoring-bash-script\/\">server load monitoring script<\/a> setup to email you when the load on your server is spiking, or if you\u2019ve reviewed our article on <a href=\"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/advanced-server-load-monitoring\/\">advanced server load monitoring<\/a> and noticed that your server\u2019s load is spiking at times, it would be good to review how often SpamAssassin is running for the accounts on your server.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"locate-users\">Locate Users with the Highest SpamAssassin Executions<\/h3>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li><a href=\"https:\/\/www.inmotionhosting.com\/support\/server\/ssh\/how-to-login-ssh\/\">Login to your server via SSH<\/a> as the root user.<\/li>\n\n\n\n<li>Run the following command:<br><pre>grep \"SpamAssassin as\" \/var\/log\/exim_mainlog | awk -F\"SpamAssassin as \" '{print $2}' |<br> awk '{print $1}' | sort | uniq -c | sort -n<\/pre> <p>\u00a0<\/p> <p><strong>Code breakdown:<\/strong><\/p> <table class=\"article_table\"> <tbody> <tr> <th style=\"width: 68%; padding: 15px;\">grep \u201cSpamAssassin as\u201d \/var\/log\/exim_mainlog<\/th> <td style=\"padding: 15px;\">Locate mentions of SpamAssassin in the Exim mail log.<\/td> <\/tr> <tr> <th style=\"width: 68%; padding: 15px;\">awk -F\u201dSpamAssassin as \u201d \u2018{print $2}\u2019 | awk \u2018{print $1}\u2019<\/th> <td style=\"padding: 15px;\">Use the <strong>awk<\/strong> command with the <strong>F<\/strong>ield seperator set to <strong>SpamAssassin as<\/strong> and print out the 2nd set of data following that. Then use <strong>awk<\/strong> again to only print out the first column of data (usernames).<\/td> <\/tr> <tr> <th style=\"width: 68%; padding: 15px;\">sort | uniq -c | sort -n<\/th> <td style=\"padding: 15px;\">Sort the users by name, then uniquely count them, and finally sort them numerically by lowest to highest.<\/td> <\/tr> <\/tbody> <\/table> <p>You should get back something like:<br><code>3783 unserna1<br> 4339 userna6<br> 5111 userna3<br> 6588 userna5<\/code><\/p> <p>So now we know that the <strong>userna5<\/strong> user has had SpamAssassin run on at least <strong>6,588<\/strong> emails.<\/p> <\/li>\n\n\n\n<li>Now we can take a look to see how often this user is having to have SpamAssassin scan messages with the following command:<br><pre>grep \"SpamAssassin as userna5\" \/var\/log\/exim_mainlog | sed -e 's#-# #g' -e 's#:# #g' |<br> awk '{print $1\"-\"$2\"-\"$3,$4}' | uniq -c<\/pre><br><strong>Code breakdown:<\/strong> <p>\u00a0<\/p> <table class=\"article_table\"> <tbody> <tr> <th style=\"width: 68%; padding: 15px;\">grep \u201cSpamAssassin as userna5\u201d \/var\/log\/exim_mainlog<\/th> <td style=\"padding: 15px;\">Locate mentions of SpamAssassin in the Exim mail log for the user <strong>userna5<\/strong> who had the highest amount of messages.<\/td> <\/tr> <tr> <th style=\"width: 68%; padding: 15px;\">sed -e \u2018s#-# #g\u2019 -e \u2018s#:# #g\u2019<\/th> <td style=\"padding: 15px;\">Use the <strong>sed<\/strong> command to replace the hyphens <strong>\u2013<\/strong> and the colons <strong>:<\/strong> that appear in the time stamps for the Exim mail log.<\/td> <\/tr> <tr> <th style=\"width: 68%; padding: 15px;\">awk \u2018{print $1\u2033-\u201c$2\u201d-\u201c$3,$4}\u2019<\/th> <td style=\"padding: 15px;\">Use the <strong>awk<\/strong> command to print out the dates and just the hour column.<\/td> <\/tr> <tr> <th style=\"width: 68%; padding: 15px;\">uniq -c<\/th> <td style=\"padding: 15px;\">Uniquely count up the time stamps, to see how many times SpamAssassin had to run each hour.<\/td> <\/tr> <\/tbody> <\/table> <p>You should get back something like:<\/p> <p><code>15 2013-01-16 00<br> 25 2013-01-16 01<br> 28 2013-01-16 02<br> 31 2013-01-16 03<br> 32 2013-01-16 04<br> 26 2013-01-16 05<br> 40 2013-01-16 06<br> 70 2013-01-16 07<br> 126 2013-01-16 08<br> 117 2013-01-16 09<br> 154 2013-01-16 10<br> 183 2013-01-16 11<br> 186 2013-01-16 12<br> 155 2013-01-16 13<br> 128 2013-01-16 14<br> 145 2013-01-16 15<br> 69 2013-01-16 16<br> <\/code><\/p> <p>So that\u2019s about <strong>1,530<\/strong> times that SpamAssassin had to run today for that one user, and you can see that during some hours it had to run as many as 186 times.<\/p> <\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"why-label-spam\">Why Does SpamAssassin Label my Email as Spam?<\/h2>\n\n\n\n<p>SpamAssassin is an application that tests email messages in order to see if they are defined as spam or not. It performs hundreds of tests on the messages and will assign a score to the message. This score can then be used by applications in order to filter emails so that only the relevant messages get through to the user. The following article briefly lists the tests run by SpamAssassin, explains how to lower your spam score and avoid false positives, and also aids in understanding the Spam scores.<\/p>\n\n\n\n<p>This information should prove helpful to you if you are attempting to send an email to a server using SpamAssassin, or if your outbound email is being flagged as spam before it is sent. Other spam monitoring software will generally work along similar lines, but this can vary greatly from software to software and company to company. When in doubt, check directly with the relevant software\u2019s documentation. <\/p>\n\n\n\n<p>Please keep in mind that the classification of email as spam or not-spam is the responsibility of the recipient\u2019s email administrator and based on their server\u2019s anti-spam settings \u2014 you cannot \u2018force\u2019 your email through. Attempting to do so is likely to make a message seem even more like spam! Keeping your email from \u2018sounding spammy\u2019 is an ongoing process and you <strong>must<\/strong> constantly adjust to remain in compliance with industry best practices as they change and adapt. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"how-determine\">How Does SpamAssassin Determine that Email is Spam?<\/h3>\n\n\n\n<p>SpamAssassin checks many variables within an email in order to determine the spam score. A user can also change the settings that SpamAssassin uses in order to determine if an email will score as spam or not. The number and complexity of the tests are so numerous that it can be difficult to understand why an email was given a particular score.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"lower-your-score\">How to Lower Your SpamAssassin Score<\/h3>\n\n\n\n<p>The main thing is to make sure that your email does not fall into the definition of being spam. Here are some common issues and items that should be included in your email as defined by the <a href=\"https:\/\/www.gpo.gov\/fdsys\/pkg\/PLAW-108publ187\/pdf\/PLAW-108publ187.pdf\" target=\"_blank\" aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener\">CAN-SPAM Act of 2003 (section 5)<\/a>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Provide an indication that the email is an advertisement<\/li>\n\n\n\n<li>Include a type of return email address that allows the recipient to opt-out<\/li>\n\n\n\n<li>Email includes a clear notice that there is an option to opt-out<\/li>\n\n\n\n<li>Email is not sent after a recipient had sent notice that they wish to no longer receive the email<\/li>\n\n\n\n<li>Email contains a valid, physical address.<\/li>\n<\/ul>\n\n\n\n<p>Your email should <em>not<\/em> include the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>False or misleading information in the header<\/li>\n\n\n\n<li>False or misleading information in the subject line<\/li>\n<\/ul>\n\n\n\n<p>Other great sources of information that would help to keep your email from being labeled as spam or generating a false positive result include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/cwiki.apache.org\/confluence\/display\/spamassassin\/StopBlockingMyMail\" target=\"_blank\" aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener\">Stop Blocking My Mail<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/cwiki.apache.org\/confluence\/display\/spamassassin\/FrequentlyAskedQuestions\" target=\"_blank\" aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener\">Frequently Asked Questions \u2013 SpamAssassin<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/cwiki.apache.org\/confluence\/display\/spamassassin\/AvoidingFpsForSenders\" target=\"_blank\" aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener\">Avoiding False Positives<\/a><\/li>\n<\/ul>\n\n\n\n<p>Another option to help in keeping your email from being labeled as spam is to use <a rel=\"noopener\" href=\"\/support\/email\/spf-records-domain-keys-combating-spam\/\" target=\"new\">Do<\/a><a aria-label=\"m (opens in a new tab)\" href=\"https:\/\/www.inmotionhosting.com\/support\/email\/spf-records-domain-keys-combating-spam\/\" rel=\"noreferrer noopener\">m<\/a><a href=\"https:\/\/www.inmotionhosting.com\/support\/email\/spf-records-domain-keys-combating-spam\/\">ain Keys<\/a>. The Domain Key is an e-mail authentication system that allows for incoming mail to be checked against the server it was sent from to verify that the mail has not been modified. This verifies that the email is coming from the listed sender and allows abusive messages to be tracked with more ease.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"x-spam-scores\">Understanding X-Spam Scores<\/h3>\n\n\n\n<p>Reading the X-Spam scores in the header of an email can definitely appear to be difficult. When you become familiar with the sections of the header, it becomes much easier to identify the portions that deal with SpamAssassin. Here are some of the headers that will give you information on how SpamAssassin judged the email:<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<figure class=\"wp-block-table article_table is-style-stripes\"><table class=\"has-fixed-layout\"><tbody><tr><th>X-Spam-Score<\/th><td>This is the numerical value assigned to the email by SpamAssassin based on its rating the email to be possible spam. Generally, the higher the number, the more that it is considered spam. The lower the number, the more that is considered a legitimate email or not spam.<\/td><\/tr><tr><th>X-Spam-Flag<\/th><td>This is typically either <b>YES<\/b> or <b>NO<\/b>; generally, a YES will indicate a SPAM message and NO a non-spam message.<\/td><\/tr><tr><th>X-Spam-Report<\/th><td>This report will typically either give an explanation of the spam identification provide a summary of the flags that the message triggered that mark it as spam.<\/td><\/tr><tr><th>X-Spam-Bar<\/th><td>This will either be a \u201c-\u201d indicating a non-spam email, or a number of \u201c+\u201d signs indicating how strongly SpamAssassin identified the email as spam.<\/td><\/tr><tr><th>X-Spam-Status<\/th><td>This is visible when a mail client is configured to show full headers. Can also contain a yes\/no value indicating if it is spam, the total score for the message, the score required for a message to be classed as spam, version of SpamAssassin used. For the complete list, go to the <a aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener\" href=\"https:\/\/cwiki.apache.org\/confluence\/display\/SPAMASSASSIN\/X+Spam+Status\" target=\"_blank\">definition of X-Spam-Status<\/a>.<\/td><\/tr><\/tbody><\/table><\/figure>\n<\/div>\n<\/div>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"imh-central\">Platform i: Using SpamAssassin <\/h2>\n\n\n\n<p>SpamAssassin is present with Platform i accounts through cPanel.  The main difference is a few steps starting with the login to Platform i.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"imh-central-adjusting-threshold\">Adjusting the Spam Threshold Score<\/h3>\n\n\n\n<p>The Platform i dashboard manages emails through the cPanel interface.\u00a0 Follow the steps below to change the <strong>Spam Threshold Score<\/strong> that helps to determine how emails are marked as spam.<\/p>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li>\u00a0<a href=\"https:\/\/central.inmotionhosting.com\/\">Log into <strong>InMotionCentral<\/strong> <\/a>and click on <strong>Emails<\/strong>.<br><br><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"367\" class=\"wp-image-95479\" style=\"width: 1000px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/imh-central-main-1.jpg\" alt=\"IMH Central login and click manage emails\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/imh-central-main-1.jpg 1340w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/imh-central-main-1-300x110.jpg 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/imh-central-main-1-1024x376.jpg 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/imh-central-main-1-768x282.jpg 768w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><br><br><\/li>\n\n\n\n<li>\u00a0Click on <strong>Manage Email Accounts<\/strong>.\u00a0 This will open cPanel.<br><\/li>\n\n\n\n<li>\u00a0Click on <strong>Spam Filters<\/strong>.<br><br><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"496\" class=\"wp-image-95480\" style=\"width: 1000px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/cpanel-screen-select-spam-filters.jpg\" alt=\"Select Spam Filters in cPanel\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/cpanel-screen-select-spam-filters.jpg 1920w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/cpanel-screen-select-spam-filters-300x149.jpg 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/cpanel-screen-select-spam-filters-1024x508.jpg 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/cpanel-screen-select-spam-filters-768x381.jpg 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/cpanel-screen-select-spam-filters-1536x762.jpg 1536w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li>\n\n\n\n<li>\u00a0When you\u2019re on the <strong>Adjust Spam Threshold Score<\/strong> you will see an explanation of how the score works and a drop-down menu to select a score.\u00a0 Basically, the lower the score, the more emails will be flagged as spam.\u00a0 A higher score means fewer emails will be marked as spam. Click on the drop-down menu to see the options that you can select.<br><br><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"449\" class=\"wp-image-95482\" style=\"width: 1000px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/spam-threshold-options.jpg\" alt=\"Adjust Spam Threshold score\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/spam-threshold-options.jpg 900w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/spam-threshold-options-300x135.jpg 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/spam-threshold-options-768x345.jpg 768w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/>\n\n\n<p><br>Here you will see each number marked with a description to help you choose how aggressive or passive you will want to make the spam filter.<br><br>You will also have an option called <strong>Custom<\/strong> that allows you simply type in a number.\u00a0 The default score is 5.\u00a0 To make the spam filter less aggressive, choose 8, or select <strong>Custom<\/strong> and type in a number higher than 5.<\/p>\n<\/li>\n<\/ol>\n\n\n\n<p>Remember that the Spam Threshold Score only determines how emails are FLAGGED as spam.\u00a0 Emails marked spam will not be deleted unless that option is set in the Spam Filters section.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"imh-central-whitelisting\">Whitelisting Emails<\/h3>\n\n\n\n<p><br>The other way that you can stop incoming emails from being flagged as spam is to whitelist a domain or specific email address. Whitelisted domains or emails will not be filtered as spam.<\/p>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li><a href=\"https:\/\/central.inmotionhosting.com\/login\" target=\"_blank\" rel=\"noreferrer noopener\">Login to Platform i<\/a>, then click on <strong>Emails<\/strong>.<br><br><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"367\" class=\"wp-image-95479\" style=\"width: 1000px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/imh-central-main-1.jpg\" alt=\"IMH Central login and click manage emails\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/imh-central-main-1.jpg 1340w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/imh-central-main-1-300x110.jpg 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/imh-central-main-1-1024x376.jpg 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/imh-central-main-1-768x282.jpg 768w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><br><\/li>\n\n\n\n<li>Click on <strong>Manage Email Accounts<\/strong> to get to the cPanel.<br><\/li>\n\n\n\n<li>Click on <strong>Spam Filters.<br><\/strong><\/li>\n\n\n\n<li>When you\u2019re on the <strong>Spam Filters<\/strong> page scroll to the bottom and click on <strong>Show Additional Configurations<\/strong>.<br><br><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"496\" class=\"wp-image-95483\" style=\"width: 1000px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/show-addl-config.jpg\" alt=\"Click on Show Additional Configurations\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/show-addl-config.jpg 1920w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/show-addl-config-300x149.jpg 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/show-addl-config-1024x508.jpg 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/show-addl-config-768x381.jpg 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/show-addl-config-1536x762.jpg 1536w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><br><\/li>\n\n\n\n<li>The first option that will appear in the additional configurations will be the option for whitelisting emails.\u00a0Click on the link labeled <strong>Edit Spam Whitelist Settings<\/strong>.<br><br><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"358\" class=\"wp-image-95484\" style=\"width: 1000px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/addl-config-click-whitelist.jpg\" alt=\"Additional Config - click Edit Whitelist\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/addl-config-click-whitelist.jpg 1920w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/addl-config-click-whitelist-300x107.jpg 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/addl-config-click-whitelist-1024x366.jpg 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/addl-config-click-whitelist-768x275.jpg 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/addl-config-click-whitelist-1536x550.jpg 1536w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><br><\/li>\n\n\n\n<li>When you open the Whitelist page, you\u2019ll see the option labeled <strong>+ Add A New \u201cwhitelist_from\u201d item<\/strong>.\u00a0Type in the email address to whitelist. If you want to whitelist a domain, then add it in this format:\u00a0@example.com.<br><br><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"496\" class=\"wp-image-95485\" style=\"width: 1000px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/add-whitelist-item.jpg\" alt=\"Add item to Whitelist\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/add-whitelist-item.jpg 1920w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/add-whitelist-item-300x149.jpg 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/add-whitelist-item-1024x508.jpg 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/add-whitelist-item-768x381.jpg 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/03\/add-whitelist-item-1536x762.jpg 1536w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><br><\/li>\n\n\n\n<li>When you\u2019ve finished adding the email address or domain, click on <strong>+Add A New \u201cwhitelist_from\u201d item<\/strong> to add another item.\u00a0Or, click on the <strong>Update Whitelist (whitelist_from) <\/strong>button to save your whitelisted item.<\/li>\n<\/ol>\n\n\n\n<p><br>It\u2019s recommended that you do not whitelist your domain as some spammers can take advantage of that and impersonate your domain for spam delivery.\u00a0\u00a0<\/p>\n\n\n\n<p>We hope that the above guides have helped you understand cPanel\u2019s Spam Filters, SpamAssassin, and various techniques to improve your email administration. For more information on how to be an email administrator, please <a href=\"https:\/\/www.inmotionhosting.com\/support\/email\/\">take a look at our email tutorials<\/a>!<\/p>\n<\/div><\/li><\/ol>","protected":false},"excerpt":{"rendered":"<p>You just want to run a website and make the most of your business\u2019s email address, but managing spam is starting to feel like a full-time job. Sound familiar? It seems that no matter what we try, the world\u2019s \u2018spam artists\u2019 find new ways to annoy us. If you have never managed your own email<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/email\/spamassassin-fighting-spam\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57014,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-982","post","type-post","status-publish","format-standard","hentry","category-email"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>SpamAssassin: Fighting Spam | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"In this article we will explain what SpamAssassin is, and how to fight Spam with this free utility in your cPanel account\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/email\/spamassassin-fighting-spam\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SpamAssassin: Fighting Spam | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"In this article we will explain what SpamAssassin is, and how to fight Spam with this free utility in your cPanel account\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/email\/spamassassin-fighting-spam\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-03-29T20:30:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-22T16:16:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/11\/SpamAssassin-Fighting-Spam.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"26 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/email\/spamassassin-fighting-spam\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/email\/spamassassin-fighting-spam\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\"},\"headline\":\"SpamAssassin: Fighting Spam\",\"datePublished\":\"2021-03-29T20:30:00+00:00\",\"dateModified\":\"2026-01-22T16:16:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/email\/spamassassin-fighting-spam\/\"},\"wordCount\":4915,\"commentCount\":46,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/email\/spamassassin-fighting-spam\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/11\/SpamAssassin-Fighting-Spam-1024x538.png\",\"articleSection\":[\"Email\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/email\/spamassassin-fighting-spam\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/email\/spamassassin-fighting-spam\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/email\/spamassassin-fighting-spam\/\",\"name\":\"SpamAssassin: Fighting Spam | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/email\/spamassassin-fighting-spam\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/email\/spamassassin-fighting-spam\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/11\/SpamAssassin-Fighting-Spam-1024x538.png\",\"datePublished\":\"2021-03-29T20:30:00+00:00\",\"dateModified\":\"2026-01-22T16:16:44+00:00\",\"description\":\"In this article we will explain what SpamAssassin is, and how to fight Spam with this free utility in your cPanel account\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/email\/spamassassin-fighting-spam\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/email\/spamassassin-fighting-spam\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/email\/spamassassin-fighting-spam\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/11\/SpamAssassin-Fighting-Spam.png\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/11\/SpamAssassin-Fighting-Spam.png\",\"width\":1200,\"height\":630},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/email\/spamassassin-fighting-spam\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SpamAssassin: Fighting Spam\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SpamAssassin: Fighting Spam | InMotion Hosting","description":"In this article we will explain what SpamAssassin is, and how to fight Spam with this free utility in your cPanel account","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/email\/spamassassin-fighting-spam\/","og_locale":"en_US","og_type":"article","og_title":"SpamAssassin: Fighting Spam | InMotion Hosting","og_description":"In this article we will explain what SpamAssassin is, and how to fight Spam with this free utility in your cPanel account","og_url":"https:\/\/www.inmotionhosting.com\/support\/email\/spamassassin-fighting-spam\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2021-03-29T20:30:00+00:00","article_modified_time":"2026-01-22T16:16:44+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/11\/SpamAssassin-Fighting-Spam.png","type":"image\/png"}],"author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"26 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/email\/spamassassin-fighting-spam\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/email\/spamassassin-fighting-spam\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644"},"headline":"SpamAssassin: Fighting Spam","datePublished":"2021-03-29T20:30:00+00:00","dateModified":"2026-01-22T16:16:44+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/email\/spamassassin-fighting-spam\/"},"wordCount":4915,"commentCount":46,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/email\/spamassassin-fighting-spam\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/11\/SpamAssassin-Fighting-Spam-1024x538.png","articleSection":["Email"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/email\/spamassassin-fighting-spam\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/email\/spamassassin-fighting-spam\/","url":"https:\/\/www.inmotionhosting.com\/support\/email\/spamassassin-fighting-spam\/","name":"SpamAssassin: Fighting Spam | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/email\/spamassassin-fighting-spam\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/email\/spamassassin-fighting-spam\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/11\/SpamAssassin-Fighting-Spam-1024x538.png","datePublished":"2021-03-29T20:30:00+00:00","dateModified":"2026-01-22T16:16:44+00:00","description":"In this article we will explain what SpamAssassin is, and how to fight Spam with this free utility in your cPanel account","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/email\/spamassassin-fighting-spam\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/email\/spamassassin-fighting-spam\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/email\/spamassassin-fighting-spam\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/11\/SpamAssassin-Fighting-Spam.png","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/11\/SpamAssassin-Fighting-Spam.png","width":1200,"height":630},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/email\/spamassassin-fighting-spam\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"SpamAssassin: Fighting Spam"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":{"id":4,"name":"Email","slug":"email","link":"https:\/\/www.inmotionhosting.com\/support\/email\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/982","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/57014"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=982"}],"version-history":[{"count":23,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/982\/revisions"}],"predecessor-version":[{"id":131521,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/982\/revisions\/131521"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=982"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=982"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=982"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}