Clamscan belastet Server

Discussion in 'Installation/Configuration' started by FlashOver, Mar 1, 2008.

  1. FlashOver

    FlashOver New Member

    Wie kann ich den Clamscan Prozess stoppen bzw. wo wird dieser aufgerufen? Dieser braucht aktuell 90% Systemlast und gebraucht wird dieser nicht, da vor dem SErver eine UTM Firewall sitzt.

    Kann mir diesbezüglich jemand helfen und sagen, wie ich das abschalten kann.
     
  2. edge

    edge Active Member Moderator

    第十八届中国华东进出口商品交易会(简称华交会)年3月1日开幕式9:00准时召开,商务部各级领导及上海市各级领导出席开幕式并致辞。经过17年的发展,华交会.

    Please use English on this forum.
    For German go here: http://www.howtoforge.de/
     
  3. FlashOver

    FlashOver New Member

    Clamscan is using 90% CPU

    Oh sorry, I forgot to write english. My mistake. :rolleyes:

    If I look with top on my debian server, I see 8 processes called CLAMSCAN. Every process is using 13% CPU. So, that's to heavy load.
    Cause there is no use for me to scan mails of viruses or spam, I like to disable this feature.

    But I can not find the script to stop or from which CLAMSCAN will be started.

    Can anybody tell me, where to disable that - and maybe SPAMASASSIN Globaly too?

    Before somebody is asking why I can disable without any worry, we have an UTM firewall appliance in front of our subnet which protects all services.

    Looking forward to your reply.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Create the file /root/ispconfig/isp/conf/customized_templates/procmailrc.master:

    Code:
    {MAILDIR_COMMENT}MAILDIR=$HOME/Maildir/
    {MAILDIR_COMMENT}DEFAULT=$MAILDIR
    {MAILDIR_COMMENT}ORGMAIL=$MAILDIR
    {QUOTA}
    INCLUDERC={PMDIR}/.mailsize.rc
    {QUOTA_COMMENT}INCLUDERC={PMDIR}/.quota.rc
    #{ANTIVIRUS_COMMENT}INCLUDERC={PMDIR}/.antivirus.rc
    {MAILSCAN_COMMENT}INCLUDERC={PMDIR}/.local-rules.rc
    {MAILSCAN_COMMENT}INCLUDERC={PMDIR}/.html-trap.rc
    #{SPAMASSASSIN_COMMENT}INCLUDERC={PMDIR}/.spamassassin.rc
    {AUTORESPONDER_COMMENT}INCLUDERC={PMDIR}/.autoresponder.rc
    Then update all your ISPConfig users - they will then get the new .procmailrc file where the spam- and virus checks are commented out.
     

Share This Page