How to Enable/Disable SquirrelMail webmail on a cPanel/WHM Server
How to Disable SquirrelMail webmail on a cPanel/WHM Server
First you should login to WHM (webhost manager) to Disable SquirrelMail webmail server-wide.
1. Open a web browser and type the url https://yourserverIP:2087 to login WHM control panel.

Login to WebHost Manager
Enter server root login details in the username and password field to login WHM.

Login to WHM to Disable SquirrelMail webmail
2. Click on “Tweak Settings” under “Server Configuration”
Home »Server Configuration »Tweak Settings

Click on Tweak Settings
3. Under “Mail” tab there is option to Enable/Disable SquirrelMail webmail.

How to Disable/Enable SquirrelMail Webmail
By default “Enable SquirrelMail webmail” option will be enabled on all cPanel servers. Select the radio button “Off” to disable SquirrelMail and select “On” radio button to Enable SquirrelMail for all cPanel accounts.
4. Do not forget to click on save after making changes in tweak settings.
It is possible to Enable/Disable SquirrelMail webmail from server backend. Log into your Linux Server via SSH as root. Edit the file “/var/cpanel/cpanel.config” using vi editor and change the line “skiproundcube=0” to “skiproundcube=1”. 0 = Enabled, 1 = Disabled

How to Disable Enable SquirrelMail From Server Backend
Restart cPanel service after making changes in “cpanel.config” file.
Command to restart cPanel service : #service cPanel restart