{"id":82,"date":"2016-01-12T15:38:09","date_gmt":"2016-01-12T15:38:09","guid":{"rendered":"http:\/\/wp-p3d2tsa2xh.pairsite.com\/?p=82"},"modified":"2026-03-10T10:45:44","modified_gmt":"2026-03-10T14:45:44","slug":"e-mail-junk-e-mail-filtering-advanced-options","status":"publish","type":"ht_kb","link":"https:\/\/www.pair.com\/support\/kb\/e-mail-junk-e-mail-filtering-advanced-options\/","title":{"rendered":"Junk Email Filtering: Advanced Options"},"content":{"rendered":"\n<p><span class=\"s1\"><a style=\"color:#fff; text-decoration:none!important;\" href=\"https:\/\/www.pair.com\/support\/kb\/tags\/shared-hosting\/\"><p style=\"background-color:#1a3d6e !important;color:#fff;padding:6px; display:inline-block!important;font-size:12px;font-weight:bold; border-radius:3px;\">Shared<\/p><\/a> <a style=\"color:#fff; text-decoration:none!important;\" href=\"https:\/\/www.pair.com\/support\/kb\/tags\/vps\/\"><p style=\"background-color:#1a3d6e !important;color:#fff;padding:6px; display:inline-block!important;font-size:12px;font-weight:bold; border-radius:3px;\">VPS<\/p><\/a> <a style=\"color:#fff; text-decoration:none!important;\" href=\"https:\/\/www.pair.com\/support\/kb\/tags\/qs-dedicated\/\"><p style=\"background-color:#1a3d6e !important;color:#fff;padding:6px; display:inline-block!important;font-size:12px; font-weight:bold; border-radius:3px;\">Dedicated<\/p><\/a> <a style=\"color:#fff; text-decoration:none!important;\" href=\"https:\/\/www.pair.com\/support\/kb\/tags\/wp-professional-plus\/\"><p style=\"background-color:#1a3d6e !important;color:#fff !important;padding:6px; display:inline-block!important;font-size:12px;font-weight:bold; border-radius:3px;\">WP Professional Plus<\/p><\/a> <\/span><\/p>\n\n\n\n<p><span class=\"s1\"><\/span><\/p>\n\n\n    \t\t<div class=\"hts-messages hts-messages--info   hts-messages--withicon \"   >\r\n    \t\t\t    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tWP Enthusiast and WP Professional hosting accounts can use this tutorial if the <a href=\"https:\/\/www.pair.com\/support\/kb\/adding-and-disabling-e-mail-service-for-wp-hosting\/\"><span class=\"s2\">Email Add On<\/span><\/a> has been enabled.    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n\n\n\n<p>This article describes our advanced junk email filtering options. If you haven't already, please first read the <a href=\"https:\/\/www.pair.com\/support\/kb\/e-mail-junk-e-mail-filtering-overview\/\">Junk Email Filtering Overview<\/a>.<\/p>\n\n\n\n<p>If you've already enabled junk email filtering and just need to set up your email reader, please read <a href=\"https:\/\/www.pair.com\/support\/kb\/e-mail-junk-e-mail-filtering-and-your-e-mail-reader\/\">Junk Email Filtering And Your Email Reader<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">DNSBLs<\/h3>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-danger\">Please do not enable this option unless you are completely familiar with DNSBLs and the implications of using this option. This option is not recommended for inexperienced users.<\/p>\n\n\n\n<p>A DNSBL, or DNS Blackhole List, is a service that maintains a list of sites believed to be responsible for large volumes of junk email. You can choose to have your email checked against DNSBLs for determining a SpamAssassin junk email score. SpamAssassin uses a scoring system to determine which email messages are junk and which are legitimate. Our DNSBL option provides strong IP and server reputation-based filtering by using a mix of proprietary and industry blocklist, like the Invaluement blocklist and others.<\/p>\n\n\n\n<p>Choose the tutorial that reflects your ACC interface type:&nbsp;<\/p>\n\n\n\n<ul>\n<li><a href=\"#if-you-are-using-the-legacy-interface\">Legacy Interface<\/a><\/li>\n\n\n\n<li><a href=\"#if-you-are-using-the-new-acc-interface\">New ACC Interface<\/a><\/li>\n<\/ul>\n\n\n\n<p>Not sure what the difference is? See<a href=\"http:\/\/pair.com\/support\/kb\/which-acc-interface-am-i-using\/\"> Which ACC Interface Am I Using?&nbsp;<\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">If you are using the Legacy Interface:<\/h4>\n\n\n\n<p>You can enable the DNSBLs that SpamAssassin uses for junk email scoring. <\/p>\n\n\n\n<p><em>Please do not enable this option unless you are completely familiar with DNSBLs and the implications of using this option. This option is not recommended for inexperienced users.<\/em><\/p>\n\n\n\n<ol>\n<li>Log in to the Account Control Center (<a href=\"https:\/\/my.pair.com\">https:\/\/my.pair.com<\/a>).<\/li>\n\n\n\n<li>Click <strong>E-Mail<\/strong>.<\/li>\n\n\n\n<li>Click <strong>Manage Junk E-Mail Filter Settings<\/strong>.<\/li>\n\n\n\n<li>Click <strong>Junk E-Mail Filtering Options for Advanced Users<\/strong>.<\/li>\n\n\n\n<li>Select <strong>Use SpamAssassin DNSBLs for junk e-mail filtering scoring<\/strong>.<\/li>\n\n\n\n<li>Click <strong>Commit Changes<\/strong>.<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\">If you are using the New ACC interface:<\/h4>\n\n\n\n<p><em>Please do not enable this option unless you are completely familiar with DNSBLs and the implications of using this option. This option is not recommended for inexperienced users.<\/em><\/p>\n\n\n\n<ol>\n<li>Log in to the Account Control Center at <a href=\"https:\/\/my.pair.com\/\">my.pair.com<\/a><\/li>\n\n\n\n<li>In the <em>Account Email Settings<\/em> section, find <strong>Junk Email Filter Settings<\/strong> and click its <strong>Edit <\/strong>button<\/li>\n\n\n\n<li>Click the <strong>More junk email filtering options\u2026<\/strong> button<\/li>\n\n\n\n<li>Click the <strong>Junk Email Filtering Options for Advanced Users<\/strong> button<\/li>\n\n\n\n<li>Toggle on the <strong>Reject email from DNSBL-listed IP addresses or that contain DBSL-listed links<\/strong> option<\/li>\n\n\n\n<li>Click the <strong>Save Junk Email Filtering Options<\/strong> button<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Bayesian Filtering<\/h3>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-danger\"><em>Only available on VPS, Dedicated, and legacy Shared hosting plans.\u00a0<\/em><\/p>\n\n\n\n<p>A Bayesian Filter works by studying the words found in normal and junk email. It uses this analysis to determine the probability that future emails are junk by looking at the words they contain.<\/p>\n\n\n\n<p>Bayesian Filtering can also be enabled in the Email Management section of the Account Control Center on the \"Junk E-Mail Filtering Settings for Advanced Users\" page.<\/p>\n\n\n\n<p>The filter will not begin to affect the scores of scanned emails until it has already learned from 200 junk emails and 200 regular emails. Emails with especially high or low scores are learned automatically, but the process may take several weeks before the filter becomes active.<\/p>\n\n\n\n<p>If you have files containing junk or regular emails you wish the filter to learn, you may connect via <a href=\"\/support\/knowledge_base\/the_basics\/connecting_with_ssh.html\">SSH<\/a> and use the sa-learn command:<\/p>\n\n\n\n<p>To learn a file of junk email messages, use:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sa-learn --spam --mbox <i>filename<\/i>\n<\/pre>\n\n\n\n<p>To learn a file of regular email messages, use:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"> sa-learn --ham --mbox <i>filename<\/i>\n<\/pre>\n\n\n\n<p>For a complete list of options, run:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"> sa-learn --help<\/pre>\n\n\n\n<p>Email files being learned must be less than 30MB in size. Be sure to remove any email that has already been learned before sending the file to sa-learn -- these email messages will not be learned again but will still count toward the Bayesian Filtering limit.<\/p>\n\n\n\n<p>The system transfers email files to the email filtering server for Bayesian Filtering learning every 20 minutes.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Custom Preferences File<\/h3>\n\n\n\n<p>In addition to the SpamAssassin preferences file created by your choices in the Account Control Center, you can keep a preference file in your home directory. This file should be named user_prefs and located in the directory \/usr\/home\/username\/.spamassassin\/. The maximum size for your customer preferences file is 15k.<\/p>\n\n\n\n<p>Useful uses for this file include:<\/p>\n\n\n\n<ul>\n<li>Setting a custom score for mail to be considered junk:\n<pre>required_score 9.5\n<\/pre>\n<\/li>\n\n\n\n<li>Disabling certain rules:\n<pre>score SOME_RULE 0\n<\/pre>\n<\/li>\n\n\n\n<li>Allowlisting\/blocklisting addresses: <pre>whitelist_from janedoe@example.com blacklist_from junkmailer@example.net This is especially useful for uploading large lists or dynamically maintaining the list. NOTE: When working with the raw configuration file, * must be used as a wild-card character. For instance, use *@example.com to block all mail from example.com.<span style=\"color: rgb(0, 0, 0); font-family: serif; font-size: medium;\"> <\/span><\/pre><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Additional Resources:<\/h3>\n\n\n\n<ul>\n<li><a href=\"https:\/\/www.pair.com\/support\/kb\/e-mail-junk-e-mail-filtering-overview\/\">Junk Email Filtering Overview<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.pair.com\/support\/kb\/e-mail-junk-e-mail-filtering-and-your-e-mail-reader\/\">Junk Email Filtering And Your Email Reader<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/www.spamassassin.org\">SpamAssassin<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This article describes our advanced junk email filtering options. If you haven&#8217;t already, please first read the Junk Email Filtering Overview. If you&#8217;ve already enabled junk email filtering and just need to set up your email reader, please read Junk Email Filtering And Your Email Reader. DNSBLs A DNSBL, or&#8230;<\/p>\n","protected":false},"author":12,"comment_status":"closed","ping_status":"open","template":"","format":"standard","meta":[],"ht-kb-category":[6],"ht-kb-tag":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Junk Email Filtering: Advanced Options - Knowledge Base - Pair Networks<\/title>\n<meta name=\"description\" content=\"This article describes our advanced junk email filtering options. Learn about DNSBL, invaluement DNSBL, and Bayesian Filtering.\" \/>\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.pair.com\/support\/kb\/e-mail-junk-e-mail-filtering-advanced-options\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Junk Email Filtering: Advanced Options - Knowledge Base - Pair Networks\" \/>\n<meta property=\"og:description\" content=\"This article describes our advanced junk email filtering options. Learn about DNSBL, invaluement DNSBL, and Bayesian Filtering.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pair.com\/support\/kb\/e-mail-junk-e-mail-filtering-advanced-options\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base - Pair Networks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/pairnetworks\/\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-10T14:45:44+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@pairNetworks\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/e-mail-junk-e-mail-filtering-advanced-options\/\",\"url\":\"https:\/\/www.pair.com\/support\/kb\/e-mail-junk-e-mail-filtering-advanced-options\/\",\"name\":\"Junk Email Filtering: Advanced Options - Knowledge Base - Pair Networks\",\"isPartOf\":{\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#website\"},\"datePublished\":\"2016-01-12T15:38:09+00:00\",\"dateModified\":\"2026-03-10T14:45:44+00:00\",\"description\":\"This article describes our advanced junk email filtering options. Learn about DNSBL, invaluement DNSBL, and Bayesian Filtering.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.pair.com\/support\/kb\/e-mail-junk-e-mail-filtering-advanced-options\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.pair.com\/support\/kb\/e-mail-junk-e-mail-filtering-advanced-options\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/e-mail-junk-e-mail-filtering-advanced-options\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.pair.com\/support\/kb\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Junk Email Filtering: Advanced Options\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#website\",\"url\":\"https:\/\/www.pair.com\/support\/kb\/\",\"name\":\"Knowledge Base - Pair Networks\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.pair.com\/support\/kb\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#organization\",\"name\":\"Pair Networks\",\"url\":\"https:\/\/www.pair.com\/support\/kb\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2022\/02\/Gb_TUkUE_400x400.jpeg\",\"contentUrl\":\"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2022\/02\/Gb_TUkUE_400x400.jpeg\",\"width\":360,\"height\":360,\"caption\":\"Pair Networks\"},\"image\":{\"@id\":\"https:\/\/www.pair.com\/support\/kb\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/pairnetworks\/\",\"https:\/\/twitter.com\/pairNetworks\",\"https:\/\/www.instagram.com\/pairnetworks\/\",\"https:\/\/www.linkedin.com\/company\/2269676\/\",\"https:\/\/www.pinterest.com\/pairnetworksinc\/pins\/\",\"https:\/\/www.youtube.com\/user\/pairnetworks\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Junk Email Filtering: Advanced Options - Knowledge Base - Pair Networks","description":"This article describes our advanced junk email filtering options. Learn about DNSBL, invaluement DNSBL, and Bayesian Filtering.","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.pair.com\/support\/kb\/e-mail-junk-e-mail-filtering-advanced-options\/","og_locale":"en_US","og_type":"article","og_title":"Junk Email Filtering: Advanced Options - Knowledge Base - Pair Networks","og_description":"This article describes our advanced junk email filtering options. Learn about DNSBL, invaluement DNSBL, and Bayesian Filtering.","og_url":"https:\/\/www.pair.com\/support\/kb\/e-mail-junk-e-mail-filtering-advanced-options\/","og_site_name":"Knowledge Base - Pair Networks","article_publisher":"https:\/\/www.facebook.com\/pairnetworks\/","article_modified_time":"2026-03-10T14:45:44+00:00","twitter_card":"summary_large_image","twitter_site":"@pairNetworks","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.pair.com\/support\/kb\/e-mail-junk-e-mail-filtering-advanced-options\/","url":"https:\/\/www.pair.com\/support\/kb\/e-mail-junk-e-mail-filtering-advanced-options\/","name":"Junk Email Filtering: Advanced Options - Knowledge Base - Pair Networks","isPartOf":{"@id":"https:\/\/www.pair.com\/support\/kb\/#website"},"datePublished":"2016-01-12T15:38:09+00:00","dateModified":"2026-03-10T14:45:44+00:00","description":"This article describes our advanced junk email filtering options. Learn about DNSBL, invaluement DNSBL, and Bayesian Filtering.","breadcrumb":{"@id":"https:\/\/www.pair.com\/support\/kb\/e-mail-junk-e-mail-filtering-advanced-options\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pair.com\/support\/kb\/e-mail-junk-e-mail-filtering-advanced-options\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.pair.com\/support\/kb\/e-mail-junk-e-mail-filtering-advanced-options\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pair.com\/support\/kb\/"},{"@type":"ListItem","position":2,"name":"Junk Email Filtering: Advanced Options"}]},{"@type":"WebSite","@id":"https:\/\/www.pair.com\/support\/kb\/#website","url":"https:\/\/www.pair.com\/support\/kb\/","name":"Knowledge Base - Pair Networks","description":"","publisher":{"@id":"https:\/\/www.pair.com\/support\/kb\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pair.com\/support\/kb\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.pair.com\/support\/kb\/#organization","name":"Pair Networks","url":"https:\/\/www.pair.com\/support\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pair.com\/support\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2022\/02\/Gb_TUkUE_400x400.jpeg","contentUrl":"https:\/\/www.pair.com\/support\/kb\/wp-content\/uploads\/2022\/02\/Gb_TUkUE_400x400.jpeg","width":360,"height":360,"caption":"Pair Networks"},"image":{"@id":"https:\/\/www.pair.com\/support\/kb\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/pairnetworks\/","https:\/\/twitter.com\/pairNetworks","https:\/\/www.instagram.com\/pairnetworks\/","https:\/\/www.linkedin.com\/company\/2269676\/","https:\/\/www.pinterest.com\/pairnetworksinc\/pins\/","https:\/\/www.youtube.com\/user\/pairnetworks"]}]}},"_links":{"self":[{"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb\/82"}],"collection":[{"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/comments?post=82"}],"version-history":[{"count":18,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb\/82\/revisions"}],"predecessor-version":[{"id":10557,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb\/82\/revisions\/10557"}],"wp:attachment":[{"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/media?parent=82"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=82"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.pair.com\/support\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=82"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}