Saturday 16 February 2008

Blog Tags were not working

I've added the following to web.config to allow these to work:

I added it just before the  tag.

How-to Enable antispam updates on a single Exchange 2007 server

There is a handy little script that you can run from the Exchange Management Shell:

To update manually:

To update automatically:
Enable-AntispamUpdates -UpdateMode Automatic

How-to Allow a distribution group to receive mail from the internet

Found the answer here:

Use the following command in Exchange management shell:
Set-DistributionGroup "Group Name" -RequireSenderAuthenticationEnabled $false

Moved to new server

We are now running on Server 2008.

Let me know of any issues please!

Virtual Server on Server 2008

You must remember to add the CGI service role to IIS 7.0:

How-to Create antispam reports

There are a number of reports avaiable in Exchange Management Shell.

You must first change into the scripts directory (cd C:\Program Files\Microsoft\Exchange Server\Scripts) and then try the following:

Tuesday 12 February 2008

How-to grant Sendas for Distribution Groups

Found the answer here:

Run the following in Exchange Management shell:
Add-AdPermission "Distribution Group Name" -user "Mailbox Name" -AccessRights extendedright -ExtendedRights "send as"

Sunday 10 February 2008

How-to Backup Exchange 2007 on Server 2008

After all the hassle of getting Exchange 2007 setup yesterday, I found that I had no way to backup my Exchange 2007 server running on Server 2008. For whatever reason, Microsoft do not supply NTBackup and there is no in-built way of backing up Exchange 2007 when run on Server 2008.

Now, I could opt for a third party backup program or use Microsoft DPM, but for my 4 user network, this is a little bit of an overkill.

After some research, I found this article on how to install NTNackup on Vista:

I followed this by copying the following binaries from my old server (C:\Windows\System32\) to my new server (C:\Program Files\NTBackup\):
  • ntbackup.exe
  • ntmsapi.dll
  • vssapi.dll
I installed the removable storage manager from server manager:
  • Start Server Manager
  • Click Features
  • Click Add Features
  • Select Removable Storage Manager
  • Click Install
When NTBackup starts, you will see an error regarding removable storage, but I just ignored this and clicked "Do not show this again"

Upon running NTBackup, I could see drives and system state, but no Exchange!

I then found this:

I copied esebcli2.dll from my old server (C:\Program Files\Exchsrvr\Bin) to my new sever (C:\Program Files\NTBackup)

I ran regedit and changed the esebcli2 key from C:\Program Files\Micrsoft\Exchange Server\Bin\esebcli2.dll to C:\Program Files\NTBackup\esebcli2.dll.

I ran NTBackup and backed up my Exchange store to disk!

Saturday 9 February 2008

Exchange 2007 on Server 2008

What a day!

I've learnt a hard lesson today. Never unbind IPv6 from Server 2008 if its running Exchange 2007.

I had some problems adding some Vista laptops to a Server 2008 domain today. I couldn't determine if it was SP1 RC1, UAC being turned off or IPv6. The computers would not join the domain using the GUI. I had to manually extract the XP SP2 version of netdom and use that, after manually creating the computer accounts in the domain.

All was well until I restarted the Server. The Exchange Transport Service hung in "starting" and I could not connect to the Exchange server using the Power Shell or Console. I kept getting AD errors from these tools, and lots of errors about the Exchange AD Topology service not being able to contact AD.

To cut a long story short, I flattened the server and started again - Only to discover that IPv6 wasn't the problems with the workstations joining the domain, but it was the problem for Exchange 2007!

I never did get to the bottom of the problem joining the domain though. At least I have a work round now - Use XP SP2 Netdom!

Saturday 2 February 2008

Problems installing and using Exchange 2007

I'm upgrading my Exchange 2003 organisation to Exchange 2007 this weekend, as a reinforced learning experience for when I begin to deploy Exchange 2007 for a major customer.

I had a couple of problems:
  1. A setup error occured: "[ERROR] Access to the path 'D:\Setup\ServerRoles\Common\64' is denied"
  2. When I re-ran setup, it installed, but there were no routing group connectors between the old routing group "First Administrative Group\First Routing Group" and the new routing group "Exchange Administrative Group (FYDIBOHF23SPDLT)\Exchange Routing Group (DWBGZMFD01QNBJR)".
  3. I created the routing group connectors, and moved a mailbox, but mail would not flow. Kept getting 5.7.1 Relay Denied errors from the new organisation.
I found a few references:
Setup error:
How to install Exchange 2007 into an Exchange 2003 organisation:
How to remove Exchange 2007 roles:
For some reason, my new Action Pack came with Exchange 2007 SP0 and not SP1.
I've downloaded Exchange 2007 SP1 and will reinstall this when I have removed Exchange 2007 from the server.

Exchange 2007 SP1:

Exchange 2007 SP1 Release Notes:

NB:Just what does FYDIBOHF23SPDLT and DWBGZMFD01QNBJR mean?They are shifts of "EXCHANGE12ROCKS". First one, add 1 to each character, second one, deduct 1 from each character.