From: BrianLy » Mon, 13 February 2006 17:37 [message #33684]
Hi
I'm running Kerio with IIS6 on a single server for my company, and thought the following might be useful for others. It can probably be improved somewhat and may not be valid in large scale production environments. Use at your own risk, mileage varies etc.
Problem:
At some client sites, my webmail has been inaccessible due to blocking of urls with port numbers. I can't run Kerio on port 80 since I need to run IIS there.
Kerio WebMail (insecure, non-SSL version) was running at http://mycompany.com:8383.
Solution:
1) Create a new Website (eg. http://mail.mycompany.com in IIS to give you some isolation from other applications. Read up on IIS to understand this process and how to best configure for your needs.
2) Install ISAPI Rewrite from http://www.isapirewrite.com. I guess you could use another ISAPI filter instead if you desire.
3) Install an SSL certificate in your IIS site (optional).
4) Test ISAPI Rewrite installation.
5) Add this rule to your httpd.ini file if your Kerio webmail is on port 8383. (Points to your non-SSL webmail, since IIS can handle this)
RewriteCond Host: (?:mail\.)?mycompany\.com
RewriteProxy (.*) http\://mycompany.com\:8383$1 [I,U]
You can now access your webmail at http://mail.myorganisation.net
-Brian
- BrianLy
-
Messages: 3
-
-
|
From: qbjack » Sat, 14 March 2009 12:32 [message #60299]
Hello BrianLy.
I followed your Instructions on a W2K3 Server with IIS 6 but I only get a "Directory listing not allowed" message. Can you give me some hints please.
Thanks.
- qbjack
-
Messages: 3
-
-
|
From: TorW » Sat, 14 March 2009 14:29 [message #60301]
You likely need to set index.php as default document in the new website. By default only default.asp and index.htm is set up.
- TorW
-
Messages: 357
-
-
|
From: qbjack » Sun, 15 March 2009 15:30 [message #60314]
OK, thanks. I've got it. There was something wrong with the rewriter installation.
Now another problem:
I can not sync with my Symbian phone over the proxied KMS (webmail). The client tells me the password is wrong. Same credentials but connected directly to the KMS, works flawlessly.
Here is some log output from IIS. I get a 401 error but the password and the username is definetely correct.
2009-03-16 19:43:50 W3SVC1719304455 XX.XX.XX.XX OPTIONS /Microsoft-Server-ActiveSync User=thomas&DeviceId=IMEIxxxxxxxxxxxxxxx&DeviceType=IMEIxxxxxxxxxxxxxxx 80 - XX.XX.XX.XX NokiaN82/2.07(0)MailforExchange 401 5 0
Any ideas?
Thanks.
[Updated on: Mon, 16 March 2009 20:58]
- qbjack
-
Messages: 3
-
-
|