Koozali.org: home of the SME Server

SOLVED! How can I disable webmail SSL? Internal mail server only inside a VPN

Offline ruipedroca

  • ****
  • 86
  • +0/-0
Hi,

How can I disable webmail SSL?
We're on an internal mail server only inside a VPN, so I think is pretty safe to disable it, right?


I've tried this, but it didn't work:

# config setprop pop3 access public
# signal-event email-update
# svc -t /service/pop3s 

which I've read here:
http://wiki.contribs.org/Email#POP3_.26_webmail_HTTP

Thanks in advance!

« Last Edit: April 06, 2009, 03:35:20 AM by ruipedroca »
Live and let die

Offline ruipedroca

  • ****
  • 86
  • +0/-0
Re: How can I disable webmail SSL? Internal mail server only inside a VPN
« Reply #1 on: April 05, 2009, 10:02:25 PM »
bump
Live and let die

Offline versa

  • ****
  • 109
  • +0/-0
Re: How can I disable webmail SSL? Internal mail server only inside a VPN
« Reply #2 on: April 05, 2009, 10:25:04 PM »
You could try the commands at the end of this post
http://forums.contribs.org/index.php/topic,36722.0.html
I cannot say if it works though, I would be reluctant to try it myself
......

Offline johnp

  • *****
  • 312
  • +0/-0
Re: How can I disable webmail SSL? Internal mail server only inside a VPN
« Reply #3 on: April 06, 2009, 01:34:54 AM »
Did the configuration - email panel in server-manager not function properly? If so please raise a bug

Offline ruipedroca

  • ****
  • 86
  • +0/-0
Re: How can I disable webmail SSL? Internal mail server only inside a VPN
« Reply #4 on: April 06, 2009, 02:50:09 AM »
Hi versa and johnp,

It works!
But as johnp guessed, email panel in server-manager is not function properly.

Detailled steps:

1st, I've run:
# db configuration show horde [step not needed, but I was curious]
# db configuration show imp [step not needed, but I was curious]
# db configuration setprop imp access full
# db configuration setprop imp status enabled
# db configuration setprop horde access full
# db configuration setprop horde status enabled
# signal-event email-update
# db configuration show horde [just to see the differences with before]
# db configuration show imp [just to see the differences with before]

2nd:
Now, I was able to login to webmail using http or https

3rd:
I went to server-manager, and in email panel I see that field webmail is empty; when I click "change email access settings" it now shows disabled although in fact it's working.
So, to test it, I've changed to "allow both http and https".
Now, I can't login http://ip/webmail nor https://ip/webmail, and it shows both times:
"Not Found
The requested URL /webmail/ was not found on this server."
Note: https://ip/webmail makes the usual SSL certificate request appear in the browser.

4th:
I log again in server-manager, and change the webmail settings to "allow https".
I now try to login https://ip/webmail and it works.
Now, I close the browser and open it again and try http://ip/webmail and it redirects to https://ip/webmail, presenting the SSL certificate and allowing me to login successfully.

5th:
I now go to server-manager again and in "email access settings/webmail settings" I no longer have 3 choices, but only 2:
"Disabled"
"Allow https (secure)"
["Allow both http and https" is now missing]
So, I've reached the initial situation I was at the beginning.

6th step (same as 1st):
# db configuration setprop imp access full
# db configuration setprop imp status enabled
# db configuration setprop horde access full
# db configuration setprop horde status enabled
# signal-event email-update

7th and final step (same as 2nd):
Now, I'm again able to login to webmail using http or https:smile:


Now, as johnp suggested, I've raised a bug here:
http://bugs.contribs.org/show_bug.cgi?id=5139


Thanks!!
« Last Edit: April 06, 2009, 03:33:19 AM by ruipedroca »
Live and let die