How to Install Squirrelmail on CentOS 7!!

How to Install Squirrelmail on CentOS 7!!

Image result for steps for installing squirrelmail on centOS 7

What SquirrelMail basically is?

SquirrelMail is a standards-based webmail package written in PHP. It includes built-in pure PHP support for the IMAP and SMTP protocols, and all pages render in pure HTML 4.0 (with no JavaScript required) for maximum compatibility across browsers. It has very few requirements and is very easy to configure and install.

Project origins
The need arose in our organization for the access of email and address books from anywhere in the world. Obviously a web interface is ideal for this, given that the user has access to the Internet. After reviewing several open source projects we realized that we were going to need to do some fairly major customizations to get things to be a nice fit for our needs. So the decision was made to create our own for some of these reasons, and for fun (we really like PHP). To know more about history, go here.

SquirrelMail is licensed under the GNU General Public License (GPL), so there are no license fees to worry about.


  • A web server with PHP installed. PHP needs to be at least 4.1.0. PHP 4, PHP 5 and PHP 6 are all supported.
  • Access to an IMAP server which supports IMAP 4 rev 1.


To start the Squirrelmail installation, login to your CentOS 7 VPS via SSH as user root

ssh [email protected]_address -p PORT_NUMBER

and make sure that all installed packages on your server are up to date

yum -y update

Squirrelmail package is not available in the official CentOS 7 repositories. hence we will have to enable EPEL repository with the following command

yum -y install epel-release

Now, the Squirrelmail installation is pretty simple and it can be installed through CentOS package manager

yum -y install squirrelmail

Once the webmail client is installed, you can configure it according to your needs by running the configuration script

cd /usr/share/squirrelmail/config/

There are different settings in the configuration file, but main things that should be checked and configured are:

  • Set your default domain name (2. Server settings > 1. Domain)
  • Addresses of IMAP and SMTP servers.
  • Type of IMAP server

It is also recommended to modify the organization preferences such as, organization name, logo, title, etc..

Alternatively, Squirrelmail can be installed by downloading its files directly from their official website and place them in the document root directory of your web server.Once everything is installed and properly configured, you will be able to access Squirrelmail at http://yourIPaddress/squirrelmail . Login with your email account, and start managing your emails through a web browser.

Comments 0

Leave a Reply

How to Install Squirrelmail on CentOS 7!!

log in

reset password

Back to
log in
Choose A Format
Formatted Text with Embeds and Visuals
%d bloggers like this: