The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Temporarily Disabling MailWatch

Discussion in 'cPanel Developers' started by bvanderw, Sep 8, 2006.

  1. bvanderw

    bvanderw Member

    Joined:
    Mar 5, 2003
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Ever since MailScanner/MailWatch was installed on my server, I have been having a lot of performance problems when viewing any web page that accesses a MySQL database. This may be because there is only 512MB of RAM on the machine.

    Anyway, my question is - how can I simply disable MailScanner writing it's data to the database without shutting down spam checking altogether?

    --Bruce
     
  2. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,367
    Likes Received:
    5
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
  3. bvanderw

    bvanderw Member

    Joined:
    Mar 5, 2003
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for the reply. I don't really want to remove MailWatch - I just want to temporarily disable MySQL logging to see if that is really the source of my performance problems. Perhaps this step will accomplish this?

    Edit the file /usr/mailscanner/lib/MailScanner/CustomConfig.pm, and remove the line:

    require 'MailScanner/MailWatch.pm';
     
  4. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,367
    Likes Received:
    5
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Would also temporarily remove the "&MailWatchLogging" directive in MailScanner.conf and check that all MW processes have been killed.
     
Loading...
Similar Threads - Temporarily Disabling MailWatch
  1. manokiss
    Replies:
    3
    Views:
    320

Share This Page