Messenger express(iMS 5.2) through firewall using apache Proxypass and ProxyPassReverse

I am trying to get a reverse proxy setup to server my internal email to the intranet. I have this code in my http.conf:

<VirtualHost dmz.server.com>

ServerName email.internal.com

ProxyRequests on

ProxyPass /webmail/ http://email.internal.com:180/

ProxyPassReverse /webmail/ http://email.internal.com:180/

ProxyVia on

</VirtualHost>

when I enter http://dmz.server.com/webmail/ I get my login screen. I enter my id and password and click continue, the browser gives me url not found.

This url is now in the browser:

http://dmz.server.com/en/mail.html?sid=sfdefrafefwe&lang=en&cert=false

I can edit the url in the browser to add webmail as in:

http://dmz.server.com/webmail/en/mail.html?sid=sfdefrafefwe&lang=en&cer t=false

and the browser will then display my email folders.

Am I missing something here? How can I get the correct url to be returned with webmail in it?

How do others handle serving internal email to the internet? I also have iWS6.0, which i have not tried.

Any suggestions would be appreciated!

[1154 byte] By [708352] at [2007-11-25 7:13:02]
# 1

Why not use the MEM of 5.2? The MEM is a webmail proxy that allows you to have users all use say webmail.domain.com while you have multiple mail stores.

If you want to contine using the method you're testing now then you need to not use http://hostname/webmail/.

Since you've set this up as a Virtual Host then you should be able to set the ProxyPassReverse to

ProxyPassReverse / http://email.internal.com:180/

If you've got something important at / then either move that or use another virtual host and use / under it.

-Chad-

708686 at 2007-6-29 17:47:11 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...