{"id":271,"date":"2016-02-25T16:27:10","date_gmt":"2016-02-25T21:27:10","guid":{"rendered":"http:\/\/underhost.com\/blog\/?p=271"},"modified":"2025-03-12T05:18:45","modified_gmt":"2025-03-12T09:18:45","slug":"cpanel-tweak-to-prevent-spamming","status":"publish","type":"post","link":"https:\/\/underhost.com\/blog\/cpanel-tweak-to-prevent-spamming\/","title":{"rendered":"Essential Tweaks to Prevent Spamming on Your cPanel Server"},"content":{"rendered":"<h2>How to Reduce Spam on Your cPanel Server with Exim and WHM Tweaks<\/h2>\n<p>Spamming is a common issue for cPanel-based servers, and failing to prevent it can lead to IP blacklisting and email deliverability issues. By adjusting Exim and WHM settings, you can significantly reduce spam. Here\u2019s how to configure your server to block unwanted emails.<\/p>\n<h3>1. Configure Exim to Block Spam Emails<\/h3>\n<p>Exim is the default mail transfer agent (MTA) for cPanel. Adjusting its settings can help filter out spam effectively.<\/p>\n<h4>Steps to Configure Exim:<\/h4>\n<ol>\n<li>Log in to your WHM control panel as <strong>root<\/strong>.<\/li>\n<li>Navigate to <strong>Main >> Service Configuration >> Exim Configuration Manager<\/strong>.<\/li>\n<li>Enable <strong>RBL filtering<\/strong>:\n<ul>\n<li>Go to <strong>Basic Editor >> RBLs<\/strong><\/li>\n<li>Switch RBL filtering to <strong>ON<\/strong><\/li>\n<li>Optionally, add more RBLs from the manage option<\/li>\n<\/ul>\n<\/li>\n<li>Enable <strong>Sender Verification Callouts<\/strong> = <strong>ON<\/strong><\/li>\n<li>Enable <strong>Sender Verification<\/strong> = <strong>ON<\/strong><\/li>\n<li>Enable <strong>Reject SPF failures<\/strong> = <strong>ON<\/strong><\/li>\n<li>Click <strong>Save<\/strong> to apply the changes.<\/li>\n<\/ol>\n<p>These settings will help prevent most spam emails from reaching your inbox.<\/p>\n<h3>2. Adjust WHM Tweak Settings for Better Email Control<\/h3>\n<p>Further improving email security requires modifying WHM\u2019s Tweak Settings. Here\u2019s how:<\/p>\n<h4>Steps to Modify Tweak Settings:<\/h4>\n<ol>\n<li>Log in to WHM as <strong>root<\/strong>.<\/li>\n<li>Go to <strong>Main >> Server Configuration >> Tweak Settings<\/strong>.<\/li>\n<li>Modify the following settings:\n<ul>\n<li><strong>Initial default\/catch-all forwarder destination<\/strong> = <strong>Fail<\/strong> (Prevents spammers from targeting your domain\u2019s catch-all address)<\/li>\n<li><strong>Max hourly emails per domain<\/strong> = <strong>200<\/strong> (Limits outbound spam from compromised accounts)<\/li>\n<li><strong>Count mailman deliveries towards a domain\u2019s email limit<\/strong> (Ensures mailing lists don\u2019t exceed email limits)<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h3>3. Need Expert Support? @CustomerPanel Has You Covered<\/h3>\n<p>If you\u2019re still experiencing email spam issues, let our experts at <a href=\"https:\/\/customerpanel.ca\/client\">UnderHost Support<\/a> assist you. Our <a href=\"https:\/\/underhost.com\/managed-business-hosting.php\">managed hosting solutions<\/a> come with advanced email security configurations to keep your mail server safe.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Spam emails can overload your cPanel server and affect deliverability. By optimizing Exim and Tweak Settings in WHM, you can significantly reduce spam and secure your mail server. Follow this step-by-step guide to configure your server for better email security.<\/p>\n","protected":false},"author":1,"featured_media":4853,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-271","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"_links":{"self":[{"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/posts\/271","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/comments?post=271"}],"version-history":[{"count":4,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/posts\/271\/revisions"}],"predecessor-version":[{"id":5145,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/posts\/271\/revisions\/5145"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/media\/4853"}],"wp:attachment":[{"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/media?parent=271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/categories?post=271"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/tags?post=271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}