{"id":4021,"date":"2019-10-29T15:45:34","date_gmt":"2019-10-29T07:45:34","guid":{"rendered":"https:\/\/www.mondoze.com\/guide\/?post_type=kb&#038;p=4021"},"modified":"2022-10-05T07:56:46","modified_gmt":"2022-10-04T23:56:46","slug":"configuring-spamassassin-in-cpanel","status":"publish","type":"kb","link":"https:\/\/www.mondoze.com\/guide\/kb\/configuring-spamassassin-in-cpanel","title":{"rendered":"Configuring SpamAssassin in cPanel"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"4021\" class=\"elementor elementor-4021\" data-elementor-settings=\"[]\">\n\t\t\t\t\t\t<div class=\"elementor-inner\">\n\t\t\t\t\t\t\t<div class=\"elementor-section-wrap\">\n\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-a24d676 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a24d676\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-726db2a6\" data-id=\"726db2a6\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-1c711e1 elementor-widget elementor-widget-heading\" data-id=\"1c711e1\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">How To Configure SpamAssasin in cPanel<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1ff5994 elementor-widget elementor-widget-text-editor\" data-id=\"1ff5994\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>Firstly, you may need to login to the SpamAssassin configuration. Please follow the below step in accessing the SpamAssassin to configure this function.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-bc622aa elementor-widget elementor-widget-heading\" data-id=\"bc622aa\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\">1) Login to you cPanel.<\/h4>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4d82213 elementor-widget elementor-widget-heading\" data-id=\"4d82213\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\">2) Click on the \"Mail\" and then proceed with clicking on the \"Spam Assassin\".<\/h4>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-465ec4e elementor-widget elementor-widget-image\" data-id=\"465ec4e\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-image\">\n\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" loading=\"lazy\" width=\"474\" height=\"184\" src=\"https:\/\/www.mondoze.com\/guide\/wp-content\/uploads\/2021\/03\/h1-2.png\" class=\"attachment-large size-large\" alt=\"Configure Spam Assassin in cPanel\" srcset=\"https:\/\/www.mondoze.com\/guide\/wp-content\/uploads\/2021\/03\/h1-2.png 474w, https:\/\/www.mondoze.com\/guide\/wp-content\/uploads\/2021\/03\/h1-2-300x116.png 300w\" sizes=\"(max-width: 474px) 100vw, 474px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6beba07 elementor-widget elementor-widget-heading\" data-id=\"6beba07\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\">3) If you have use SpamAssassin, please proceed with \"Configure SpamAssassin (required to rewrite subject)\".<\/h4>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-dd9e0b3 elementor-widget elementor-widget-image\" data-id=\"dd9e0b3\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-image\">\n\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" loading=\"lazy\" width=\"726\" height=\"524\" src=\"https:\/\/www.mondoze.com\/guide\/wp-content\/uploads\/2021\/03\/h2-2.png\" class=\"attachment-large size-large\" alt=\"Configure Apache SpamAssassin\" srcset=\"https:\/\/www.mondoze.com\/guide\/wp-content\/uploads\/2021\/03\/h2-2.png 726w, https:\/\/www.mondoze.com\/guide\/wp-content\/uploads\/2021\/03\/h2-2-300x217.png 300w\" sizes=\"(max-width: 726px) 100vw, 726px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d4fc0a5 elementor-widget elementor-widget-heading\" data-id=\"d4fc0a5\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\">4) You may follow the below explanation on how to configure the SpamAssassin:<\/h4>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f91712e elementor-widget elementor-widget-text-editor\" data-id=\"f91712e\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p><b>a)\u00a0required_score\u00a0<\/b>: This score is use to rate email content to be a spam email. The default value for the required score is 5. The lower the value, the tighten the security on the email which suspect as spam email. The higher the value, the loosen the security on the spam email. You may also insert decimal value such as &#8220;1.222233333&#8221; as the score for the spam email.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2036631 elementor-widget elementor-widget-text-editor\" data-id=\"2036631\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p><b>b)\u00a0rewrite_header subject\u00a0<\/b>:\u00a0This is use to tag the subject of the email if it is suspect as the spam email. If you do enable the spam box on your email account, then those email which tag as spam email will be move to a spam folder which is located inside your respective email account. If the email is known to be a spam email, then the subject of the email will be include with the string that you insert in this column. For example: You rewrite header subject is call &#8220;***SPAM***&#8221; then if the spam assassin suspect that email(e.g Subject: Viagra) as a spam email, then it will your subject line will be as &#8220;***SPAM***Viagra&#8221;.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-40daa21 elementor-widget elementor-widget-text-editor\" data-id=\"40daa21\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p><b>c)\u00a0blacklist_from<\/b>\u00a0:\u00a0You can blacklist the email address or the domain from sending email to you. If you would like to blacklist the whole domain from sending email to you, then you can insert the entry as *@domain_name or *.domain.name. If you would like to\u00c2 blacklist the email address only\u00c2 then you may insert the email address in the given entry.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f6fef03 elementor-widget elementor-widget-text-editor\" data-id=\"f6fef03\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p><b>d)\u00a0score\u00a0<\/b>:\u00a0Assign scores (the number of points for a hit) to a given test. Scores can be positive or negative real numbers or integers. &#8220;SYM-BOLIC_TEST_NAME&#8221; is the symbolic name used by SpamAssassin for that test; for example, &#8216;FROM_ENDS_IN_NU&#8217;. If only one valid score is listed, then that score is always used for a test. If four valid scores are listed, then the score that is used depends on how SpamAssassin is being used. The first score is used when both Bayes and network tests are disabled. The second score is used when Bayes is disabled, but network tests are enabled. The third score is used when Bayes is enabled and network tests are disabled. The fourth score is used when Bayes is enabled and net-work tests are enabled. Setting a rule&#8217;s score to 0 will disable that rule from running.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d4b8075 elementor-widget elementor-widget-text-editor\" data-id=\"d4b8075\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p><b>e)\u00a0whitelist_from<\/b>\u00a0:\u00a0It is use to whitelist the email which the SpamAssassin consider your client as spam email. The way to whitelist the email address or domain is the same as the blacklist_from.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4fa436e elementor-widget elementor-widget-heading\" data-id=\"4fa436e\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\">5) Click 'Save' after you have configured the SpamAssassin.<\/h4>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1026e550 elementor-widget elementor-widget-text-editor\" data-id=\"1026e550\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>How To Configure SpamAssasin in cPanel Firstly, you may need to login to the SpamAssassin configuration. Please follow the below step in accessing the SpamAssassin to configure this function. 1) Login to you cPanel. 2) Click on the &#8220;Mail&#8221; and then proceed with clicking on the &#8220;Spam Assassin&#8221;. 3) If you have use SpamAssassin, please &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/www.mondoze.com\/guide\/kb\/configuring-spamassassin-in-cpanel\"> <span class=\"screen-reader-text\">Configuring SpamAssassin in cPanel<\/span> Read More \u00bb<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}}},"kbtopic":[44],"kbtag":[110],"mkb_version":[],"_links":{"self":[{"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kb\/4021"}],"collection":[{"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/comments?post=4021"}],"version-history":[{"count":17,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kb\/4021\/revisions"}],"predecessor-version":[{"id":20620,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kb\/4021\/revisions\/20620"}],"wp:attachment":[{"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/media?parent=4021"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kbtopic?post=4021"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/kbtag?post=4021"},{"taxonomy":"mkb_version","embeddable":true,"href":"https:\/\/www.mondoze.com\/guide\/wp-json\/wp\/v2\/mkb_version?post=4021"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}