Ambiquity in Exchange and Outlook

1

0

My situation is this:

I had a distribution-group, let's call it

Old Leaders

But, since the member-base had grown and they wanted to be able to send mail (from that adress), I thought "Hey, let's turn it into a Mailbox".

So, I deleted the distrubition-group and added a new mailbox (with the same adress), let's call that

New Leaders

My problem is the following:

Since Outlook caches all the address's it encounter by default, I'm now stuck with a large group of users which, whenever they try to send a mail to New Leaders, their mail end up being reported as "Undelivereable".

Now, to my question:

Is there any way to clear the cache of Outlook for a large amount of users without actually doing it by hand?

(Also, I had somewhat of a brainfreeze when I wrote the subject, so if you think of something more appropriate, please do change it!)

Marcus Hansson

Posted 2012-01-16T10:19:30.597

Reputation: 491

So is it caching the old distributions email? Also, is the mailbox the exactly same name as the old distribution group? Have you tried sending it via OWA or does it only not work on certain users PC's? – Joe S – 2012-01-16T12:28:18.713

Sending via OWA works, and the problem only exists on the PC's which haven't had cacheing turned off in Outlook. And yes, the name is exactly the same name as the distrubition-list (which is why the problem is there in the first place; outlook sends with the "/o=/OU=(GUID)/CN="-etc (Which is the cached address). When you type, for example "e@domain.com", Outlook sees it as "/o=/OU=.." and sends with that address (so as to instruct the sending server that it's an internal address), which is a huge problem since the cached GUID and what-not doesn't lead to New Leaders.) – Marcus Hansson – 2012-01-16T13:59:48.000

Ah ok, and do you want to clear all the cache or just remove that email address?

As you could create a batch file to remove the NK2 file and add that to the logon script or logoff script. – Joe S – 2012-01-16T14:36:15.870

Mmmh, that's actually a viable solution. Do you think there's a command (line or GUI, doesn't matter) to force exchange to recognize mail directed toward Old Leaders as mail meant for New Leaders? Would be awesome since this mailbox is "publicly" visible. – Marcus Hansson – 2012-01-16T15:05:09.157

If you ran a script to remove the NK2 files, you wouldn't need a script do redirect as you said they are the exact name. You just changed it to be a mailbox. So it was say leaders@example.com (distribution group) and its still leaders@example.com as a mailbox, right?

Do you want a batch file to remove the NK2 file? – Joe S – 2012-01-16T15:14:23.013

I was just about to write that my conecern was that there might be "external" people with this problem (ie. not my clients). But then I remembered that external clients doesn't have this problem, since the only thing they see is the actual headers (To: mail@mail.mail <mail@mail.mail>, etc.). – Marcus Hansson – 2012-01-16T15:46:39.307

So, since you actually helped me and all, put the answer (erasing the cache-file) in a (heh) answer and you'll have some rep :) – Marcus Hansson – 2012-01-16T15:48:22.610

Just added one and glad I could help :-) – Joe S – 2012-01-16T15:54:59.173

Did this resolve your issue? Was my answer ok? :D – Joe S – 2012-01-17T13:15:24.263

(Although the script looks like it should work just as intended, I just want to point out that I didn't actually use the script you provided. Just a FYI for future people looking through this question) – Marcus Hansson – 2012-01-17T17:12:45.293

Answers

1

The email addresses are saved in an NK2 file which means you can use a batch file to remove the NK2 file. This can be added to either the logon script or logoff script (personally I'd add it to the logon script). This will then delete the NK2 file and no emails will be cached on that PC anymore.

Here is a little batch file I mocked up (just in case you or anyone needed it):

@ECHO OFF
SET NK2LOCN="%APPDATA%\Microsoft\Outlook"
IF EXIST %NK2LOCN%\NK2done.log GOTO :END
ECHO %DATE% %TIME% NK2 FILE CLEANUP STARTED > %NK2LOCN%\NK2done.log
RENAME %NK2LOCN%\*.NK2 *.NK2.BAK
ECHO %DATE% %TIME% NK2 FILE CLEANUP FINISHED >> %NK2LOCN%\NK2done.log
:END

Let me know if there is anything else related to this topic that I can help you with.

Joe S

Posted 2012-01-16T10:19:30.597

Reputation: 570