Tuesday, 24 January 2012

Installation & Configuration of Squirrelmail

Installation & Configuration of Squirrelmail

•  Check that Squirrelmail is installed on the system.

# rpm –q squirrelmail

•  If squirrelmail is not installed on the system then install it through rpm:

# rpm –ivh squirrelmail (centos)

#apt-get install squirrelmail (ubuntu)

•  Now go to the squirrelmail directory, located in /usr/share.

# cd /usr/share/squirrelmail

•  Then go to the config directory:

# cd config

•  Now run one of the following commands to configure squirrelmail.

# ./conf.pl


perl conf.pl

 •  Now choose option 8 (Plugins) and select the plugins that you wish to provide to your webmail users.

*  Now add the below lines to httpd.conf

in centos

Alias /squirrelmail /usr/share/squirrelmail
<Directory /usr/share/squirrelmail>
  Options None
  AllowOverride None
  DirectoryIndex index.php
  Order Allow,Deny
  Allow from all

in ubuntu
add the below lines to virtual.conf

server {
    listen          80;
    server_name     mail.domain.com;

    location / {
    index index.php;
    root  /usr/share/squirrelmail;
    location ~ \.php$ {
    fastcgi_index   index.php;
    fastcgi_param     SCRIPT_FILENAME     /usr/share/squirrelmail$fastcgi_script_name;
    include      fastcgi_params;


•  Now open the browser with the following link:




No comments:

Post a Comment