New virtual server always creates ExchWeb

Exchange 2000

    Sponsored Links

    Next

  • 1. Errors in OWA - email addresses turn red and can't send
    Hi everyone, I have a problem that I have never seen before. When one of our remote users who is using OWA, Exchange 2003 Service Pack 1, with IE on Windows XP tries to reply to a message or send a new message sometimes the email address will turn red and he is unable to send the message. Has anyone ever seen this before and maybe know how to fix. This seems like some kind of an address book issue or something. Thanks in advance, Paul Stephenson
  • 2. new ip
    yes "AllenM" wrote: > Have you had your ISP make the changes to the MX and A records on the DNS > name servers? > > i moved my email server and gave it a static ip address now. all dns > > settings and ping are good but now cant get mail or send mail. If setting > > at > > the server i can get oulook express to work. Can some one help me with > > new > > ip change. why can they not connect through web anymore. >
  • 3. Exchange Defrag
    Hi, Anyone knows how the Exchange streaming files can be reduced in size? They keep on growing and with defrag they only shrink by about 1 Gb out of about 20Gb THanks Nich
  • 4. System Attendant wont start
    This morning my system Attendant service wont start and thus causing my IS and MTA not to start. Everytime I want to start it manually it tells me that the service started but then stopped. Any suggestions will be greatly appreciated.

New virtual server always creates ExchWeb

Postby Eric Vegter » Sat, 17 Jan 2004 20:51:22 GMT

Hi,
we have a problem getting OWA to work correctly through 
our content switch. In our test-domain, we have 2 virtual 
servers running on the same IIS server, both a unique IP. 
When you create a new vertual server, a new web is 
created, and in that new web, Exchange automatically 
creates a virtual directory called ExchWeb. Is this 
hardcoded in Exchange 2003? We need to be able to change 
this in a way, because our content switch (Cisco CSS 1100) 
routes user requests to 1 destination based on the content.

What happens, is that if users connect to the non-https 
server with url http://somedomain/intexchange, and the 
content switch routes this request and the ExchWeb request 
to the same WEB IP Address, there is no problem. If we 
then connect to the other (to be HTTPS Website) website, 
with another IP address, the OWA website, also requests 
data from the ExchWeb location. What happens now is that 
the content switch reroutes those request to the other IP 
address. Authentication errors as a result, and OWA does 
not work (inbox shows "requesting data" and in a network 
trace we see authentication errors, which makes sense.

I hope you can help ..
tia

Eric Vegter


Re: New virtual server always creates ExchWeb

Postby Dan Townsend [MSFT] » Sun, 18 Jan 2004 11:19:58 GMT

Are you saying that a SSL connection requests the Exchweb without SSL and
thus goes to the first site?  If so I see a problem on our side.  If the
request is in SSL then you need to do more with the content filter.

Are internal users having to go through the switch?  If not force all
exchweb / exchange / public to the SSL IP.

Can the content filter not route by URL?

Route all mail.domain.com/* -> SSL IP     -     If they leave off https it
would tell them that it is required.
Route all server/* -> Other IP

Just some ideas.

-- 
Hope that helps,
Dan Townsend

This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email to this address, post a reply to this newsgroup.

Use of included script samples are subject to the terms specified at
 http://www.**--****.com/ 








Similar Threads:

1.two smtp virtual servers but mail is always sent by the Defaul

Hi.

The need for two smtp virtual servers is a requirement here, for security 
reasons we need different ip address to communicate to the back-End and 
another to send to Internet.

Although I have a smtp connector configured as you have said to me, I see 
that the front-end sends the e-mail to internet by using the default smtp 
virtual server, instead of the to_internet smtp virtual server, although the 
local bridgehead for that connector is the Front-End, and the virtual server 
is to_Internet.

So, Exchange seems to always use the default smtp virtual server to send 
mail. I can't understand it.
-- 
Thank you,

Mig.En.


"Ed Crowley [MVP]" wrote:

> Why do you have two virtual servers?
> 
> What I think you want to do is create an SMTP Connector, specify an address 
> space of "*" (without the quotes), and for the Local Bridgehead configure 
> the virtual server you want outbound Internet SMTP mail to use.
> -- 
> Ed Crowley
> MVP - Exchange
> "Protecting the world from PSTs and brick backups!"
> 
> "Mig.En." < XXXX@XXXXX.COM > wrote in message 
> news: XXXX@XXXXX.COM ...
> >
> > Hi.
> >
> > I have a Back-End and a Front-End servers.
> >
> > Front-End server has 2 smtp virtual servers. All smtp mail from Back-End 
> > to
> > internet is relayed by the Front-End. Both the Front-end and the Back-end 
> > are
> > in the First Routing Group, and the Back-end is the master server of that
> > routing group.
> >
> > There are two SMTP virtual servers on the Front-End:
> > - Default SMTP Virtual Server, ip address: 192.168.0.1.
> > - to_Internet SMTP Virtual Server, ip address: 192.168.0.2.
> >
> > The Front-End has a smtp connector to send mail to Internet. This 
> > connector
> > has this settings:
> >
> > - Local Bridgehead: Front-End, smtp virtual server: to_Internet SMTP 
> > Virtual
> > Server.
> > - Address Space: SMTP, *, cost: 1
> > - Forwards all mail to a smart host.
> > - It allows relay from the Back-End to Internet.
> >
> > When the back-end needs to send an e-mail to Internet, it forwards the
> > e-mail to the to_Internet SMTP Virtual Server of the Front-End.
> >
> > And I thought that the Front-End would use its to_Internet SMTP Virtual
> > Server to relay the e-mail from the Back-End, in fact, the queue "Messages
> > waiting to be routed" for the to_Internet SMTP virtual server is the queue
> > where the incoming mails from the Back-End are queued, but I see that it 
> > uses
> > the Default SMTP Virtual Server to forward the e-mails to the smart host. 
> > I
> > know that it uses that virtual server  because I need to configure the 
> > smart
> > host (the smart host is another server in the firm that I work for) to 
> > allow
> > mail from 192.168.0.1. If I configure the smart host to allow e-mail from
> > only 192.168.0.2 then it doesn't allow it and so the Front-End generates 
> > NDRs.
> >
> > I would like the to_Internet virtual server to send the e-mail to 
> > internet,
> > but Exchange is using the default smtp virtual server, why? Can anyone say 
> > to
> > me why or how can I get the to_Internet to send the e-mails to the smart 
> > host
> > instead of the default smtp virtual server?
> >
> > Thanks, regards,
> >
> > Mig.En. 
> 
> 
> 

2.two smtp virtual servers but mail is always sent by the Default SM

Hi.

I have a Back-End and a Front-End servers.

Front-End server has 2 smtp virtual servers. All smtp mail from Back-End to 
internet is relayed by the Front-End. Both the Front-end and the Back-end are 
in the First Routing Group, and the Back-end is the master server of that 
routing group.

There are two SMTP virtual servers on the Front-End:
- Default SMTP Virtual Server, ip address: 192.168.0.1.
- to_Internet SMTP Virtual Server, ip address: 192.168.0.2.

The Front-End has a smtp connector to send mail to Internet. This connector 
has this settings:

- Local Bridgehead: Front-End, smtp virtual server: to_Internet SMTP Virtual 
Server.
- Address Space: SMTP, *, cost: 1
- Forwards all mail to a smart host.
- It allows relay from the Back-End to Internet.

When the back-end needs to send an e-mail to Internet, it forwards the 
e-mail to the to_Internet SMTP Virtual Server of the Front-End.

And I thought that the Front-End would use its to_Internet SMTP Virtual 
Server to relay the e-mail from the Back-End, in fact, the queue "Messages 
waiting to be routed" for the to_Internet SMTP virtual server is the queue 
where the incoming mails from the Back-End are queued, but I see that it uses 
the Default SMTP Virtual Server to forward the e-mails to the smart host. I 
know that it uses that virtual server  because I need to configure the smart 
host (the smart host is another server in the firm that I work for) to allow 
mail from 192.168.0.1. If I configure the smart host to allow e-mail from 
only 192.168.0.2 then it doesn't allow it and so the Front-End generates NDRs.

I would like the to_Internet virtual server to send the e-mail to internet, 
but Exchange is using the default smtp virtual server, why? Can anyone say to 
me why or how can I get the to_Internet to send the e-mails to the smart host 
instead of the default smtp virtual server?

Thanks, regards,

Mig.En.

3.Can't Create Virtual server on relay, Can't create certificat too

Hi.

I've some trouble on my Ex2K architecture.
I've 2 back-end server & 1 front-end (dmz) win2K/ex2K server (sp4/sp3)

Actually i can't create virtual server on the front-end, it says it can't find network path ??
I don't have that problme on the two other back-end server.
I always make administration operation with admin exchange GUI on the local computer (not remote because i know that there's some diffence)

My second problem is about certifcation creation on protocol.
The same way, i dont have any problem with my 2 back-end server. When i try to do the same on the front-end server, the button is grayed (ghosted) (exemple : properties of smtp vitual server --> access --> certificat --> can't click, it's ghosted)

I know that when using remote GUI to administrate Exchagne server, this button is ghosted, but not in local.

Any Ideas ?

cdt,
CB

4.Can't create new Autodiscover virtual directory..

I was able to remove the autodiscover virtual directory using the 
Remove-AutodiscoverVirtualDirectory cmdlet.  When i tried to create a new 
one however, the cmdlet hung for about a minute, and then i got the error 
message below..

*START*
New-AutoDiscoverVirtualDirectory -websitename "Default Web 
Site" -WindowsAuthentication $true -DigestAuthentication $true

New-AutodiscoverVirtualDirectory : An error occurred while creating the IIS 
virtual directory 'IIS://ServerName.MyCompany.com/W3SVC/1/ROOT/Autodiscover' 
on 'ServerName'.

At line:1 char:33

+ New-AutoDiscoverVirtualDirectory  <<<< -websitename "Default Web 
Site" -WindowsAuthentication $true -DigestAuthentication $true
*END*

After the error came up, i also noticed that the W3Svc had stopped and the 
default web site wasn't started.  I was able to start them again, however 
there was no Autodiscover virtual directory.

I'm copying the code directly from the latest Ex2k7 help file. 


5.Error trying to create new Virtual Directory in the Public Folders

Hey all,

I've been using the following code from Microsoft to attempt to
programtically create a new Virtual Directory under the Public folders:

' StrFolderName: The folder path that you want to publish as the
virtual directory. Use the following format:
"<TreeName>\<SubFolderName>"
' strComputerName: The computer name of your Exchange 2000 server where
you set up this virtual directory.
Function CreateWeb(strFolderName As String, strComputerName As String)
As Boolean

    Dim iServer         As New CDOEXM.ExchangeServer
    Dim strFHName       As String
    Dim NewWeb          As IADsContainer
    Dim ADCont          As IADsContainer

    Set iServer = CreateObject("CDOEXM.ExchangeServer")

    Result = True

    iServer.DataSource.Open strComputerName
    Set ADCont = GetObject("LDAP://" & iServer.DirectoryServer &
"/CN=1,CN=HTTP,CN=Protocols," & Mid(iServer.DataSource.SourceURL,
InStr(1, iServer.DataSource.SourceURL, "cn=")))

    Set NewWeb = ADCont.Create("msExchProtocolCfgHTTPVirtualDirectory",
"cn=" & strFolderName)

    NewWeb.Put "hTTPPubGAL", CBool(0)
    NewWeb.Put "anonymousAccount", "IUSR_" & strComputerName
    NewWeb.Put "folderPathname", CStr(strFolderName)
    ' "msExchAccessFlags" property: contains the virtual directory
execute permission:
    '512 = Execute Permission=Script
    '516 = Execute Permission=Script&Execute
    '1=Read, 2=Write, 16=Script Access
    NewWeb.Put "msExchAccessFlags", CInt(535)
    ' "msExchAuthenticationFlags" property: contains the virtual
directory authentication settings:
    '1=Anonymous Access, 2=Basic, 4=NTLM
    NewWeb.Put "msExchAuthenticationFlags", CInt(7)
    NewWeb.Put "msExchBasicAuthenticationDomain", CStr(strDomainName)
    NewWeb.Put "msExchDefaultLogonDomain", CStr(strDomainName)
    ' "msExchDirBrowseFlags" property: controls the Web directory
browse permission of the virtual directory:
    '1073741854=No Dir Browse, -1073741794=Dir Browse
    NewWeb.Put "msExchDirBrowseFlags", -1073741794

    'The property specifies the logon method for clear text logons
    NewWeb.Put "msExchLogonMethod", CInt(3)
    NewWeb.Put "msExchServerAutoStart", CBool(-1)
    ' "msExchServerRole" property: This virtual directory resides on
the front end or back end server:
    ' 1 = This is a front end server
    ' 0 = This is a back end server
    NewWeb.Put "msExchServerRole", CInt(0)
    NewWeb.Put "name", CStr(strFolderName)
    'newweb.Put "showInAdvancedViewOnly", cbool(-1)

    On Error Resume Next
    Err.Clear
    NewWeb.SetInfo
    If Err <> 0 Then
       ' If user exists no need to raise an err
       If Err.Number <> &H80071392 Then
          MsgBox "(" + CStr(Err.Number) + ") " + Err.Description, ,
Err.Source
          Result = False
        End If
    End If

    Set NewWeb = Nothing
    Set ADCont = Nothing
    Set iServer = Nothing

    CreateWeb = Result
End Function


I am passing "public\test" to the function as suggested by the
comments, but I receive this error:

"(-2147016654) Automation error
An invalid dn syntax has been specified."

Could someone let me know what I need to do to get this to work?  I
need to be able to create several layers worth of Virtual Directories
within the Public Folders.

Thanks!

6. Create virtual Directory for new recipient policy

7. How to create additional http virtual server on FE server

8. Create new Exchange Mailbox without creating a new AD-User



Return to Exchange 2000

 

Who is online

Users browsing this forum: No registered users and 99 guest