ConfigServer Services HelpDesk
Server Management Services from Way to The Web Ltd
ConfigServer Home Page

How can I completely remove MailWatch from my server?

Support Portal  »  Knowledgebase  »  Viewing Article

  Print
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

Share via

Related Articles


Self-Hosted Help Desk Software by SupportPal
© ConfigServer Services