Koozali.org: home of the SME Server

A Question regarding Proxy Pass

Offline mchettle

  • *
  • 11
  • +0/-0
A Question regarding Proxy Pass
« on: January 27, 2009, 09:31:15 AM »
I have a question on the use of Proxy Pass. In the documentation http://wiki.contribs.org/SME_Server:Documentation:FAQ#Proxy_Pass , in the note at the base of the process, it says the original virtual domain (as entered using the domains panel) must be removed.
My question is what happens to emails sent to a user on the virtual domain that has been entered using the Proxy Pass method?
A second semi related question is can this method be used to direct sub-virtual domains to different IP addresses: ie: xyz.proxypassdomain.com to IP XXX.XXX.XXX.XXX, and abc.proxypassdomain.com to IP ZZZ.ZZZ.ZZZ.ZZZ

Thanks for the help,
Great work by all.
Mark

Offline Boris

  • *
  • 783
  • +0/-0
Re: A Question regarding Proxy Pass
« Reply #1 on: January 28, 2009, 06:35:26 PM »
1. Delivered e-mail already stored in the SME user folder unless forwarded to another account outside of SME. Therefore e-mail that already received, will stay, but the new e-mail to the removed virtual domain will not be accepted. Proxypass only affects HTTP, HTTPS redirection, not the e-mail, ssh or other TCPIP services.
2. Yes. Using IP number instead of DNS name works, as long as that IP is accessible from the SME server. ProxyPass uses full exact URL, so you can differentiate between xyz.virtualdomain.com and abc.virtualdomain.com. using just virtualdomain.com (without abc. or xyz.) will not be resolved unless proxypass redirector is also used for it.
You also can use http://klm.virtualdomain.com -> http://1.2.3.4/klm/ format to use subfolders on the webserver
...