We have Exchange 2003. In the past the Outlook Web Access (OWA) didnt work. For people to pick up their email we set up a VPN connection through the SME 7.6 . so their phones could pick up their email via vpn.
Recently we got OWA to work. When the OWA started working I think the users who in the past used their phones to grab their mail stopped working. Part of the process to get the OWA working was to use ProxyPass to get through the back door to the exchange server inside the network. The code we used I have posted below but it is the same code found Here:
http://wiki.contribs.org/SME_Server:Documentation:ProxyPassis I provide it just to be thorough below. It works great. BTW. a.b.c.d. is to be replaced with my internal IP address.
Now of course when people go to
https://myserver.com/exchange they can get to their outlook mail that is behind the SME server. But again the problem is that phone users now cannot pick up their email via their mail apps.
I'm wondering if some how setting up proxypass has messed/changed with the way the mail is picked up so that the phone's cannot pick up their email. I just don't now. I do believe that the the vpn connection is making a connection to the sme comptuer. So the VPN is working. I verify this by creating a vpn connection on a phone with the same pw etc that the phone users use then browsing with Safari on the phone to the sme server via its internal IP eg
http://10.1.0.1/server-manager. This works which means that the vpn is making a connection to the linux computer and connecting up.
To conclude:
Can anyone provide any feedback on this. Why after I got OWA working (with Proxy Pass) did my vpn/email pickup stop working. (and of course how to fix so both work)
I recognize that some may say well this is an exchange question, and Im asking there too but Im hoping that becasue SME is in the process someone here might have had this problem also or be able to provide some insights.
Thanks.
-----------------------------------
mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
echo '# ProxyPass Support for Internal Exchange Server
ProxyPreserveHost On
#OWA % character in email subject fix
RewriteEngine On
RewriteMap percentsubject int:escape
RewriteCond $1 ^/exchange/.*\%.*$
RewriteRule (/exchange/.*) ${percentsubject:$1} [P]
#OWA
ProxyPass /exchange
https://a.b.c.d/exchange ProxyPassReverse /exchange
https://a.b.c.d/exchange ProxyPass /Exchange
https://a.b.c.d/exchange ProxyPassReverse /Exchange
https://a.b.c.d/exchange ProxyPass /exchweb
https://a.b.c.d/exchweb ProxyPassReverse /exchweb
https://a.b.c.d/exchweb ProxyPass /public
https://a.b.c.d/public ProxyPassReverse /public
https://a.b.c.d/public ProxyPass /iisadmpwd
https://a.b.c.d/iisadmpwd ProxyPassReverse /iisadmpwd
https://a.b.c.d/iisadmpwd #OMA
ProxyPass /oma
https://a.b.c.d/oma ProxyPassReverse /oma
https://a.b.c.d/oma #ActiveSync (for WM5+ devices)
ProxyPass /Microsoft-Server-ActiveSync
https://a.b.c.d/Microsoft-Server-ActiveSync ProxyPassReverse /Microsoft-Server-ActiveSync
https://a.b.c.d/Microsoft-Server-ActiveSync #Force 'RequestHeader' in order to get IE to work
# End of Exchange settings
' > 91ProxyPassOWA
expand-template /etc/httpd/conf/httpd.conf
sv restart httpd-e-smith
-----------------------------------------------------------