Temporarily Disabling MailWatch

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?

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: