If you’re running a WordPress site and given the number of potentially show-stopping problems that exist, get fixed, and are replaced with new problems that are just as bad then you need to be on top of what plugins you’re using and what problems the … [Continue reading]
Find which users are sending email on a server
All you have to do is to type this: grep cwd /var/log/exim_mainlog | awk '/public_html/ {print $3}' | sort | uniq -c … [Continue reading]
Install and setup ClamAV and MadDet
Running a ClamAV and Maldet scan on cPanel servers - Knowledgebase - Ethernet Servers Ltd Installing ClamAV via WHM 1) Login to WHM (Web Host Manager) as the root user 2) Navigate to: Home » cPanel » Manage Plugins 3) Tick the I … [Continue reading]
Delete millions thousands of exim mail queues using ssh command line
First of all stop the mail server by service exim stop then, change directory to /var/spool/exim cd /var/spool/exim Now, execute the below command, which will delete all the mails on the mail queue folder. find input -type f -exec rm -rf {} … [Continue reading]
Search php files inside a directory recursive
sudo find . -print | grep -i '.*[.]php' … [Continue reading]