How to install SquirrelMail on CentOS 7In this tutorial, we will teach you how to install SquirrelMail on CentOS 7. I have talked about the CentOS and SquirrelMail earlier, the details of which you can read in these articles:
How to install SquirrelMailThe installation and configuration of SquirrelMail is an easy and simple task. Remember that, if you have a VPS with WHM/cPanel or DirectAdmin, SquirrelMail will come pre-installed and ready to use with those control panels.
SquirrelMail has only two requirements:
- 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.
Step 1: Login via SSH.To begin with, the SquirrelMail Installation, log into your CentOS 7 VPS via SSH as user root.
ssh [email protected]_address -p PORT_NUMBER
Step 2: Updating every package installed.You need to ensure that every package installed on your server is up-to-date.
yum -y update
Step 3: Enabling EPEL repository.SquirrelMail package will not be available in the official CentOS 7 repository. Therefore, you will need to enable the EPEL repository using the command below.
yum -y install epel-release
Step 4: Installing SquirrelMail for CentOS 7.Next, start installing SquirrelMail which should be easy; it can be installed through CentOS package manager using the following command.
yum -y install squirrelmail
Step 5: Configuring SquirrelMail.After the webmail client is installed, you may configure it according to your needs by executing the configuration script.
cd /usr/share/squirrelmail/config/ ./conf.pl
SquirrelMail Configuration : Read: config.php (1.4.0)——————————————————— Main Menu —
- Organization Preferences
- Server Settings
- Folder Defaults
- General Options
- Address Books
- Message of the Day (MOTD)
- Set pre-defined settings for specific IMAP servers
Step 6: Other Configurations.There are various other settings in the configuration file, however, the main things that need to be checked and configured are as follows:
- Set your default domain name (2. Server settings > 1. Domain)
- Addresses of IMAP and SMTP servers.
- Type of IMAP server
Step 7: Alternative Installation.Alternatively, you can install SquirrelMail by downloading its files from the official website and placing them in the document root directory of the web server.
wget http://downloads.sourceforge.net/project/squirrelmail/stable/1.4.22/squirrelmail-webmail-1.4.22.zip unzip squirrelmail-webmail-1.4.22.zip -d /var/www/html/ mv /var/www/html/squirrelmail-webmail-1.4.22/ /var/www/html/squirrelmailAfter everything is installed and properly configured, you should be able to access SquirrelMail at ‘SquirrelMail‘. Login using your email account and begin managing your emails from a web browser. One more thing… Share this tutorial with your hosting administrators and networking experts friends, as it will help them and make my countless hours of work count. Thanks!
Updated on 11 Sep 2018
Add a comment