|
CentOS Linux Server Guide |
Postfix Mail System - Step by Step Guide -Linux WebMail - SquirrelMail Installation on CentOS Linux |
|||||||||||||||||
|
Step1: Check if squirrelmail packages
already install
|
| rpm -qi squirrelmail |
If you do not have squirelmail installed, please install now using yum command. Please make sure that you have internet connection.
| yum -y install squirrelmail |
Now, we are ready to start configure our squirrelmail. Run the following command
|
/usr/share/squirrelmail/config/conf.pl |
Next, you will see the following screen. We can start to configure the squirrelmail's server setting. Press <2> and press <Enter Button>.
Note: You can customize the squirrelmail to your organization preference such as logos, organization name etc. under Main Menu's option 1.
|
SquirrelMail Configuration : Read: config.php
(1.4.0) --------------------------------------------------------- Main Menu -- 1. Organization Preferences 2. Server Settings 3. Folder Defaults 4. General Options 5. Themes 6. Address Books 7. Message of the Day (MOTD) 8. Plugins 9. Database 10. Languages D. Set pre-defined settings for specific IMAP servers C Turn color off S Save data Q Quit Command >> 2 |
Next, press <1> to configure our domain name
|
SquirrelMail
Configuration : Read: config.php (1.4.0) --------------------------------------------------------- Server Settings General ------- 1. Domain : localhost 2. Invert Time : false 3. Sendmail or SMTP : Sendmail A. Update IMAP Settings : localhost:143 (uw) B. Change Sendmail Config : /usr/sbin/sendmail R Return to Main Menu C Turn color off S Save data Q Quit Command >> 1 The domain name is the suffix at the end of all email addresses. If for example, your email address is jdoe@example.com, then your domain would be example.com. [localhost]: example.local |
Great! Next let us save the Squirrelmail Configuration. Press <s> to save and <q> to quit.
|
SquirrelMail Configuration : Read: config.php
(1.4.0) --------------------------------------------------------- Server Settings General ------- 1. Domain : example.local <-- take the changes here 2. Invert Time : false 3. Sendmail or SMTP : Sendmail A. Update IMAP Settings : localhost:143 (uw) B. Change Sendmail Config : /usr/sbin/sendmail R Return to Main Menu C Turn color off S Save data Q Quit Command >> s Data saved in config.php Press enter to continue...
Exiting conf.pl. |
Step3: Check your configuration
Open your browser. Then enter the address http://your-ip-address/src/configtest.php. This will run a test on your squirrelmail configuration. For security concern, you might need to move the configtest.php to some other location after the installation. The example below shows the result page of the test
SquirrelMail configtestThis script will try to check some aspects of your SquirrelMail configuration and point you to errors whereever it can find them. You need to go run conf.pl in the config/ directory first before you run this script.
Checking PHP configuration... Congratulations, your SquirrelMail setup looks fine to me! |
Note: For maximize the security, perhaps you should rename or move the configtest.php somewhere and remove the SquirrelMail version display at SquirrelMail Login Page.
Step4: Restart Apache server
Now, let us restart the apache server and make sure the apache services automatic start-up when system boot.
service httpd startchkconfig httpd on |
Step5: Login your webmail
You can now access your webmail using http://ipaddress/webmail
If you prefer to access SquirrelMail from the root of your domain, we need to do a little trick called "URL redirection".
Create the file /etc/httpd/conf.d/sqroot.conf
vim /etc/httpd/conf.d/sqroot.conf |
Now, add in lines below and save it.
|
<VirtualHost *:80> DocumentRoot /usr/share/squirrelmail </VirtualHost> |
Then, restart your appache services and test it using http://ipaddress
service httpd restart |
Back to Step by Step Guide on CentOS Linux Postfix Mail Server
|
Copyright 2011 http://www.1a-centosserver.com All Rights Reserved All trademarks are the property of their respective owners. Contact Us | Terms of Use | Privacy Policy |