{"id":733,"date":"2021-03-30T14:28:10","date_gmt":"2021-03-30T08:28:10","guid":{"rendered":"https:\/\/mellowhost.com\/blog\/?p=733"},"modified":"2021-03-30T14:28:10","modified_gmt":"2021-03-30T08:28:10","slug":"how-to-disable-clamd-spamassasign-in-virtualmin","status":"publish","type":"post","link":"https:\/\/mellowhost.com\/blog\/how-to-disable-clamd-spamassasign-in-virtualmin.html","title":{"rendered":"How to Disable Clamd &#038; Spamassasign in Virtualmin"},"content":{"rendered":"\n<p><strong>Question<\/strong><\/p>\n\n\n\n<p>My clamscan is taking a lot of CPU &amp; memory of my vps. I use Virtualmin as the control panel. How can I disable Clamscan and Spamassign from taking excessive cpu and memory?<\/p>\n\n\n\n<p><strong>Solution<\/strong><\/p>\n\n\n\n<p>If you are receiving an inbound spam attack or an email bounce attack on your VPS, and you use Clamscan and Spamassasign for your incoming mail filtering, it is highly possible that, you will run out of RAM and CPU. To solve the problem, you need to disable Clamscan and Spamassign for at least the time you are dealing with the attack or have developed a way to deal the attack. To disable Clamd and Spamassasign, you may follow the following steps<\/p>\n\n\n\n<p><strong>How to Disable Clamd and Spamassasign<\/strong><\/p>\n\n\n\n<p>First login to your virtualmin 10000 port, and go to System Settings >> Features and Plugins<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"278\" height=\"365\" src=\"https:\/\/mellowhost.com\/blog\/wp-content\/uploads\/sites\/3\/2021\/03\/virtualmin_disable_spam_clam_1.png\" alt=\"\" class=\"wp-image-734\" srcset=\"https:\/\/mellowhost.com\/blog\/wp-content\/uploads\/sites\/3\/2021\/03\/virtualmin_disable_spam_clam_1.png 278w, https:\/\/mellowhost.com\/blog\/wp-content\/uploads\/sites\/3\/2021\/03\/virtualmin_disable_spam_clam_1-228x300.png 228w\" sizes=\"(max-width: 278px) 85vw, 278px\" \/><\/figure>\n\n\n\n<p>Now uncheck the options &#8216;Spam filtering&#8217; and &#8216;Virus filtering&#8217; option and save it<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"418\" src=\"https:\/\/mellowhost.com\/blog\/wp-content\/uploads\/sites\/3\/2021\/03\/virtualmin_disable_spam_clam_2-1024x418.png\" alt=\"\" class=\"wp-image-735\" srcset=\"https:\/\/mellowhost.com\/blog\/wp-content\/uploads\/sites\/3\/2021\/03\/virtualmin_disable_spam_clam_2-1024x418.png 1024w, https:\/\/mellowhost.com\/blog\/wp-content\/uploads\/sites\/3\/2021\/03\/virtualmin_disable_spam_clam_2-300x122.png 300w, https:\/\/mellowhost.com\/blog\/wp-content\/uploads\/sites\/3\/2021\/03\/virtualmin_disable_spam_clam_2-768x313.png 768w, https:\/\/mellowhost.com\/blog\/wp-content\/uploads\/sites\/3\/2021\/03\/virtualmin_disable_spam_clam_2-1200x489.png 1200w, https:\/\/mellowhost.com\/blog\/wp-content\/uploads\/sites\/3\/2021\/03\/virtualmin_disable_spam_clam_2.png 1351w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<p>Now go to your Webmin tab >> Under the System >> Bootup and Shutdown<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"303\" height=\"502\" src=\"https:\/\/mellowhost.com\/blog\/wp-content\/uploads\/sites\/3\/2021\/03\/virtualmin_disable_spam_clam_3.png\" alt=\"\" class=\"wp-image-736\" srcset=\"https:\/\/mellowhost.com\/blog\/wp-content\/uploads\/sites\/3\/2021\/03\/virtualmin_disable_spam_clam_3.png 303w, https:\/\/mellowhost.com\/blog\/wp-content\/uploads\/sites\/3\/2021\/03\/virtualmin_disable_spam_clam_3-181x300.png 181w\" sizes=\"(max-width: 303px) 85vw, 303px\" \/><\/figure>\n\n\n\n<p>Now select the services with the name &#8216;clam&#8217; and &#8216;spamassassin.service&#8217;, then click on &#8216;Disable now and on boot&#8217; option. Once saved, also make sure they are saying &#8216;No&#8217; in running. If not, select them again and go to the bottom of the page, and press &#8216;Stop&#8217; to shut them down immediately. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Question My clamscan is taking a lot of CPU &amp; memory of my vps. I use Virtualmin as the control panel. How can I disable Clamscan and Spamassign from taking excessive cpu and memory? Solution If you are receiving an inbound spam attack or an email bounce attack on your VPS, and you use Clamscan &hellip; <a href=\"https:\/\/mellowhost.com\/blog\/how-to-disable-clamd-spamassasign-in-virtualmin.html\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to Disable Clamd &#038; Spamassasign in Virtualmin&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[23,350],"tags":[542,543,545,541,351,544],"_links":{"self":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/733"}],"collection":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/comments?post=733"}],"version-history":[{"count":1,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/733\/revisions"}],"predecessor-version":[{"id":737,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/posts\/733\/revisions\/737"}],"wp:attachment":[{"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/media?parent=733"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/categories?post=733"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mellowhost.com\/blog\/wp-json\/wp\/v2\/tags?post=733"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}