Andy,

Thanks for the info!
Can this be done on ONE PC?

regards,

Patrick Mast
www.Patrick.be.kz


>    We have hundreds of domains using web mail with automatic 
> redirection and we
> have setup a simple way to do a redirect for all of them.
> We tell our customers to simply type in 
> http://webmail.their_domain.com and this
> procedure does the rest:
> 
> 1) On IIS we setup a web server using a single IP address. (lets 
> pretend its
> 192.168.1.100)
> 
> 2) We created a file called default.asp and put it into the 
> document root for
> this web server. The contents of this file are:
> 
> <%
>  'This script redirects a users webmail request to the proper domain
>  'request required by Imail which is mainly :8383
> 
> If InStr( lCase(Request.ServerVariables("SERVER_NAME")),  
> lcase("webmail") ) > 0
> Then 'eol
>  dim getdomain,namesize   ' eol
>  namesize = len(LCase(Request.ServerVariables("SERVER_NAME"))) 'eol
>  getdomain = 
> mid(LCase(Request.ServerVariables("SERVER_NAME")),8,namesize) 'eol
>  getdomain = "http://mail" & getdomain & ":8383" 'eol
> Response.Redirect(getdomain) 'eol
> 
> End if
> %>
> 
> 3) IN the DNS record for w2khosting.com (our primary domain name) 
> we created an
> A record called webmailsrvr.w2khosting.com:
> 
> webmailsrvr    IN    A 192.168.1.100
> 
> 4) In the DNS record of ALL our Imail customers domains we put in a CNAME
> record:
> 
> webmail     IN  CNAME  webmailsrvr.w2khosting.com.
> 
> Thats it!
> 
> In step 4) you could have used an A record pointing to the IP address
> 192.168.1.100 instead of a CNAME but we wanted flexibility in 
> case we ever had
> to move the web mail redirect server
> 
> Please note in the script above I put 'eol in the script to 
> denote end of line
> in case my mail client wraps the line and makes the script unreadable.
> 
> 
> Andy Paluch
> 
> 
> 
> 
> ----- Original Message -----
> From: Len Conrad <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, October 22, 2000 5:56 PM
> Subject: RE: [IMail Forum] http://www.domain.com:8383 ??
> 
> 
> : I think it was in this the list just a few days ago where people were
> : talking about how to use IIS to "redirect" http page requests for
> : mail.patrick.be.kz arriving at default port 80 listened to by IIS to
> : port 8383 listened to by Imail.
> :
> : If I'm dreaming or confused or misunderstood what they were talking
> : about and that's not do-able, then the answeer is "no":
> :
> : Imail will listen on ports 80 or 8383 or 8181 wherever you tell it
> : and on ALL ip's on the machine.
> :
> : IIS must listen on other ports.
> :
> : ie, Imail and IIS cannot both cannot listen on port:80.
> :
> : Len
> :
> : =====================
> :
> :
> : >Len
> : >
> : >I cannot do this if I have IIS5 on the same machine not?
> : >
> : >Patrick
> : >
> : > > >Now I need to do http://www.Patrick.be.kz:8383 to login to 
> my webmail.
> : > > >How can I make it so that i can do http://mail.patrick.be.kz to
> : > > get to the
> : > >
> : > > In Imail:
> : > >
> : > > set web mail port to :80 (can't have IIS there)
> : > >
> : > > In dns:
> : > >
> : > > mail.patrick.be.kz   A    ip.ad.re.ss   ; of your virtual host
> : > >
> : > > in browser:  http://mail.patrick.be.kz and logon
> : > >
> : > > Len
> : > >
> : > >
> : > > http://BIND8NT.MEIway.com: ISC BIND 8.2.2 p5 & 8.2.3 T6B 
> for NT4 & W2K
> : > > http://IMGate.MEIway.com:  Build free, hi-perf, anti-spam 
> mail gateways
> : > >
> : > > Please visit http://www.ipswitch.com/support/mailing-lists.html
> : > > to be removed from this list.
> : > >
> : > > An Archive of this list is available at:
> : > > http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
> : > >
> : >Please visit http://www.ipswitch.com/support/mailing-lists.html
> : >to be removed from this list.
> : >
> : >An Archive of this list is available at:
> : >http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
> :
> :
> : http://BIND8NT.MEIway.com: ISC BIND 8.2.2 p5 & 8.2.3 T6B for NT4 & W2K
> : http://IMGate.MEIway.com:  Build free, hi-perf, anti-spam mail gateways
> :
> : Please visit http://www.ipswitch.com/support/mailing-lists.html
> : to be removed from this list.
> :
> : An Archive of this list is available at:
> : http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
> :
> 
> Please visit http://www.ipswitch.com/support/mailing-lists.html 
> to be removed from this list.
> 
> An Archive of this list is available at:
> http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
> 
Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/

Reply via email to