Avatar of jayindy1
jayindy1
Flag for United States of America asked on

change exchange server IP via command line in Outlook 2011 for Mac

Can I change my Outlook 2011 for Mac's "Microsoft Exchange", "Server:" global IP address via command line syntax, or better question, can I keep our exchange server from resolving the ugly global IP that seemingly works in all connection cases to our std corp mail.ourcorpname.com??  The global IP seems to work in all connection cases.

On the road, I constantly change between Hotel wifi, USB modem, site wireless, on VPN, off VPN, and our exchange server always resolves the globle IP to our std mail.ourcorpname.com name.  Which causes the dreaded "Not Connected to..." message in my lower right Outlook screen.

I figure I can at least write a script to change back to global IP from clicking a handy icon w/o the time consuming process of clicking 7 times to change the name back to global IP.

signed - a mac user living in my employer's windows world.
Mac OS XInternet / Email SoftwareEmail Software

Avatar of undefined
Last Comment
Peter Loobuyck

8/22/2022 - Mon
s3e3

If you don't get any responses please clarify the question. I'm not sure what you mean...

With mobile users and email clients you normally control the mail server IP address by using a DNS host name that will resolve to the correct email server from internal and external locations.
When internal MAC user queries the internal DNS server, the DNS resolves the mail server host name using the internal DNS server. When I'm external I use the public DNS servers.. on both networks I use mail.ourcorpname.com

Do you admin the external and internal DNS servers ?
strung

I am not sure I understand the question either. Are you trying to get "mail.ourcorpname.com" to resolve to a different specific IP? If so, you can do that by editing your Mac's "hosts" file.
ASKER CERTIFIED SOLUTION
strung

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
jayindy1

ASKER
thanks strung for the link on adding "123.123.123.123 mail.ourcorpname.com" to my hosts file - I'm see how this change plays out this week & will come back and let you know...I think this is exactly the fix I need.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
Peter Loobuyck

I do think the host file is the solution you need.

However you probably run a vpn connection where windows clients relay all connections through, but where the mac has a split dns.
Check with it to which dns server to connect to and then add this to your vpn connection.
The hosts file solution will work until it moves your server or its ip....