Find Spamming Account in Postfix or Plesk

This following commands sorted a list of the accounts those have the most mail in the queue: mailq|grep ^[A-F0-9]|cut -c 42-80|sort |uniq -c|sort -n|tail grep “status=sent” /var/log/maillog |cut -d “=” -f 2 |cut -d “>” -f 1 |cut -d “<” -f 2 |sort -n |uniq -c grep “dovecot” /var/log/maillog |grep “Aborted login” |cut -d “,” […]

Continue Reading…

How to Add spf Record in cPanel

To add spf record in cPanel, Go to the option  “Email Authentication” under the section “mail” within cPanel. We can now enable SPF protection by clicking the “Enable”  button under the SPF. Now the basic SPF record will be setup for our domain. Also we can edit the advanced SPF settings below the enable option.   […]

Continue Reading…

Unable to login to FTP Windows server plesk

If you are unable to login to FTP in windows server using plesk panel.Use the following steps for troubleshooting. ftp cpanelplesk.com Connected to cpanelplesk.com. 220 Microsoft FTP Service User (cpanelplesk.com:(none)): admin 331 Password required for admin. Password: 530-User cannot log in, home directory inaccessible. Win32 error: Access is denied. Error details: Authorization rules denied the access. […]

Continue Reading…

scp with port number

SCP command is used to copy files between servers in secure way. The basic syntax of the SCP command is as follows: scp source_file_name username@destination_host:destination_folder This command will copy the file from local to the remote server location. scp user@remote_host:/source_file_name /destination_folder The above command will copy the file from remote server to local. You can use […]

Continue Reading…

How To Upgrade Mysql On Cpanel Server

To upgrade MySQL select the MySQL version you want to install from WHM > Tweak Settings. Then login via shell and run below command : /scripts/mysqlup –force Once the installation is complete , check MySQL version and then compile php/apache so that it can load new libraries by using below command : /scripts/easyapache You may select modules and […]

Continue Reading…