Disabling PHPMail() function from WHM/Cpanel

Php mail () function is used to send emails through php scripts and most of the times is used by spammers to spam from servers. Here is the way to disable it in WHM/Cpanel. Login to WHM Go to tweak settings Find “Prevent the user "nobody" from sending out mail to remote addresses (PHP and CGI scripts generally run as nobody if you are not using PHPSuexec and Suexec respectively.)” Turn … [Read more...]

Cpanel / WHM /FTP/E-mail are showing incorrect or zero disk usage

1. Execute following scripts on the server. [crayon-6517f9c28b774571086439/] 2. If the issue is still there then check whether "usrquota" option has enabled or not for home directory(/etc/fstab). Please enable it. Also check the rw option of the home directory where user's home directory is there. I did following things. [crayon-6517f9c28b777667536920/] 3. Make sure those options has also … [Read more...]