squirrelmail and ssl redirect

vancocom

Verified User
Joined
Jul 12, 2007
Messages
30
I set my squirrelmail folder to redirect to https, but it ended up making it so that my customers (only a handful so far as I'm sorting out the last of the details) cannot use squirrelmail with their own domain (invalid SSL errors).

What would be the best way to ensure that anyone using my domain's squirrelmail (or any other mail client) is forced to ssl, but allow other domains to use standard http for ease of use?

I was thinking of setting up a webmail subdomain and copying the webmail programs to it for my own use and force ssl that way, but this would make it so that I'd have to mod the DirectAdmin skin to handle the new paths as well as having to make sure the upgrades take place properly. I was wondering if anyone else might have a better suggestion

If so, please post it, and thank you ahead of time!
 
Matters on how you redirected it. Why cant you just redirect them to your secure url?
 
I was thinking of doing that, but one customer wanted to log into squirrelmail using his own domain. I didn't want to restrict my options long term by forcing a redirect to my own website.

I'd like my customers to at least have the option of using their own domain to check e-mails online, and using that as a sales pitch for a static IP and SSL cert for the customers. If I forced a redirect to my site this wouldn't be possible.

Thank you for the suggestion.
 
Well then I dont know what method you are doing the redirect. Where is it happening at?
 
My apologies for missing that detail. I had set up an .htaccess file in the squirrelmail folder. It was taking an http connection to the squirrelmail folder and changing it to https. This triggers the use of my server's cert, which when used with another domain it causes the browser to throw an SSL error stating that the cert is invalid.

For the moment I've removed the .htaccess file so that customers can use squirrelmail normally.
 
We don't force our clients to use https. They can use it or not in the standard DirectAdmin install, and they can use either your Certificate with your server hostname:
Code:
https://server.example.com/squirrelmail
or their Certificate with their domain name:
Code:
https://their.example.com/squirrelmail
Jeff
 
Back
Top