{"id":30012,"date":"2021-01-18T02:53:59","date_gmt":"2021-01-17T18:53:59","guid":{"rendered":"https:\/\/web.mwwsb.com.my\/pjci\/?post_type=kb&p=30012"},"modified":"2022-09-08T21:33:07","modified_gmt":"2022-09-08T13:33:07","slug":"prevent-spamming-in-cpanel","status":"publish","type":"kb","link":"https:\/\/www.casbay.com\/guide\/kb\/prevent-spamming-in-cpanel","title":{"rendered":"Prevent Spamming in cPanel"},"content":{"rendered":"\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t

How To Prevent Spamming in cPanel<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t

SpamAssassin & Spam Filter<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\tSpamAssassin (SA) has preinstalled in both cPanel and Plesk and has integrated into the local mail server. SA will scans all incoming email and rates them on various factors. If the rating exceeds the spam score, the email is marked as spam or deleted, where the spam score is adjustable based on your preferences. \n

\nBoth cPanel and Plesk also offer other filters, so you can redirect or even delete emails based on keywords.\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\tTo enable SA in cPanel:\n
\n
\n
    \n
  1. Firstly, login to cPanel.<\/li>\n
    \n
  2. Next, click on SpamAssassin<\/b> under Mail<\/b> section to enable it.<\/li>\n
    \n
  3. Choose to auto-delete mail, or auto-add a prefix to suspect messages.<\/li>\n
    \n
  4. Lastly, use either the Global Mail Filters<\/b> or Mail Filters<\/b>, add keyword-based filtering if you need.<\/li>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t

    Enable DKIM & SPF<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\t\t

    Go to cPanel \u2013> Mail \u2013> Email Authentication<\/strong><\/p>

    Enable following Option:<\/p>

    a)\u00a0 DKIM \u2013> Set as \u201cEnable\u201d<\/strong>After you have enabled it, you should get\u00a0 \u201cStatus:\u00a0Enabled and Active (DNS Check Passed)\u201d<\/em><\/p>

    b) SPF \u2013> Set as \u201cEnable\u201d<\/strong>Once you have enabled it, you should get \u201cStatus:\u00a0Enabled and Active (DNS Check Passed)\u201d<\/em><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t

    \n\t\t\t\t
    \n\t\t\t

    Disable catchall email<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\t\tCatch-all or catchall is the domain default email account that will accept all messages to non-existing accounts on a server. Enabling catchall email can wastes your server space, consume computing power like CPU and RAM, and allow malware onto system. \t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\t\t

    We hope this article helped you to learn about how to prevent spamming in cPanel. For more articles, please go to Knowledge Base<\/a>.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"

    How To Prevent Spamming in cPanel SpamAssassin & Spam Filter SpamAssassin (SA) has preinstalled in both cPanel and Plesk and has integrated into the local mail server. SA will scans all incoming email and rates them on various factors. If the rating exceeds the spam score, the email is marked as spam or deleted, where […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"page-builder","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":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","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":[117],"kbtag":[106],"mkb_version":[],"_links":{"self":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/30012"}],"collection":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/comments?post=30012"}],"version-history":[{"count":1,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/30012\/revisions"}],"predecessor-version":[{"id":31921,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/30012\/revisions\/31921"}],"wp:attachment":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/media?parent=30012"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kbtopic?post=30012"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kbtag?post=30012"},{"taxonomy":"mkb_version","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/mkb_version?post=30012"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}