{"id":231,"date":"2025-04-03T10:30:58","date_gmt":"2025-04-03T08:30:58","guid":{"rendered":"https:\/\/www.24x7serverguard.com\/blog\/?p=231"},"modified":"2025-04-03T10:30:58","modified_gmt":"2025-04-03T08:30:58","slug":"how-to-stop-spamming-on-a-cpanel-server","status":"publish","type":"post","link":"https:\/\/www.24x7serverguard.com\/blog\/cpanel\/how-to-stop-spamming-on-a-cpanel-server\/","title":{"rendered":"How to Stop Spamming on a cPanel Server?"},"content":{"rendered":"\n<p>Spamming on a cPanel server can be significantly reduced by tweaking <strong>Exim Configuration Manager<\/strong> and <strong>Tweak Settings<\/strong> in WHM. Follow these steps to enhance email security and prevent spam abuse.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 1: Configure Exim to Block Spam<\/strong><\/h3>\n\n\n\n<p>1\ufe0f\u20e3 Log in to <strong>WHM<\/strong> as the root user.<br>2\ufe0f\u20e3 Navigate to:<br><strong>WHM \u2192 Service Configuration \u2192 Exim Configuration Manager<\/strong><br>3\ufe0f\u20e3 Enable the following settings:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u2705 <strong>RBL Filtering<\/strong> \u2192 <strong>ON<\/strong> (Basic Editor \u2192 RBLs)<\/li>\n\n\n\n<li>\u2705 <strong>Sender Verification Callouts<\/strong> \u2192 <strong>ON<\/strong><\/li>\n\n\n\n<li>\u2705 <strong>Sender Verification<\/strong> \u2192 <strong>ON<\/strong><\/li>\n\n\n\n<li>\u2705 <strong>Reject SPF Failures<\/strong> \u2192 <strong>ON<\/strong><br>4\ufe0f\u20e3 Save the changes.<\/li>\n<\/ul>\n\n\n\n<p><strong>\ud83d\udd39 Benefit:<\/strong> Helps filter out spam emails at the server level and reduces spoofing attempts.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 2: Adjust Tweak Settings for Email Control<\/strong><\/h3>\n\n\n\n<p>1\ufe0f\u20e3 Go to <strong>WHM \u2192 Server Configuration \u2192 Tweak Settings<\/strong><br>2\ufe0f\u20e3 Modify the following options:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Initial Default\/Catch-all Forwarder Destination<\/strong> \u2192 <strong>Fail<\/strong><\/li>\n\n\n\n<li><strong>Max Hourly Emails Per Domain<\/strong> \u2192 <strong>200<\/strong><\/li>\n\n\n\n<li><strong>Count Mailman Deliveries Toward a Domain\u2019s Max Hourly Emails<\/strong> \u2192 <strong>ON<\/strong><\/li>\n\n\n\n<li><strong>Maximum Percentage of Failed or Deferred Messages a Domain May Send Per Hour<\/strong> \u2192 <strong>60%<\/strong><br>3\ufe0f\u20e3 Save the changes.<\/li>\n<\/ul>\n\n\n\n<p><strong>\ud83d\udd39 Benefit:<\/strong> Prevents excessive outgoing spam and reduces the chances of your server being blacklisted.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Additional Tips to Reduce Spam:<\/strong><\/h3>\n\n\n\n<p>\u2714\ufe0f <strong>Use SpamAssassin<\/strong> \u2192 Enable and configure it to filter unwanted emails.<br>\u2714\ufe0f <strong>DKIM &amp; SPF Records<\/strong> \u2192 Ensure DKIM &amp; SPF records are correctly set up for domain authentication.<br>\u2714\ufe0f <strong>Monitor Email Queue<\/strong> \u2192 Regularly check WHM <strong>Mail Queue Manager<\/strong> for unusual email activity.<br>\u2714\ufe0f <strong>Enable cPHulk Brute Force Protection<\/strong> \u2192 Blocks repeated login attempts.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>By implementing these <strong>WHM tweaks and Exim configurations<\/strong>, you can <strong>minimize spam<\/strong> and enhance <strong>server email security<\/strong> effectively. \ud83d\ude80<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Spamming on a cPanel server can be significantly reduced by tweaking Exim Configuration Manager and Tweak Settings in WHM. Follow these steps to enhance email security and prevent spam abuse. Step 1: Configure Exim to Block Spam 1\ufe0f\u20e3 Log in to WHM as the root user.2\ufe0f\u20e3 Navigate to:WHM \u2192 Service Configuration \u2192 Exim Configuration Manager3\ufe0f\u20e3 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":232,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[178,172,176,174,175,177,173,179],"class_list":["post-231","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cpanel","tag-cpanelsmtp","tag-cpanelspamfix","tag-emailsecurity","tag-eximconfiguration","tag-preventemailspam","tag-serverspamprotection","tag-whmemailsecurity","tag-whmtweaks"],"_links":{"self":[{"href":"https:\/\/www.24x7serverguard.com\/blog\/wp-json\/wp\/v2\/posts\/231","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.24x7serverguard.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.24x7serverguard.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.24x7serverguard.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.24x7serverguard.com\/blog\/wp-json\/wp\/v2\/comments?post=231"}],"version-history":[{"count":1,"href":"https:\/\/www.24x7serverguard.com\/blog\/wp-json\/wp\/v2\/posts\/231\/revisions"}],"predecessor-version":[{"id":233,"href":"https:\/\/www.24x7serverguard.com\/blog\/wp-json\/wp\/v2\/posts\/231\/revisions\/233"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.24x7serverguard.com\/blog\/wp-json\/wp\/v2\/media\/232"}],"wp:attachment":[{"href":"https:\/\/www.24x7serverguard.com\/blog\/wp-json\/wp\/v2\/media?parent=231"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.24x7serverguard.com\/blog\/wp-json\/wp\/v2\/categories?post=231"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.24x7serverguard.com\/blog\/wp-json\/wp\/v2\/tags?post=231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}