BuycPanel Blog

BuycPanel Blog

Latest news and updates

Customize your SquirrelMail

Posted by Allison on 06 03 2017.

When you want to use SquirrelMail as your webmail application for your cPanel and WHM versions 11.44 or earlier, know that you can actually get more from it through customizing its installation.

 

Keep in mind though that the general guidelines outlined below pertain only to customizing the installation process and not the entire application. When you customize the entire SquirrelMail app, you can gain full control of it, but cPanel will support these customizations.

 

Customizing Installation General Guidelines

 

Prior to customizing the installation of your SquirrelMail, it pays to know how cPanel and WHM updates the webmail program. When a user has this particular webmail app, cPanel & WHM updates it through the following:

 

 	Executing the /scripts/upcp script for the update.
 	Runs the /usr/local/cpanel/install/webmail script for the update.
 	The script “/usr/local/cpanel/install/webmail” executes another script, this time, the “/usr/local/cpanel/bin/update-squirrelmail script”.

 

There are many reasons why the script: /usr/local/cpanel/bin/update-squirrelmail runs whenever cPanel & WHM updates. This…

When you want to use SquirrelMail as your webmail application for your cPanel and WHM versions 11.44 or earlier, know that you can actually get more from it through customizing its installation.

 

Keep in mind though that the general guidelines outlined below pertain only to customizing the installation process and not the entire application. When you customize the entire SquirrelMail app, you can gain full control of it, but cPanel will support these customizations.

 

Customizing Installation General Guidelines

 

Prior to customizing the installation of your SquirrelMail, it pays to know how cPanel and WHM updates the webmail program. When a user has this particular webmail app, cPanel & WHM updates it through the following:

 

  • Executing the /scripts/upcp script for the update.
  • Runs the /usr/local/cpanel/install/webmail script for the update.
  • The script “/usr/local/cpanel/install/webmail” executes another script, this time, the “/usr/local/cpanel/bin/update-squirrelmail script”.

 

There are many reasons why the script: /usr/local/cpanel/bin/update-squirrelmail runs whenever cPanel & WHM updates. This is because it performs many important actions, including the following:

 

  • Using the command “rm -rf /usr/local/cpanel/base/3rdparty/squirrelmail” to get rid of the existing installed SquirrelMail.
  • Extracting the right source tarball of SquirrelMail to the directory: “/usr/local/cpanel/base/3rdparty/”.
  • Changing the Squirrel installation ownership and naming it to the root user as well as the wheel group.
  • Revising the data directory permissions of the SquirrelMail app to 755.
  • Checking for the presence of the file named: /var/cpanel/squirrelmail/install.
  • Extracting the IMAP configuration values and then copying them into their appropriate locations.

 

Ways to Customize your SquirrelMail Installation

 

Below are some of the ways on how you can customize the installation process of your SquirrelMail app for your cPanel & WHM account:

 

 

Customizing your SquirrelMail installation can take the form of installing a new plugin. It takes four steps to do this, including uncompressing, configurating, enabling, and testing.

 

  1. Website customizations

 

Go to “1. Organization Preferences” so that you can see the available configuration options handling the customization of SquirrelMail for your site. When you want to perform the configuration manually, you can check the headline: /*** Organization preferences ***/.

 

  1. Styles and themes

 

You can customize the appearance of your SquirrelMail interface through choosing a custom font style or theme. You will find these options under the “5. Themes” of the configuration tool. Opt to do the configuration manually, and you can just check the same options under “ * Themes.”

 

Themes available for SquirrelMail basically define the color of your interface. Every theme has their own set of colors comprised of 17 or even more.

 

When you want to create your own theme, just head to the directory: “themes/”. Here, create a file and name it based on your own preference, for instance “mytheme_theme.php”. After this, create an array that includes 17 elements from 0 to 16.

 

  1. Languages

 

You can also customize your SquirrelMail interface to use your preferred language. In fact, you can use many different languages depending on your requirements. You can set the default language through the SquirrelMail configuration utility. To use another language, just go to “Options” then “Display Preferences”.

 

There are several other ways to customize your SquirrelMail installation for your cPanel & WHM account, and the four mentioned above are just for starters.