How can I use SquirrelMail instead of Horde as my webmail client?
Introduction
If you have installed SquirrelMail and want to use webmail.example.com domain name to access it, but Plesk configures this domain name to point to Horde Webmail instead, the following instructions will guide you to change the default webmail client to SquirrelMail.
Instructions
First, you will need to redefine both HTTP(80) and HTTPS(443) VirtualHosts of Plesk Webmail and point them to the SquirrelMail location.
Create new configuration file like /etc/httpd/conf.d/zzz-squirrelmail.conf and put your new virtualhost configurations into it like below:
# Non-SSL host <VirtualHost \ 123.123.123.123:80 \ 123.123.123.124:80 \ 123.123.123.125:80 \ > DocumentRoot /usr/share/squirrelmail ServerName webmail ServerAlias webmail.* Alias /horde /usr/share/squirrelmail. <Directory /usr/share/squirrelmail> php_admin_flag engine on php_admin_flag magic_quotes_gpc off php_admin_value safe_mode off </Directory> </Virtualhost> # SSL host <IfModule mod_ssl.c> <VirtualHost \ 123.123.123.123:443 \ 123.123.123.124:443 \ 123.123.123.125:443 \ > DocumentRoot /usr/share/squirrelmail ServerName webmail ServerAlias webmail.* Alias /horde /usr/share/squirrelmail SSLEngine on SSLVerifyClient none SSLCertificateFile /etc/httpd/conf/httpd.pem <Directory /usr/share/squirrelmail> php_admin_flag engine on php_admin_flag magic_quotes_gpc off php_admin_value safe_mode off </Directory> </Virtualhost> </IfModule>
Save this file to the directory /etc/httpd/conf.d making sure to replace IP addresses and the path to your SquirrelMail installation with your own values. Then restart Apache and you should be able to access SquirrelMail at http://webmail.example.com.