In MailWatch I am getting MySQL Errors such as “Could not connect to database: Access denied for user ‘mailwatch’@’localhost’ (using password: YES)”. How can I fix it? perl /usr/local/cPanel/whostmgr/docroot/cgi/mailwatch/install/mwadd.pl Above command should fix your issue.
See MoreTag: Banned website
Uninstall MailWatch
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 […]
See MoreScript To Migrate Reseller
#Migrate Reseller echo “Server IP :- “; read remote_host; echo “Checking for the Authentication Keys ” hostname=$(hostname) Key=$(grep -s $hostname /root/.ssh/id_rsa.pub | wc -l) if [ “$Key” -le 0 ]; then echo ” No Keys Found. Adding new KEY” ssh-keygen -t rsa -b 1024 -f /root/.ssh/id_rsa -N “” else echo “Authentication Does exist” fi echo […]
See More