Koozali.org: home of the SME Server

Moving what "WEBMAIL" points to

Offline ceebster

  • **
  • 40
  • +0/-0
Moving what "WEBMAIL" points to
« on: November 06, 2005, 11:45:45 PM »
Hi Folks

Have SME 6,5 server working great mail etc .., but my customer has purchased a Exchange server which i have all set up - how do i change the www.domain.com/webmail to point to the new exchange server rather that sme webmail

Thanks

Chris

gbaird

Webmail points to
« Reply #1 on: November 07, 2005, 04:39:49 AM »
With Sme as with most Apache web servers webmail is an alias

You can modify the http.conf to point it to wherever you want

Sme has used templates to do this so they need to be changed instead of the direct http.conf like all other systems

edit the /etc/e-smith/templates or the /etc/e-smith/templates-custom to do this

look for the http.conf and change the alias to webmail
it is the same for using apache's http.conf

alias billybob /my/webmail/directory

get it?

now billybob points to your webmail directory

hope this helps

Crome

Moving what "WEBMAIL" points to
« Reply #2 on: February 01, 2006, 11:33:21 AM »
Will this also work if you point the alias to an internal web site? Do you need additional config on SME or will SME just forward the http traffic to the inside??

Crome

Moving what "WEBMAIL" points to
« Reply #3 on: February 02, 2006, 08:31:33 AM »
Quote from: "Crome"
Will this also work if you point the alias to an internal web site? Do you need additional config on SME or will SME just forward the http traffic to the inside??

Don't bother. I tried it and indeed SME proxies requests to internal webservers without a problem. I used the dmc-mitel-proxypass-0.0.1-4.noarch.rpm contrib to achieve this.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Moving what "WEBMAIL" points to
« Reply #4 on: February 05, 2006, 05:07:10 PM »
Quote from: "Crome"
Quote from: "Crome"
Will this also work if you point the alias to an internal web site? Do you need additional config on SME or will SME just forward the http traffic to the inside??

Don't bother. I tried it and indeed SME proxies requests to internal webservers without a problem. I used the dmc-mitel-proxypass-0.0.1-4.noarch.rpm contrib to achieve this.


There's no need to use any contrib to proxy pass URLs. It's a builtin feature. You just need to set up some database entries from the command line. Search for ProxyPass here and you should find details.