How to Enable or Disable Specific Webmail Applications in cPanel

Introduction

cPanel provides multiple webmail applications such as Horde, Roundcube, and SquirrelMail. In some cases, administrators may want to restrict users to a specific webmail client and disable others for simplicity or security reasons.

Prerequisites

Before proceeding, ensure the following:

  • Root or SSH access to the server
  • WHM access (for server-wide changes)
  • Basic knowledge of Linux command line
  • cPanel/WHM installed and running

Implementation

Option 1: Enable/Disable Webmail for a Specific User

Step 1: Login via SSH

Access your server using SSH.

Step 2: Navigate to User Configuration Directory

cd /var/cpanel/users/

Step 3: Edit the User File

Replace testuser with the actual cPanel username:

vi testuser

Step 4: Add or Modify the Following Lines

skiphorde=0
skipsqmail=1
skiprcmail=1
  • 0 = Enable
  • 1 = Disable

Example:

  • Horde → Enabled
  • SquirrelMail → Disabled
  • Roundcube → Disabled

Step 5: Restart cPanel Service

/etc/init.d/cpanel restart

Option 2: Enable/Disable Webmail Server-Wide

Step 1: Login to WHM

Step 2: Navigate to Settings

  • Go to Server Configuration
  • Click on Tweak Settings

Step 3: Configure Mail Options

  • Switch to the Mail tab
  • Disable:
    • Roundcube
    • SquirrelMail

Step 4: Save Changes

Click Save to apply the configuration.

Notes
  • These changes affect only the webmail interface visibility, not email functionality
  • SquirrelMail is deprecated in newer cPanel versions and may not be available
  • Restarting cPanel is required for user-level changes to take effect
  • Always take a backup before editing system files

Conclusion

By configuring user-level or server-wide settings, administrators can control which webmail applications are available in cPanel. This helps standardise the user experience and simplify email access for clients.

admin

Our team has expertise across software and web development, WordPress, e-commerce, mobile applications, UI/UX, cloud and infrastructure, DevOps, CI/CD, API integration, security, testing, automation, and technical support. The team also works with AI-based software solutions, LLMs, AI workflows, AI agents, and intelligent application development to help businesses automate processes and build smarter digital solutions. We focus on developing, deploying, maintaining, and optimising secure, scalable, and reliable technology solutions while helping businesses adopt modern technologies and drive digital transformation.

Leave a Reply

Scroll to Top