If your using Horde as your preferred webmail client on a Plesk virtual hosting server, its advisable to enable the use of HTTPS in order to secure webmail users against their login information and email communication being compromised.
To force HTTPS within Horde:
# vi /etc/psa-webmail/horde/horde/conf.php
Then change:
$conf['use_ssl'] = 2;
to:
$conf['use_ssl'] = 1;
Next edit the Horde virtual host file:
vi /etc/httpd/conf.d/zzz_horde_vhost.conf
And the following just below the "
ServerAdmin email@address.com" line :
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
Make sure to tab the lines in to match the delimiter of the previous servername/alias/admin lines.
Now restart Apache so it can pickup the changes:
# /etc/init.d/httpd restartNow the connections should be re-directed from
http://webmail.your-domain.com to
https://webmail.your-domain.com .