For migrating Reseller and/or Bulk accounts between cpanel servers:: *On source server =========================== cd /home mkdir /home/Migration cat /etc/trueuserowners |grep reseller_username | awk '{print $1}' | cut -d: -f 1 > Migration.txt for i in `cat Migration.txt`;do /scripts/pkgacct $i; mv...
Month: January 2018
Important cpanel/whm files
Important cpanel/whm files ==================== /etc/httpd/conf/httpd.conf - apache configuration file /etc/exim.conf - mail server configuration file /etc/named.conf - name server (named) configuration file /etc/proftpd.conf - proftpd server configuration file /etc/pure-ftpd.conf - pure-ftpd server configuration file /etc/valiases/domainname - catchall and forwarders are...
Stop spamming using iptables
You can stop the number of spammer ip address to known spam ip addresses from spamhaus . org vi /root/blockspamips.sh ========================= #!/bin/bash IPTABLES=/sbin/iptables FILE="/tmp/drop.lasso" URL="http://www.spamhaus.org/drop/drop.lasso" #echo "" #echo -n "Applying DROP list to existing firewall..." $IPTABLES -D INPUT -j Spamhaus...
How to Stop Spamming on cpanel server
Q. How to Stop Spamming on cpanel server ? Ans : There are number of steps but you must enable/disable some Tweaks on cpanel server. Setting in "Exim Configuration Manager" 1. Login to WHM control panel by using root user...