Support / KnowledgeBase

 
Search the KnowledgeBase Search

How can I use SquirrelMail instead of Horde as my webmail client?

  • Applies to: All (dv)

  • Difficulty: Hard

  • Time needed: 20 minutes

  • Tools needed: SSH, Root Access

 
  • Applies to: (dv) 3.5
    • Difficulty: Easy
    • Time Needed: 20
    • Tools Required: SSH, root

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:

/etc/httpd/conf.d/zzz-squirrelmail.conf
  # 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.


User Comments

No visitor comments posted. Post a comment
Fields marked with an asterisk(*) are required. Comment on this article
Fill out the form below if you would like to comment on this article.
 
 
 

(code is not case-sensitive)
 
Submit
 
 

Continue