• Sunny
  • 864 Views
  • 0 Comment
  • No tags

Below is a list of some free applications in cPanel that will allow you to easily manage a number of other basic cPanel functions, such as mail settings, mail queues, and a more advanced ModSecurity tool. 1. CSF - this is an advanced firewall system utilising Linux ip tables 2. Mail Manage – allows you to adjust mail settings, such as hourly limits and email forwarders, on a per account basis 3. Mail Queues – easily manage your email queues…

READ MORE
  • Sunny
  • 864 Views
  • 0 Comment
  • No tags

Create a file "mailqueu.sh" in your server. vim /root/mailqueue.sh Enter the following script to the file, #!/bin/bash EMAIL="youraddress@mail.com" MQUEUE=`find /var/spool/exim/input -name '*-H' | wc -l | sed -e "s/ //g"` if [ $MQUEUE -gt 200 ]; then echo "Mail queue at `hostname` has $MQUEUE messages!!!" | mail -s "CRITICAL ALERT: Mail queue" $EMAIL fi Save and close and set execution permission to the script. Then, add a cron job on the server to schedule the task, # crontab -e and…

READ MORE
  • Harish PP
  • 863 Views
  • 0 Comment
  • No tags

Clamav can work in conjunction with pure-ftpd to not allow virus’s to be uploaded. Followings are the steps to integrate  pure-ftpd with clamav in cPanel server. 1. Install Clamav 2.  Patch pure-ftpd conf file Edit /etc/pure-ftpd.conf and set CallUploadScript yes Edit /etc/init.d/pure-ftpd Look for $DAEMONIZE $fullpath /etc/pure-ftpd.conf -O clf:/var/log/xferlog $OPTIONS --daemonize Under this add $DAEMONIZE /usr/sbin/pure-uploadscript -B -r /etc/pure-ftpd/upload-check.sh Next look for kill $(cat /var/run/pure-ftpd.pid) Under this add kill $(cat /var/run/pure-uploadscript.pid) 3. create new file named  /etc/pure-ftpd/upload-check.sh vi /etc/pure-ftpd/upload-check.sh #!/bin/sh…

READ MORE
  • Harish PP
  • 849 Views
  • 0 Comment
  • No tags

In cPanel server, turned out home was set to /tmp causing this during an upcp and this was an odd one. You can fix this by setting clamav home as /usr/local/clamav with the following commands. mkdir -p /usr/local/clamav chown clamav:clamav /usr/local/clamav usermod -d /usr/local/clamav clamav

READ MORE
  • Ann George
  • 853 Views
  • 0 Comment
  • No tags

The domain log files if not managed perfectly will cause the server space to go heavily used, and thus causing the server services to slow down on performance or even stop. To avoid such an issue, log rotation is the best practice to be followed in such cases. Usually in cpanel servers, we can set log rotation as a cron job which might do the task. This cron can be set as daily or weekly process, keeping in mind files…

READ MORE
OUR SERVICES
OUR TECHNOLOGIES