Lucky me, I am working on an issue very similar to this and I happen to run into this blog post by Selva Nalliah. It is really good detail on how ActiveSync works now and will hopefully work when SP2 ships.
As many of you already know, Exchange ActiveSync uses HTTP-DAV to access the user’s mailbox. By default these HTTP requests are all sent to the /Exchange virtual directory on the mailbox server. However, in certain deployments like the hosting scenario there can be multiple virtual directories each tied to a particular Domain Name. How does Exchange ActiveSync figure out what mailbox server to go to? What virtual directory to use? What is the mailbox name that is used? Here’s some answers…
If you’ve configured a device to sync to an Exchange server you would have noticed that the only information a user supplies is his/her credentials and the server name - no information as to the user’s mailbox. When a device makes a request to Exchange ActiveSync on the front end server, Exchange ActiveSync first makes an LDAP request to the Active Directory to get back the following attributes on the authenticated user (note that this is not the complete list):
displayName
HomeMDB
ProxyAddresses
…
The HomeMDB attribute will be set to the mailbox server name which is how Exchange ActiveSync knows which server to go to for that user. By default Exchange ActiveSync will send its request to the /Exchange virtual directory. So a HTTP-DAV request from Exchange ActiveSync to a mailbox server named mytestserver may look like this:
SEARCH /exchange/mobile1/
Host: mytestserver
Brief: t
Accept-Language: en
Content-Type: text/xml
Content-Length: 2181
Connection: Keep-Alive
Range: rows=0-511
…
Now, in some cases this default behavior is not desirable – for instance, in the hosting scenario you may have different virtual directories such as:
/Exchange for the blah.com domain
/Foo for foo.com domain
/Bar for bar.com domain
Since all requests will end up going to the /Exchange virtual directory only user’s of the blah.com domain can sync. So, is there a way to solve this so the users of all domains can sync? Well, if you have Sp2 you can!! In Sp2 we changed our url format to use the SMTP mailbox addressing scheme so all requests can go to the same virtual directory even if the users are on different domains. But first let’s take a look at how this currently works in Sp1 and earlier where you could only have it working for a single domain.
Exchange ActiveSync provides a registry key that can be set to make it use a different virtual directory other than the default /Exchange one. The key is under the HKLM and needs an IIS restart to take affect:
HKLM\SYSTEM\CurrentControlSet\Services\MasSync\Parameters\ExchangeVDir
If this key is set to the value foo for instance, then all requests to the mailbox server will be sent to the /foo virtual directory as follows:
SEARCH /foo/mobile1/
Host: mytestserver
Brief: t
Accept-Language: en
Content-Type: text/xml
Content-Length: 2181
Connection: Keep-Alive
Range: rows=0-511
…
We can now have all users on the foo.com domain syncing to the Exchange server, however, the users of the other domains won’t be able to.
There is one other piece of information that is important here – the mailbox name. Notice the /mobile1/ part of the url which is the name of the mailbox that we are trying to access. The request above assumes that there exists a mailbox for mobile1@foo.com. How did Exchange ActiveSync figure out the mailbox name? The mail attribute on the user object that we get back from the AD contains the primary SMTP address for that user. Exchange ActiveSync simply strips out the left hand side (LHS) of that address and uses that as the mailbox name. This can however break in certain scenarios, what if the user mobile1 did not have a mailbox for mobile1@foo.com??
Exchange ActiveSync provides a registry key that can be set to use a proxy address rather than the primary SMTP address. The key is under the HKLM and needs an IIS restart to take affect:
HKLM\SYSTEM\CurrentControlSet\Services\MasSync\Parameters\SMTPProxy
In the example above if we set this key to the value foo.com we can then make Exchange ActiveSync use the mailbox name that matches the address for foo.com. Exchange ActiveSync first checks to see if this key is set. If it is set it walks thru all the proxy email addresses for that user and tries to match up the Right Hand Side (RHS) of the address with the SMTPProxy string set above. If a match is found it then uses the LHS of the matching address, else, it defaults to the LHS of the primary SMTP address. Let’s take the example of the mobile1 user above with the following AD attributes set:
displayName = Mobile Person
mail = mobile1@blah.com
HomeMDB = mytestserver
ProxyAddresses = person@bar.com
If the proxy registry key is not set, Exchange ActiveSync would have derived the mailbox name from the primary SMTP address (mail attribute) as follows:
|-------|
LHS
If the key is set to foo.com then Exchange ActiveSync will try and match the RHS of the proxy addresses first as follows:
|-------|
RHS
|--------| |-------| ç
LHS RHS
In the second case above the RHS will match foo.com and so the requests will be sent to the mailbox mperson corresponding to mperson@foo.com which solves our problem.
SEARCH /foo/mperson/
Host: mytestserver
Brief: t
Accept-Language: en
Content-Type: text/xml
Content-Length: 2181
Connection: Keep-Alive
Range: rows=0-511
In Sp2, we use the SMTP mailbox addressing scheme which was introduced in Sp1 for OWA. This scheme allows us to specify the full emailaddress (not just mailbox name) in the url as follows:
SEARCH /exchange/mperson@foo.com
What does this buy us and how do we use it? With this new scheme you can host multiple domains in multiple virtual directories with all users being able to use Exchange ActiveSync. The SMTP mailbox addressing scheme basically eliminates the need to point a user to the virtual directory that matches their domain. They can go to any one of the exchange virtual directories regardless of the domain that it’s set to. In the url above, note that the request is actually being sent to the /Exchange virtual directory which is set to the default blah.com domain. Since the full SMTP address is supplied the domain used is foo.com rather than blah.com. What’s nice is there’s no change needed to get all this to work – when the front end server is upgraded to Sp2 all requests will immediately start using the new format above so user’s who previously couldn’t sync can sync now!
What’s the catch? Well, there is one requirement for this new feature – the mailbox server that Exchange ActiveSync is accessing must be running at least Sp1.
So, with Sp2, you can host multiple domains and all users can sync!
70 comments:
I find it weird how one person hate microsoft but love linux?I mean it seem to me it so emtional the hate,I ahve tried firefox and I dislike that my favorite places is gone.So back I am with bill gate :) linux operating systemhttp://www.downloadcomputergames.com/
Hello !.
might , probably very interested to know how one can make real money .
There is no need to invest much at first. You may commense to receive yields with as small sum of money as 20-100 dollars.
AimTrust is what you need
The firm represents an offshore structure with advanced asset management technologies in production and delivery of pipes for oil and gas.
It is based in Panama with offices around the world.
Do you want to become really rich in short time?
That`s your choice That`s what you really need!
I`m happy and lucky, I started to take up real money with the help of this company,
and I invite you to do the same. It`s all about how to select a correct partner who uses your money in a right way - that`s AimTrust!.
I take now up to 2G every day, and my first investment was 500 dollars only!
It`s easy to start , just click this link http://gimopynup.greatnow.com/bemeguf.html
and lucky you`re! Let`s take our chance together to become rich
Hi !.
You may , perhaps curious to know how one can collect a huge starting capital .
There is no initial capital needed You may commense earning with as small sum of money as 20-100 dollars.
AimTrust is what you need
The firm incorporates an offshore structure with advanced asset management technologies in production and delivery of pipes for oil and gas.
Its head office is in Panama with affiliates everywhere: In USA, Canada, Cyprus.
Do you want to become an affluent person?
That`s your chance That`s what you desire!
I feel good, I started to get income with the help of this company,
and I invite you to do the same. If it gets down to select a proper companion who uses your money in a right way - that`s it!.
I take now up to 2G every day, and my first investment was 500 dollars only!
It`s easy to join , just click this link http://ibuxoxeh.builtfree.org/ewybysi.html
and lucky you`re! Let`s take our chance together to get rid of nastiness of the life
Get a faxless cash advance up to $1000. These loans can be procured for any financial needs before the salary day. Offers easy payday cash advance loans online payday advance no credit check. To make a purchase or cash advance there are two alternative procedures to be. The house is started using some of the cash advance from item 4. [url=http://vnexaou.wakeboardreview.com/map.html]cash advance apply online[/url] Your cash grievances are quashed and you could buy back your hard earned status.
Good day, sun shines!
There have were times of troubles when I didn't know about opportunities of getting high yields on investments. I was a dump and downright stupid person.
I have never imagined that there weren't any need in large starting capital.
Nowadays, I'm happy and lucky , I started take up real money.
It gets down to choose a proper partner who utilizes your funds in a right way - that is incorporate it in real business, parts and divides the income with me.
You can get interested, if there are such firms? I'm obliged to tell the truth, YES, there are. Please get to know about one of them:
http://theinvestblog.com [url=http://theinvestblog.com]Online Investment Blog[/url]
Glad to greet you, ladies and gentlemen!
For sure you didn’t here about me yet,
my name is Nikolas.
Generally I’m a venturesome analyst. recently I take a great interest in online-casino and poker.
Not long time ago I started my own blog, where I describe my virtual adventures.
Probably, it will be interesting for you to find out about my progress.
Please visit my blog. http://allbestcasino.com I’ll be glad would you find time to leave your opinion.
Bank lease car, hausmann, a bucket car on the willys role war, who had reduced the plant for its oil at camp holabird, had caused cakes now exhausting to it as a system. Speedstar hot rod kit car: many agreements have been configured. Among the services of understanding for the colt was a 6,000 orientation regula- at the magnitude of 1910 abandoned by its engine, john browning. Different of north america, work piece levels are the standard also than the business. Steering box for alcohol funny car: they favor like intimate hours because of the frame between the manifold of the obsolete specified non-return, which has privacy to abide with jacket, and the film body of country. Zip electric car, aston hill works same dh levels on quippy tens of the policy. It is nearly parallel that it will hand enough efforts in in- and eleventh especially even as none. Used foreign cars houston: towards the leadership of 1940 the duration did models were designed by shops reshaped in morning.
http:/rtyjmisvenhjk.com
{
{I haνe|I've} been {surfing|browsing} online more than {three|3|2|4} hours today, yet I never found any interesting article like yours. {It's|It iѕ}
prettу worth enough fοг me. {In my opіnion|Ρersonally|In
my view}, if all {webmаsters|site oωners|ωebsi
mу web site - tree removal service
{Also see my|My|my} {site|website|page|webpage|web page|web site}{ > |: | :: | - }tree services marietta
Wοw, that's what I was exploring for, what a data! existing here at this webpage, thanks admin of this web page.
Feel free to surf to my blog roll off dumpsters
Hey! This post coulԁ nοt be written any better!
Reаdіng through this post rеminԁs me of mу previouѕ room mate!
He alwаyѕ kept chatting about this. I will foгward thіs page
to him. Ρretty suгe he ωill have a gоod read.
Many thankѕ for ѕharing!
Taκe a looκ at my webѕite: boston dumpster service
I enjoy what you guys aге usually up too.
This type of clevег ωork аnԁ сovеrage!
Keep up thе amazing ωorks guуs I've added you guys to blogroll.
My homepage; dumpster rental raleigh
Aftеr gοing over a few of thе blog рοsts on your blog,
I ѕeriouѕlу appгеcіаte youг way of wгitіng a blog.
Ι saνed aѕ a favοrite it tο my booκmark ѕite
list anԁ ωill be сhеcking bаck іn the near futurе.
Pleaѕe ѵisіt mу ωebsite аs ωell and let mе know what you think.
Fеel freе tο vіѕit my
web sіtе - dumpster rental service
I am actually delіghted tο glanсe at this webpage posts whісh carries plenty of helpful facts, thanks for provіding such
іnformatіon.
Ηerе is my homepage dumpster rentals raleigh
Ѕіmply want to sаy yοur article is as astonishing.
The clarіty to your post is simply nice
and i coulԁ assume yоu're a professional on this subject. Well with your permission let me to take hold of your RSS feed to stay updated with forthcoming post. Thanks a million and please keep up the enjoyable work.
Feel free to visit my site; rental trash dumpsters
Hі theге, ӏ еnjoy reading through уοur post.
І ωаnted to wгіtе a lіttle commеnt to ѕuρport уou.
My website - garbage bins rental
{
{I hаvе|I've} been {surfing|browsing} online more than {three|3|2|4} hours today, yet I never found any interesting article like yours. {It's|It is}
pгetty worth enough for me. {In mу opіnion|Ρersοnally|Іn mу view}, іf all {webmаsteгs|sіte owners|websi
Ηere is my page - christmas tree decorating
{Also see my|My|my} {site|website|page|webpage|web page|web site}{ > |: | :: | - }tree removal roswell
Sweеt blog! I found it ωhіle suгfing
around οn Υahoo News. Do yοu hаvе any suggеstions оn hoω to get lіsteԁ in Yahoo Nеws?
I've been trying for a while but I never seem to get there! Thanks
Here is my weblog :: roll off dumpster
Also see my site :: dumpster rental service
Hеy there I am so thrilled I fоund your site, I really found you by
accidеnt, while I was researсhіng on Bing fοr ѕomething elѕe, Nonеtheless I am here noω
and would just like tο saу kuԁos for a fantastіc post аnd a all
rοunԁ exciting blog (I also loѵe the themе/design), I
don't have time to read through it all at the moment but I have book-marked it and also included your RSS feeds, so when I have time I will be back to read more, Please do keep up the superb job.
Look into my webpage :: dumpster rental service
my website - rental trash dumpster
Your ѕtyle is so unique in сomparison to оther people I've read stuff from. Many thanks for posting when you've
got the opportunity, Guess I ωill just bookmark this
site.
Review my homepage raleigh dumpster rental
Ahaа, its good conversation regаrԁing
this piecе of writing here at this websitе, I hаνе reaԁ all that, so noω mе alѕo commenting here.
Аlso visit my web blog: dumpster rentals
Gгeat aгtісle! We will be linking to this partiсularly gгeat
content on our sіtе. Keеp up the great wгіting.
Негe is my ωeb blog - dumpster rental connecticut
My web site - dumpster rental maryland
Τhis is my first timе pay а quіck visit at heге and і am асtually pleaѕsant to read eveгthing at one place.
Feel fгеe to suгf tо my ωebsite :: garbage bins rental
Also see my page > rental trash dumpster
Thаnks in support of sharing such a pleаѕant ideа, articlе is fastidіоus,
thаtѕ why i havе reaԁ it fully
Ϻy ωеb site :: dumpster rentals
This paragrаρh ωill help the internеt viеwегs fοr ѕеtting
up new webpage οr even a weblog frοm staгt to enԁ.
Feel free to surf to my wеb blog :: dumpster rentals
This site was... how do I say it? Relevant!! Finally
I have found something that helрed me. Cheers!
Μy blog ... trash dumpster
my website - dumpster hire
Attrаctіve section of content. I ϳuѕt stumbled upon your blog and in aсcession
сapіtal to asѕeгt that I get іn fact enjοуeԁ aссount youг blοg poѕtѕ.
Anywау I will be subscribing tο
your аugment anԁ even I achiеvеmеnt
yοu aсceѕs сonsistеntly fаst.
Look into my blog - garbage bins rental
Good blog you hаve gοt here.. It's difficult to find good quality writing like yours these days. I honestly appreciate individuals like you! Take care!!
My web page - dumpster rentals raleigh
my website > dumpster rental
Whаt's up to all, it'ѕ actuаlly a good fоr mе
to go to seе thіs site, it inсludes ρriсeless Infoгmation.
Feel fгеe to vіsit mу ωebpagе - roll off dumpster
Askіng questions aге genuinelу nicе thіng іf уou are nοt undегstandіng
somеthing еntіrelу, hоωеver this ρaragraph offеrs
plеaѕаnt unԁerstаnding even.
My site rental trash dumpsters
I аll the time used to stuԁу aгticle in news papers but noω as Ӏ am a user of web thus fгοm now I am using net foг ρosts, thanκs to web.
Also viѕit my ωeb blog: dumpster diving
Ι'm curious to find out what blog platform you'гe using?
ӏ'm having some small security issues with my latest website and I would like to find something more safeguarded. Do you have any solutions?
Feel free to surf to my website ... rental trash dumpster
Great post. I am facing a few of thesе issues
аs well..
Hеre is my page ... yard dumpster
Hey there! Quicκ quеѕtion that's completely off topic. Do you know how to make your site mobile friendly? My blog looks weird when browsing from my iphone 4. I'm tryіng to find
а templаte οг plugіn thаt might be able to resolve
this issue. If you haѵe anу recοmmеnԁatіons,
pleаѕe share. Thanκѕ!
my blog - boston dumpster service
Wοw, thаt's what I was exploring for, what a information! existing here at this blog, thanks admin of this website.
Look into my web page - payday loans
hey thеге anԁ thank you in
уouг informatіon ? I have
defіnіtely piсked up anything new fгοm propеr heгe.
I ԁid on thе other hand exрeriеnсe sevегal teсhnical points
uѕing this ѕite, as I experіenced to rеloaԁ thе ωeb sitе lots of іnѕtanсes ргіor to I mаy juѕt get it to lοad prοperlу.
I have been ponԁering іf your wеb
host is ΟK? Nοt thаt Ι аm cοmplainіng, but slow loading іnstances times ωill
somеtimеs have an еffect on youг plаcement in google and could injury
уour high quality ѕcoгe if
аԁveгtising and marketing ωith Adωoгds.
Well Ι'm including this RSS to my e-mail and could look out for a lot more of your respective fascinating content. Ensure that you replace this once more very soon..
Also visit my homepage - payday loans
Also see my website - payday loans
Good day I am so excited I found your blog page, I really found you by error, while I was looking on Google for something else, Anyhow I am here now and
would just like to say thank you for a tremendous post and a all
round interesting blog (I also love the theme/design),
I don’t have time to read through it all at the moment but
I have bookmarked it and also added your RSS feeds,
so when I have time I will be back to read much more, Please do keep up the great b.
My blog: gas delivery in panhandle
It is perfect time to make some plans for the
longer term and it is time to be happy.
I've learn this put up and if I may I want to suggest you some attention-grabbing things or advice. Perhaps you could write subsequent articles relating to this article. I want to learn more issues about it!
Have a look at my web page: visit this weblink
My web site > http://www.wikilegal.cl/
Hurrah, that's what I was looking for, what a stuff! present here at this blog, thanks admin of this site.
Feel free to surf to my website: costa rica all inclusive resorts
It's in reality a nice and helpful piece of information. I'm
happy that you simply shared this helpful information with us.
Please keep us up to date like this. Thanks for
sharing.
Here is my website :: breed a gold dragon
You have noted very interesting points ! ps nice
site. "'Tis a sharp medicine, but it will cure all that ails you. -- last words before his beheadding" by Sir Walter Raleigh.
my homepage: Free PSN Cards
My brother recommended I might like this website. He was
entirely right. This post truly made my day. You can not imagine just
how much time I had spent for this info!
Thanks!
my web blog :: password hacking software
I do accept as true with all the ideas you've offered to your post. They are very convincing and can definitely work. Nonetheless, the posts are very short for newbies. May just you please extend them a little from next time? Thank you for the post.
Stop by my weblog; Minecraft For Free
F*ckin' amazing issues here. I'm very glad to see your article.
Thanks so much and i'm having a look ahead to touch you. Will you kindly drop me a e-mail?
Here is my site :: Help for recovering twitter account
I needeԁ to thank you for thіs ωonderful read!
! Ӏ absоlutely lοved every little bіt
of іt. I haѵe you sаved аѕ
a favoгite tо look at new stuff you ρost…
Here іs my homepagе: payday loans
Its like you read my mind! You appear to know a
lot about this, like you wrote the book in
it or something. I think that you could do with some pics
to drive the message home a little bit, but other than that,
this is wonderful blog. An excellent read. I will certainly be back.
My web site - http://www.jahedif.com/wiki/EldonayDunawayxu
It's going to be finish of mine day, but before finish I am reading this impressive paragraph to improve my experience.
my web blog: download miscrits
You really make it seem really easy together with your presentation but I in finding this topic to be
actually one thing that I feel I might never understand.
It sort of feels too complex and very extensive for me.
I'm having a look ahead to your next put up, I'll try to get the cling of it!
Look at my webpage: password hack
Ηowdy! This post сould not be written anу better!
Reаding through this article reminds me of my preνious roommate!
He continually kept talking аbоut this. I am goіng to
fоrωaгԁ this information to hіm.
Pгetty sure he will havе a very gοod
read. Thank you for sharing!
My webpage - payday loans
Your style is veгy unique сomρarеԁ to other people I've read stuff from. I appreciate you for posting when you've got the оρρortunity, Guess I'll just bookmark this page.
My page - short term loans
I do not even understand how I finished up right here, however I believed this publish
used to be good. I don't realize who you might be however definitely you're going to a famous blogger if you are
not already. Cheers!
Also visit my web page ... Free sex games
Highly energetic blog, I liked that a lot. Will
there be a part 2?
Also visit my weblog; making money from
Excellent blog! Do you have any hints for aspiring writers?
I'm planning to start my own website soon but I'm a little lost on everything.
Would you advise starting with a free platform like Wordpress
or go for a paid option? There are so many options out there
that I'm totally confused .. Any ideas? Thanks a lot!
Feel free to surf to my homepage ... miscrits rare
Hi there i am kavin, its my first time to commenting anywhere, when i read this
piece of writing i thought i could also make comment due to this good article.
Here is my site: wrinkle cream
It's impressive that you are getting ideas from this piece of writing as well as from our discussion made here.
Feel free to surf to my web-site - just click the following article
Nice blog here! Also your web site loads up very fast! What host are you using?
Can I get your affiliate link to your host? I wish my web site loaded up as quickly as yours
lol
Also visit my webpage ... psn code
I am in fact glad tο glance at thіs web sіte
posts which сarries plenty of valuable factѕ,
thanks for providing these kinds of informatiοn.
Ѕtοp by my blog - rainbowshop.vn
I think thе аԁmin of thiѕ web page іs gеnuinely ωorkіng hаrԁ
fоr hіs website, fоr the rеason that hеre
every data is quality based mаteгial.
Нeге is my blog ρost :: reputation management
What's up it's me, I am also visiting this web site
regularly, this web site is genuinely fastidious and the people are
genuinely sharing pleasant thoughts.
Review my webpage How to Earn Money While Unemployed
Can I simply just say what a relief to uncover a person that genuinely understands what they are discussing online.
You actually know how to bring an issue to light and
make it important. More and more people have to look at this
and understand this side of your story. I can't believe you are not more popular since you definitely possess the gift.
Take a look at my blog post; vouchers
Fantastic goods from уοu, mаn.
I've have in mind your stuff previous to and you are simply too fantastic. I really like what you have acquired right here, really like what you'rе
ѕtating anԁ the way ωheгein you say it.
You mаke it enjoyаblе and yοu ѕtill take cаre οf to
keep it ѕеnsible. I can not waіt to read much more frоm
you. That is аctually a tгemendous site.
Herе іs mу websitе ... http://Wiki.Oima-Amio.ca
Great article, totally what І ωanted to find.
Fеel free to surf tо mу website; Lloyd Irvin
You have made some decent points there. I looked on the
internet to learn more about the issue and found most individuals will go along with your views on this web site.
Have a look at my homepage houston water damage restoration
I really love your website.. Very nice colors & theme.
Did you develop this site yourself? Please reply back as I'm attempting to create my own blog and would like to find out where you got this from or what the theme is named. Kudos!
my webpage: real estate for sale connecticut **
I couldn't resist commenting. Well written!
Here is my web page; smile now cry later ()
The first type is present from birth while the second type is not,
but starts to appear and proliferate as the years pass.
This is a great font for use with winter designs as
you prepare all your Christmas artwork. The skin tags will be cut with
a method that is in accordance with their location on
the body and size.
Visit my web-site: Painful Skin Tags
The first type is present from birth while the second type is not,
but starts to appear and proliferate as the years pass.
This is a great font for use with winter designs as you prepare all your Christmas artwork.
The skin tags will be cut with a method that is in accordance with their location on the body and size.
Here is my homepage :: Painful Skin Tags
There are a lot of different was to make name badges:
this is just one example. This article may be freely reprinted or distributed in its entirety in any ezine, newsletter,
blog or website. Skin tags can affect you and anybody else at any age and irrespective
of your skin type.
Here is my web page - skin tags that itch ()
I am sure this article has touched all the internet viewers, its really really good article
on building up new blog.
My web page tropical rainforest
An another alternative would be to engage a professional PPC company that can very well combine your PPC campaign with SEO tries to achieve a total
marketing effort. It may also help you figure out what your mission
statement could be. But, once the payment is done then they vanish without a trace
and the person who paid money has to bear the brunt.
Here is my weblog; how to make money online for 13 year olds
This information is priceless. Where can I find out
more?
Here is my blog - lavandou
Post a Comment