Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Seeker on February 06, 2006, 07:29:18 PM

Title: SME 7 webmail how do I?
Post by: Seeker on February 06, 2006, 07:29:18 PM
I have SME setup in sever mode and with webmail enabled I can only login via ssl https can this be changed to allow non ssl http?

Thanks in advance.
Title: Look for it on server-manager
Post by: Jáder on February 07, 2006, 03:50:33 PM
Do you look for it on server-manager ? http:IP/server-manager/

search on left column for e-mail and change from HTTPS only (recommended) to HTTP or HTTPS.

I´m saying this from memory about 6.01... not SURE this is on same place on 7

Good luck

Jáder
Title: SME 7 webmail how do I?
Post by: Seeker on February 07, 2006, 04:01:31 PM
It is not an option on 7 (see image) I actually need to set it to a non standard port.

(http://iwebsl.com/webmail.gif)
Title: SME 7 webmail how do I?
Post by: jfarschman on February 08, 2006, 03:26:06 PM
Seeker,

The answer is no... you cannot do that through the GUI in SME7.  As a SysAdmin I believe this is a good thing.  Any time a password travels across the Internet it should be encrypted.  

You probably noticed that the server-manager only accepts https connections.

Anyway, if you really must change this you can mess with the /etc/httpd/conf/httpd.conf  You may only have to change the redirects, but I'm not really sure.

RewriteRule ^/webmail(/.*|$)    https://%{HTTP_HOST}/webmail$1 [L,R]
RewriteRule ^/horde(/.*|$)    https://%{HTTP_HOST}/horde$1 [L,R]

Of course, you need to do this within the templating system or your work will be erased, but if you are new it's nice to work directly in the config file and then if you mess up you can just regenerate over the top of your mistakes.

Hope this helps.