Sunday, August 30, 2009

Cannot remove the domain 'yourDomain.local' because it is referenced by the proxy address template 'SMTP:@yourDomain.local'.

You just installed Exchange into your domain environment and your domain DNS name space is  yourDomain.local. When you full users properties you have noticed the e-mail addresses for the users fallows as

image

Now your company SMTP name space is  Telnet25.org and you would like to stamp all users with this Proxy Address instead of .local

Task:

go to organization configuration, and click Hub Transport Server on the right pane under accepted domain you will see the current SMTP name space for accepted domain, and this is the ProxyName Exchange will stamp users with as soon as you crated mail enabled users.

in the same place make a right click and select “new accepted domain”

image

I will type my own domain which is “Telnet25.org” change this as you wish, click new and finish

image

Now under accepted domain we have Telnet25.org , and if we do want to get rid of first one by making right click and remove you will see you have no remove option because it is set to be default, so we will make the second one default by clicking on it and selecting it to be the default

image

Now lets make right click and remove it , the one we wish to get rid of

image

here is what we got

image

Now click on E-mail address policies, click on default policy

right click edit, two times next , under e-mail addresses, click edit

image

You can double click on the @smtp25.local part and simply change this to PoxyAddress policy you wish to use

image

image

fallow the wizard and finish.

image

Go back to accepted domains and remove it

image

If you pull your users you will see the new ProxyAddress is the default

image

oz Casey Dedeal,

MVP (Exchange)
MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +

Http://smtp25.blogspot.com (Blog)

Http://telnet25.spaces.live.com (Blog)

Http://telnet25.worldpress.com (Blog)

3 comments:

Gabrie said...

Hi
So far so good. But how do I delete the old smtp addresses? The steps you described have all been done, but the old address is still connected to the users.

The old domain we used to have internal has moved to external. I can't send e-mail out, they keep on ending up in local mailboxes.

When using an external webmail account, I can send to the old domain without problems. Just from internal to old domain won't work.

DNS resolution is ok. On the exchange host an MX lookup for old domain points to external server.

Gabrie

Oz Casey Dedeal said...

You can simply use ADMODIFY to get rid of from old smtp addresses

http://smtp25.blogspot.com/2008/08/how-to-make-bulk-changes-in-active.html


ocd

Jurgen Verhelst said...

$allmailboxes = get-mailbox
$allmailboxes |% {$a = $_.emailaddresses; $b = $_.emailaddresses; foreach ($e in $a) {if ($e.tostring() -match "DomainIWantToRemove.be") {$b -= $e;}}$_ | set-mailbox -emailaddresses $b}