How to forcefully redirect squirrelmail to https
Go to installation directory
cd /var/www/html/squirrelmail-1.4.22/
vi .htaccess
DirectoryIndex index.php
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(.*)$ https://%{SERVER_NAME}/squirrelmail/src/login.php [L,R=303]
</IfModule>






