Virtualmin GPL - how to disable ClamAV on incoming emailsHow to monitor ClamAV?Postfix/ClamAV not stopping...

Is it true that good novels will automatically sell themselves on Amazon (and so on) and there is no need for one to waste time promoting?

How Could an Airship Be Repaired Mid-Flight

Happy pi day, everyone!

Unexpected result from ArcLength

What should tie a collection of short-stories together?

Why do passenger jet manufacturers design their planes with stall prevention systems?

Brexit - No Deal Rejection

Are all passive ability checks floors for active ability checks?

My Graph Theory Students

What do Xenomorphs eat in the Alien series?

Why one should not leave fingerprints on bulbs and plugs?

Who is flying the vertibirds?

If curse and magic is two sides of the same coin, why the former is forbidden?

What did Alexander Pope mean by "Expletives their feeble Aid do join"?

Do I need life insurance if I can cover my own funeral costs?

A limit with limit zero everywhere must be zero somewhere

What is this large pipe coming out of my roof?

Can I use USB data pins as power source

Co-worker team leader wants to inject his friend's awful software into our development. What should I say to our common boss?

Why is the BSI not using powers of two?

What's the meaning of “spike” in the context of “adrenaline spike”?

Most cost effective thermostat setting: consistent temperature vs. lowest temperature possible

How to create the Curved texte?

How to use deus ex machina safely?



Virtualmin GPL - how to disable ClamAV on incoming emails


How to monitor ClamAV?Postfix/ClamAV not stopping viruses under VirtualminWhere is ClamAV quarantine folder?Lock virtualmin access to a specific domain on linodehow to change ispconfig clamav log file locationVirtualmin, mail format for usernamesDisable ClamAV for AmavisClamav milter forward a copy of infected emailsIntegrating ClamAV with NGINXShould `clamav-devel`, ` clamav-server-systemd`,`clamav-server` be installed if I only manual scan folder in one server?













1















I'm running Virtualmin GPL 5.07 on a CentOS virtual guest with 2GB RAM.
Sometimes, when a few email messages are arriving simultaneously, several instances of 'clamscan' start up, each one using a couple hundred MB of RAM, which effectively eats almost all the RAM and causes other software like MySQL to die due to "no available memory".



How can I either disable the clamav scan for incoming emails, or even force clamav to run a single instance instead of starting a new instance for each incoming message?



Thanks for any pointers.










share|improve this question



























    1















    I'm running Virtualmin GPL 5.07 on a CentOS virtual guest with 2GB RAM.
    Sometimes, when a few email messages are arriving simultaneously, several instances of 'clamscan' start up, each one using a couple hundred MB of RAM, which effectively eats almost all the RAM and causes other software like MySQL to die due to "no available memory".



    How can I either disable the clamav scan for incoming emails, or even force clamav to run a single instance instead of starting a new instance for each incoming message?



    Thanks for any pointers.










    share|improve this question

























      1












      1








      1


      0






      I'm running Virtualmin GPL 5.07 on a CentOS virtual guest with 2GB RAM.
      Sometimes, when a few email messages are arriving simultaneously, several instances of 'clamscan' start up, each one using a couple hundred MB of RAM, which effectively eats almost all the RAM and causes other software like MySQL to die due to "no available memory".



      How can I either disable the clamav scan for incoming emails, or even force clamav to run a single instance instead of starting a new instance for each incoming message?



      Thanks for any pointers.










      share|improve this question














      I'm running Virtualmin GPL 5.07 on a CentOS virtual guest with 2GB RAM.
      Sometimes, when a few email messages are arriving simultaneously, several instances of 'clamscan' start up, each one using a couple hundred MB of RAM, which effectively eats almost all the RAM and causes other software like MySQL to die due to "no available memory".



      How can I either disable the clamav scan for incoming emails, or even force clamav to run a single instance instead of starting a new instance for each incoming message?



      Thanks for any pointers.







      memory clamav virtualmin






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked May 2 '17 at 2:19









      Ryan GriggsRyan Griggs

      538415




      538415






















          1 Answer
          1






          active

          oldest

          votes


















          0














          I know this question is almost 1 year old, however, as it still comes up in searches i am going to provide an answer for the benefit of others who may see this.



          Virtualmin developers (as well as other virtualmin users) suggest that one option is to disable spamassassin and clamav completely.



          The alternative is to send/receive your mail through another hosting provider and utilise their spam and antivirus features.



          I did this on my server (has 2GB ram). The difference in ram usages was an immediate 40% reduction in ram usage by disabling both (65% down to 25% RAM).



          I havent decided yet on who i will to do my mail but i am thinking running it through a relay such as sendgrid or mailchimp to a different host.



          I am no expert, this is just what i am doing for the time being.






          share|improve this answer
























          • My question was how to disable clamav, not should I disable it. You didn't actually answer the question.

            – Ryan Griggs
            6 mins ago











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "2"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f847685%2fvirtualmin-gpl-how-to-disable-clamav-on-incoming-emails%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          I know this question is almost 1 year old, however, as it still comes up in searches i am going to provide an answer for the benefit of others who may see this.



          Virtualmin developers (as well as other virtualmin users) suggest that one option is to disable spamassassin and clamav completely.



          The alternative is to send/receive your mail through another hosting provider and utilise their spam and antivirus features.



          I did this on my server (has 2GB ram). The difference in ram usages was an immediate 40% reduction in ram usage by disabling both (65% down to 25% RAM).



          I havent decided yet on who i will to do my mail but i am thinking running it through a relay such as sendgrid or mailchimp to a different host.



          I am no expert, this is just what i am doing for the time being.






          share|improve this answer
























          • My question was how to disable clamav, not should I disable it. You didn't actually answer the question.

            – Ryan Griggs
            6 mins ago
















          0














          I know this question is almost 1 year old, however, as it still comes up in searches i am going to provide an answer for the benefit of others who may see this.



          Virtualmin developers (as well as other virtualmin users) suggest that one option is to disable spamassassin and clamav completely.



          The alternative is to send/receive your mail through another hosting provider and utilise their spam and antivirus features.



          I did this on my server (has 2GB ram). The difference in ram usages was an immediate 40% reduction in ram usage by disabling both (65% down to 25% RAM).



          I havent decided yet on who i will to do my mail but i am thinking running it through a relay such as sendgrid or mailchimp to a different host.



          I am no expert, this is just what i am doing for the time being.






          share|improve this answer
























          • My question was how to disable clamav, not should I disable it. You didn't actually answer the question.

            – Ryan Griggs
            6 mins ago














          0












          0








          0







          I know this question is almost 1 year old, however, as it still comes up in searches i am going to provide an answer for the benefit of others who may see this.



          Virtualmin developers (as well as other virtualmin users) suggest that one option is to disable spamassassin and clamav completely.



          The alternative is to send/receive your mail through another hosting provider and utilise their spam and antivirus features.



          I did this on my server (has 2GB ram). The difference in ram usages was an immediate 40% reduction in ram usage by disabling both (65% down to 25% RAM).



          I havent decided yet on who i will to do my mail but i am thinking running it through a relay such as sendgrid or mailchimp to a different host.



          I am no expert, this is just what i am doing for the time being.






          share|improve this answer













          I know this question is almost 1 year old, however, as it still comes up in searches i am going to provide an answer for the benefit of others who may see this.



          Virtualmin developers (as well as other virtualmin users) suggest that one option is to disable spamassassin and clamav completely.



          The alternative is to send/receive your mail through another hosting provider and utilise their spam and antivirus features.



          I did this on my server (has 2GB ram). The difference in ram usages was an immediate 40% reduction in ram usage by disabling both (65% down to 25% RAM).



          I havent decided yet on who i will to do my mail but i am thinking running it through a relay such as sendgrid or mailchimp to a different host.



          I am no expert, this is just what i am doing for the time being.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 14 mins ago









          adamadam

          213




          213













          • My question was how to disable clamav, not should I disable it. You didn't actually answer the question.

            – Ryan Griggs
            6 mins ago



















          • My question was how to disable clamav, not should I disable it. You didn't actually answer the question.

            – Ryan Griggs
            6 mins ago

















          My question was how to disable clamav, not should I disable it. You didn't actually answer the question.

          – Ryan Griggs
          6 mins ago





          My question was how to disable clamav, not should I disable it. You didn't actually answer the question.

          – Ryan Griggs
          6 mins ago


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Server Fault!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f847685%2fvirtualmin-gpl-how-to-disable-clamav-on-incoming-emails%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          117736 Шеррод Примітки | Див. також | Посилання | Навігаційне...

          As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

          Маріан Котлеба Зміст Життєпис | Політичні погляди |...