Set-ReceiveConnector and the defaultdomain option
Hello, I am planning to use Exchange 2k7 to host several virtual companies. I really want no disclosures that it is a shared solution. I managed to did this in Exchange 2003, but I want to move to 2007. The last problem I have are the NDR's. They all seem to come from the default domain (which is really not a common internet name, but something like generic.local). What I did with Exchange 2003I created per company a virtual SMTP inbound server and with metaedit I was able to change the default domain name. When an NDR was generated, it used the default domain of the vSMTP server to construct the postmaster account, so this was quite easy. In my Ek7 test setup I have created one RecieveConnector per company. I also setup the accepted domains for all the companies and they do show up in the list Get-AcceptedDomains. However, when I want to change the default domain of a recieveconnector I get the error : Set-ReceiveConnector testdomain -defaultdomain "testdomain.nl" Set-ReceiveConnector : Accepted domain "testdomain.nl" was not found. It must be one of the configured accepted domains. Please make sure you typed it correctly.At line:1 char:21+ Set-ReceiveConnector <<<< testdomain -defaultdomain "testdomain.nl" While on the other hand : C:\>Get-AcceptedDomain Name DomainName DomainType Default---- ---------- -------- -------shared.local shared.local Autho... Truetestdomaintestdomain.nl Autho... Falsetestdomain2 testdomain2.nl.nl Autho... False How can this be resolved ? I think this is a bug or not ?If not,it's a design bug. BR, Ronald Top Netherlands
May 21st, 2007 12:23am

just a thought, but have you tried adding -force to the end of your command line?
Free Windows Admin Tool Kit Click here and download it now
May 21st, 2007 2:30pm

Nope, haven't tried that, was not aware of sucha switch. Every command should imply a force or not =) I will try and let you know what happens Something else, how to migrate Schedule+ to a new greenfield 2k7 org ? The sites are not and cannot be connected by a network, so data must be put on a disk or tape and transfered to the other location and then imported. User accounts are also different, there is a match list of accounts present. Any ideas ? Can this be tricked with exmerge orso ? Or should I install an e2k3 server in the e2k7 org ? The e2k7 org is not installed yet, so I do have the choice right now. BR, Ronald
May 21st, 2007 10:14pm

LOL, being able to force every command would be cool but then judging by some of the 'professionals' out there I think it could cause the rest of usadditional headache in having to run around cleaning up the incorrectly forced entries/configs haha. mind you, would be a good way to increase revenue. ;-) The schedule+ is an interesting one, your Exchange 2007org would need to have public folders setup (not done by default) & exmerge support is not there in 2007 either. There will be pst support coming into Exchange Management Shell with 2007 SP1 so for now the only way to move data from pst to E12 is by using outlook. If you have the option of using a temporary 2003 svr for the co-existance, this may just be the way forward for now. If you can try your options in a lab & see what happens, also post your findings here for the rest of us to see. Good Luck
Free Windows Admin Tool Kit Click here and download it now
May 22nd, 2007 6:10am

Yeah, would be a good shake out and some to gain for the real pro's =) Of course, I share my stuff... Here's what I did : Installed greenfield E2k3 with no connectors whatoever Installed a E2k7 server in same org, domain and connected to the default routing group created users in added e2k3 based mailboxes On another E2k3 system created some users with some cross appointments, mail, etc Did an exmerge export transfered the mailboxes (all vm workstation, so quite easy) Did an emerge import (to the e2k3 based mailboxes) then tried to ceate an app with one of the imported users, but I said can not retrieve schedule+/FreeBusy info Logged in with every single user I did the import to, run outlook /cleanfreebusy for every user (drag !!! imagine 100s of users !!!) But .. then it worked, all appointments were there (with the old names as attendees and these are useless, but ok, it's something) Then moved two mailboxes withappointment with eachotherto E2k7 system with Outlook 2007 And yes, both show correct calendars, I can create cross apointsments from legacy mailboxes and e2k7 user mailboxes So, this looks ok to have a e2k3 server in the middle just for the import processes. Two points : 1. Boring having to start outlook for each user with the cleanfreebusy switch 2. are the e2k7 mailboxes using the schedule+ service from the e2k3 server or the availability service from the e2k7 server ?? Got some ideas on these two ?? May be I should just import and move the legacy box right after. then look in e2k7 what happens .. Any ideas, comments, lemme know ! No time for the -force switch, deleted my previous install BR, Ronald
May 22nd, 2007 11:52pm

I know this post is over 2 years old, but I have got the solution to the problem:PROBLEMSet-ReceiveConnector testdomain -defaultdomain "testdomain.nl" Set-ReceiveConnector : Accepted domain "testdomain.nl" was not found. It must be one of the configured accepted domains. Please make sure you typed it correctly.At line:1 char:21+ Set-ReceiveConnector <<<< testdomain -defaultdomain "testdomain.nl" While on the other hand :C:\>Get-AcceptedDomain Name DomainName DomainType Default---- ---------- -------- -------shared.local shared.local Autho... Truetestdomaintestdomain.nl Autho... Falsetestdomain2 testdomain2.nl.nl Autho... FalseSOLUTIONWhile running the Set-ReceiveConnector command, for the parameter: -Defaultdomain you have to enter the Name of the accepted domain and not the DomainName. In your example the Name differs from the domainname testdomain versus testdomain.nlSo to command would have worked if you typed the following:Set-ReceiveConnector testdomain -defaultdomain "testdomain"RegardsErik Nettekoven | MCSE 2000 | MCSE 2003 | MCITP: EA
Free Windows Admin Tool Kit Click here and download it now
July 3rd, 2009 12:17pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics