Log in to SSH as root and do the following:
cd /usr/mailscanner/lib/MailScanner/ rm -fv MailWatch.pm
Edit the file /usr/mailscanner/lib/MailScanner/CustomConfig.pm, and remove the line:
require 'MailScanner/MailWatch.pm';
Edit /usr/mailscanner/etc/MailScanner.conf and remove the line:
Always Looked Up Last = &MailWatchLogging
Then run the following commands:
rm -Rfv /usr/local/cPanel/whostmgr/docroot/3rdparty/mailwatch
mysql -e "drop database mailscanner"
Kill any MailWatch processes with “killall -9 MailScanner”, then:
service MailScanner restart Done !!