Hi Group,

I am using a small script which uses the CDO.message object to send emails.
The server name is configured by "server.domain.com".

However, for security considerations, it appears that the exchange
administrator regularly changes the name and/or IP of the exchange server.
Our outlook 2003 client doesn't seem to have a problem with this as the
server name is automatically updated in the Outlook Profile.

However, my scripts fail and I was wondering how Outlook was determining
what was the new location of exchange server on the network. Is there a
script for doing that?

TIA

Re: Determine exchange server name by Andy

Andy
Fri Oct 07 15:39:07 CDT 2005

On Sat, 8 Oct 2005 00:35:16 +0400, "Sag73" <vimal.ori@intnet.mu>
wrote:

>Hi Group,
>
>I am using a small script which uses the CDO.message object to send emails.
>The server name is configured by "server.domain.com".
>
>However, for security considerations, it appears that the exchange
>administrator regularly changes the name and/or IP of the exchange server.
>Our outlook 2003 client doesn't seem to have a problem with this as the
>server name is automatically updated in the Outlook Profile.
>
>However, my scripts fail and I was wondering how Outlook was determining
>what was the new location of exchange server on the network. Is there a
>script for doing that?
>
>TIA
>


I doubt he is changing the name of the server, since it would break
the Exch installation. You script must be breaking on something else.

Re: Determine exchange server name by Sag73

Sag73
Fri Oct 07 23:36:41 CDT 2005

I am 100% sure that the name of the Exchange server has changed. I had
originally configured my OL2003 to point to Exch-Mail.domain.com and my
script was also using this name. However, today when i look at my Outlook
Profile, it is pointing to HOExch01.domain.com and "Use cached Mode" is
checked.

Would you think that this is being changed by login script or group policies
(shooting in the dark here!)?



"Andy David - MVP" <adavid@pleasekeepinngcheesebucket.com> wrote in message
news:h4ndk19412jlqukrssnbsttmcdlsqsmhqr@4ax.com...
> On Sat, 8 Oct 2005 00:35:16 +0400, "Sag73" <vimal.ori@intnet.mu>
> wrote:
>
> >Hi Group,
> >
> >I am using a small script which uses the CDO.message object to send
emails.
> >The server name is configured by "server.domain.com".
> >
> >However, for security considerations, it appears that the exchange
> >administrator regularly changes the name and/or IP of the exchange
server.
> >Our outlook 2003 client doesn't seem to have a problem with this as the
> >server name is automatically updated in the Outlook Profile.
> >
> >However, my scripts fail and I was wondering how Outlook was determining
> >what was the new location of exchange server on the network. Is there a
> >script for doing that?
> >
> >TIA
> >
>
>
> I doubt he is changing the name of the server, since it would break
> the Exch installation. You script must be breaking on something else.



Re: Determine exchange server name by Andy

Andy
Sat Oct 08 06:43:30 CDT 2005

On Sat, 8 Oct 2005 08:36:41 +0400, "Sag73" <vimal.ori@intnet.mu>
wrote:

>I am 100% sure that the name of the Exchange server has changed. I had
>originally configured my OL2003 to point to Exch-Mail.domain.com and my
>script was also using this name. However, today when i look at my Outlook
>Profile, it is pointing to HOExch01.domain.com and "Use cached Mode" is
>checked.
>
Then your mailbox was moved to another server, or the DNS name was
changed - not the name of the actual server.

>Would you think that this is being changed by login script or group policies
>(shooting in the dark here!)?
>
>
>
>"Andy David - MVP" <adavid@pleasekeepinngcheesebucket.com> wrote in message
>news:h4ndk19412jlqukrssnbsttmcdlsqsmhqr@4ax.com...
>> On Sat, 8 Oct 2005 00:35:16 +0400, "Sag73" <vimal.ori@intnet.mu>
>> wrote:
>>
>> >Hi Group,
>> >
>> >I am using a small script which uses the CDO.message object to send
>emails.
>> >The server name is configured by "server.domain.com".
>> >
>> >However, for security considerations, it appears that the exchange
>> >administrator regularly changes the name and/or IP of the exchange
>server.
>> >Our outlook 2003 client doesn't seem to have a problem with this as the
>> >server name is automatically updated in the Outlook Profile.
>> >
>> >However, my scripts fail and I was wondering how Outlook was determining
>> >what was the new location of exchange server on the network. Is there a
>> >script for doing that?
>> >
>> >TIA
>> >
>>
>>
>> I doubt he is changing the name of the server, since it would break
>> the Exch installation. You script must be breaking on something else.
>

Re: Determine exchange server name by Rich

Rich
Sat Oct 08 14:03:50 CDT 2005

"Sag73" <vimal.ori@intnet.mu> wrote:

[ snip ]

>However, my scripts fail and I was wondering how Outlook was determining
>what was the new location of exchange server on the network.

It gets the information from either the AD or the DSProxy service n
the Exchange server.

>Is there a
>script for doing that?

If the name of the server was changing nobody would be able to find it
unless they were smart enough to point Outlook at a GC instead of the
Exchange server.

Changing the IP address is okay. You shouldn't be using an IP address
to find things, anyway.

--
Rich Matheisen
MCSE+I, Exchange MVP
MS Exchange FAQ at http://www.swinc.com/resource/exch_faq.htm
Don't send mail to this address mailto:h.pott@getronics.com

Re: Determine exchange server name by Sag73

Sag73
Sun Oct 09 13:30:28 CDT 2005

Rich/Andy,

Thank you fo your answers.
I guess indeed that I didnt express myself correctly and the DNS name is
being changed.

Rich, you say that OL is getting the info from AD or DSProxy service. Is
there a way for me to programatically (in vbscript) to determine such
information?

Sorry for being dumb but what is a GC?

TIA



"Rich Matheisen [MVP]" <richnews@rmcons.com.NOSPAM.COM> wrote in message
news:qr5gk1ll54pb2qqjv90v3j7kmk36ssnv4p@4ax.com...
> "Sag73" <vimal.ori@intnet.mu> wrote:
>
> [ snip ]
>
> >However, my scripts fail and I was wondering how Outlook was determining
> >what was the new location of exchange server on the network.
>
> It gets the information from either the AD or the DSProxy service n
> the Exchange server.
>
> >Is there a
> >script for doing that?
>
> If the name of the server was changing nobody would be able to find it
> unless they were smart enough to point Outlook at a GC instead of the
> Exchange server.
>
> Changing the IP address is okay. You shouldn't be using an IP address
> to find things, anyway.
>
> --
> Rich Matheisen
> MCSE+I, Exchange MVP
> MS Exchange FAQ at http://www.swinc.com/resource/exch_faq.htm
> Don't send mail to this address mailto:h.pott@getronics.com



Re: Determine exchange server name by Rich

Rich
Sun Oct 09 21:06:16 CDT 2005

"Sag73" <vimal.ori@intnet.mu> wrote:

[ snip ]

>Rich, you say that OL is getting the info from AD or DSProxy service. Is
>there a way for me to programatically (in vbscript) to determine such
>information?

Sure. Just use LDAP (or ADSI) to query the AD for your user's
msExchHomeServerName property value.

>Sorry for being dumb but what is a GC?

GC = Global Catalog Server.


--
Rich Matheisen
MCSE+I, Exchange MVP
MS Exchange FAQ at http://www.swinc.com/resource/exch_faq.htm
Don't send mail to this address mailto:h.pott@getronics.com