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 or sudo access, vi knowledge

 
  • Applies to: (dv) 3.5
    • Difficulty: Hard
    • Time Needed: 20
    • Tools Required: SSH, root or sudo access, vi knowledge

Overview

If you have installed SquirrelMail and want to use webmail.dv-example.com domain name to access it, you will need to configure Plesk to use SquirrelMail instead of Horde Webmail. The following instructions will guide you to change the default webmail client to SquirrelMail.

Requirements

Before you start, this article has the following dependencies:

End of Life Warning

This service has a pending End of Life. Please move to a current service as soon as possible. For more information, please see: (dv) Dedicated-Virtual 4.0: Migration Information.

READ ME FIRST

This article is provided as a courtesy. Installing, configuring, and troubleshooting third-party applications is outside the scope of support provided by (mt) Media Temple. Please take a moment to review the Statement of Support.

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 squirrelmail.conf and put your new virtualhost configurations into it like below:

Filename: 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. Be sure to replace IP addresses and the path to the SquirrelMail installation with your own values.

Finally, you will need to restart Apache. You should be able to access SquirrelMail at http://webmail.dv-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