Haneef Puttur

Install ISPConfig3 on an Ubuntu 14.10 Server – Part 5

Back to Part 4

Configure Squirrel Mail:

Then create the following symlink…
sudo ln -s /usr/share/squirrelmail/ /var/www/webmail

sudo squirrelmail-configure

Select D

Select courier

Then press enter to continue

 

Press S

 

Press Q

 Making The  /squirrelmail working

Link squirrel mail config to apache2
sudo ln -s /etc/squirrelmail/apache.conf /etc/apache2/conf-enabled/squirrelmail.conf

Open config
sudo nano /etc/apache2/conf-enabled/squirrelmail.conf

Then Add

Alias /squirrelmail /usr/share/squirrelmail   
<Location /squirrelmail>
<IfModule suphp_module>
suPHP_Engine Off
AddHandler php5-script  .php
</IfModule>
php_admin_value open_basedir "/usr/share/squirrelmail/:/usr/share/squirrelmail/config/:/etc/mailname/:/var/lib/squirrelmail/data:/var/spool/squirrelmail/attach"
</Location>

 

Making Squirrelmail work as /webmail

Add following line to

Alias /webmail /usr/share/squirrelmail

Then restart Apache to affect.
sudo service apache2 restart

Continue to Part 6

.

Exit mobile version