If you get this error message when trying to add a second smtp domain (you have added the recipient policy and created an alias in exchange) but you cannot receive external mail to this domain.
Here's the trick.
The IIS Metabase is missing an entry. I have seen this on SBS servers and on Exchange servers with 3rd part AV/Spam apps.
Download the IIS 6 Resource Kit.
Open MBExplorer
Navigate to LM\SmtpSvc\1\Domain\. Check if all domains are listed there.
If the problem domain is not in the list. You need to manually add one key for the new domain.
Make sure that you perform a backup for your metabase, you can follow the steps below to backup your metabase first.
In the Metabase Explorer, right-click ''LM'' and select ''Export to file''.
Export the key to a mbk file for backup purposes.
Then Navigate to LM\SmtpSvc\1\Domain\.
Right-click the key of primary SMTP domain, choose ''Copy''. Then, right-click ''Domain'' and choose ''Paste''. In the key already exists box, select ''Copy to a new key'' and input the new domain name in the box. Click ''OK'' and then you will see a new key with the new SMTP domain name.
Close Metabase Explorer. Click ''Start''->''Run''->Input ''iisreset'' and press Enter.
Test to see if that solves it!
2 comments:
Thank you so much for publishing this solution. I was pulling my hair out when I added another domain to my SBS 2003 configuration. What's strange is that I already have 5 domains but I probably ran the SBS wizards for the previous ones. This time I didn't do that (it changes too much stuff).
Questions:
1. Should I generate a different GUID for the 61536 entry? It looks like all the other domains have different values for that ID.
2. Is the GUID used anywhere else (just in case I choose to generate a unique one)?
3. Any idea why this isn't part of Exchange System Manager? It's pretty lame that I have to resort to manually editing the metabase.
4. I can probably find this out with a little more research, but I'll ask anyway. Is there any way to script this, e.g. from the command line? It would be pretty handy if there was a script for adding a new domain. It would also be nice if we could script deleting a domain as well.
Thanks again for your help.
David
My technical blog
1 and 2 seem sensible enough although I have not investigated too much.
3. Historically the exchange team took a shortcut and used the IIS smtp engine as opposed to developing their own, as such small issues like this arose. Exchange 2007 at last brings smtp fully integrated into exchange.
4. I understand why you would want this, but would advise against it. Automated tinkering of the IIS metabase could and probably will lead to disaster. Since adding a new smtp domain is somewhat infrequent I would be content to doing this manually.
In any case doing this manually is not always required and seems to only happen a small amount of times.
Post a Comment