Temporarily Disabling MailWatch

bvanderw

Member
Mar 5, 2003
12
0
151
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
 

bvanderw

Member
Mar 5, 2003
12
0
151
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';
 

sawbuck

Well-Known Member
Jan 18, 2004
1,365
7
168
cPanel Access Level
Root Administrator
Would also temporarily remove the "&MailWatchLogging" directive in MailScanner.conf and check that all MW processes have been killed.