Block a malicious email address in cPanel

Log into the cPanel account and scroll down to the “Email Management Tools” box and enable SpamAssassin.

Click on “Configure SpamAssassin” button and set the score to 5 or 6. The greater the number the more SPAM you could receive.

Click on “save”.

You can also configure Mozilla Thunderbird to accept SpamAssasin’s headers to help it identify SPAM. Set it on your account settings on a “per account” basis.

Set filters in “Account Level Filtering”

You can add the filter for a specific email address from “cPanel>> Mail>> User Level Filtering” option to DISCARD the incoming emails from that malicious email address you want to block. Here are the steps to set a filter.

1. login to cPanel and go to “cPanel>> Mail>> User Level Filtering” option.

2. Add the following filter for your domain email accounts.


Select “From” from drop down menu, then you’ll need to select “Contains” from the drop down menu.


Enter the email address you want to block” and click on Activate button.

This filter will block one particular email address from coming into the email address on your domain email address\es and at the same time, your email address will not send any bounce back email message to the blocked email address.


How to install VMWare Player in Debian 8

First of all you will need to download the installation files from VMware official site

Open the terminal and go to the directory that the bundle has been downloaded to:

# cd ~/Downloads

Then you will need to make sure the permissions are correct by running the following command:

chmod +x VMware-Player-12.0.0-*.bundle

Then you will need to run the installer using the command:

# sudo ./VMware-Player-12.0.0*.bundle

For the free version you just need to add an email and then run through the installation.

How to setup software RAID 1 in Debian/Ubuntu

When getting to the partitioning disk section of the OS installation you will need to select:

  • Manual” under the Partitioning Method
  • On the next screen make sure both disks are visible and select the first disk and press Enter
  • A message may pop up warning you that you are about to create a new partition that will destroy any existing partition. Choose “Yes” to proceed.
  • You will notice that it will create a new partition at the bottom of the hard disk. Choose the new partition and hit Enter
  • Select the Create New Partition
  • When creating the partition for boot, just type 700MB or 1GB in the line depending on which server.
  • Choose “Primary” and press enter then “Beginning” and press Enter
  • On the next screen, select “Use As” and hit Enter
  • Choose the “Physical Volume For RAID” option
  • Make sure that the Bootable Flag is tuned On
  • Choose “Done Setting Up The Partition” to save the new partition
  • You will be taken back to the first screen. Next step is to choose the next free space and hit Enter
  • You will do the same as above but this is for swap so assign 1.5 x RAM in server
  • Then the left over space do the same and this is for the root partition
  • Now moving on to the second hard disk for the partitioning. Hit Enter and do the same partitioning with the 2nd hard disk to look like the first
  • After the 2nd hard disk has been partitioned, the overall partition configuration will be completed. So now move the selector to “Configure Software RAID” and hit Enter
  • Select “Yes” to accept the new partition changes
  • Now we will group the RAID hard disk. Select the “Create MD Device” option
  • Choose “RAID1
  • Leave the default number 2 for the number of RAID devices and select “Continue
  • On the next screen leave it as zero and select “Continue
  • Now select the SDA1 and SDB1 as we are creating the RAID for /boot
  • When it has been done, choose “Finish” to save the new RAID partition
  • Do the same for swap but select SDA2 and SDB2
  • Do the same for root but select SDA3 and SDB3
  • The initial software RAID is completed what’s left is to assign each RAID partition its role. Now select the RAID partition Device #0 for /boot setup
  • Choose the “Use As” and hit Enter
  • Choose the EXT3 Journaling File System (or EXT4 for Ubuntu) and hit Enter
  • Move the selector to the Mount Point: and hit Enter
  • Now select the /boot and hit Enter
  • Select the “Done Setting Up The Partition” to complete the /boot partition setup
  • Do the same for the swap and root paritions
  • Finally select the “Done Setting Up the Partition” to complete the procedure
  • The final partition should be like the picture below.
  • Once confirmed, move the selector to the “Finish Partitioning And Write Changes To Disk” and hit enter


How to install Thunderbird in Debian 8

First you will need to visit the Mozilla website to download the latest version of Thunderbird here:

This will download the file for example: thunderbird-45.5.1.tar.bz2 then we need to move the file into the /usr/ directory:

# sudo mv ~/Downloads/thunderbird-45.5.1.tar.bz2 /usr/

# cd /usr/

# sudo tar xvf thunderbird-45.5.1.tar.bz2

Once this has completed extracting you will then need to press the key in between ctrl & alt, which is usually the Windows key.

Then in the search box type main menu and press enter. Then in the main menu click on “Internet” which is on the left side bar and then click “New item” on the right side bar.

Now on the top left side there is an empty icon button press on that and navigate to:

Computer > usr > thunderbird > chrome > icons > default and select the “default256.png”

In the name section type “Thunderbird” and for the command section type “/usr/thunderbird/thunderbird-bin” and then click on “Ok”

Now that Thunderbird is installed and you have created a launcher you can press the Windows key and search for Thunderbird or even add it to your favourites.


Installing Magento through Installatron requirements missing error in WHM

Installing Magento through Installatron requirements missing error:

php-intl-version-minimum v1 (detected: OFF) php extension
php-memory-limit 128MB (detected: 32MB)

You will need to install php-intl-version-minimum in EasyApache:

Home >> Software >> EasyApache then click on customize

Then under PHP Extensions you will need to find php-intl-version-minimum and click the tab to install.

Once you have done this you will need to click on the “Review section” then click the “Provision” button at the bottom of the page.

Then for the php-memory-limit t you will need to go to:

Home >> Software >> MultiPHP Manager to see which PHP version is installed.

Now click on “MultiPHP INI Editor” and select that PHP version in the drop down box.

Find “memory_limit” and increased to 128M and then click on “Apply” at the bottom of the page.

Then run the Magento installation through Installatron again.

Roundcube – IMAP Server dropping the connection

When trying to log into your email account via the Roundcube webmail client and IMAP keeps dropping the connection you can fix this by:

  • #tail -20 /var/cpanel/roundcube/log/errors  —>To check the logs
  • #/etc/init.d/courier-imap restart                       —>To restart the IMAP service
  • #/scripts/courierup –force                                  —>To update the IMAP server

If the issue is still not resolved then you may need to change the permissions of the mail directory with the command below but make sure the username is the username from cPanel:

  • #chown -R username:mail /home/username/mail
  • #chown -R username:mail /home/username/etc