Limits on maildatabase Exchange 2007…?

One of the new features in Exchange 2007 SP1 is the “unlimited” storage for your mailbox databases, as you can see in this overview.  

After installing Exchange 2007 SP1 Standard Edtion, I received the following eventid (1216).

So, let’s change some register keys to prevent this eventid. Open regedit and go to the following registerhives.


Here you can find your mailboxdatabases, this can be different in your situation.

Add a DWORD called Database Size Limit in GB. Lets change the decimal value to 180, this means 180 GB.


After dismounting and mounting the mailboxdatabase, you get the following eventid.

Unable to relay…

In some environments there are applications or even servers who wants to relay off the Exchange 2007 server. Default no servers are authenticated to relay, until you create a new Receive Connector.

Let’s have a look on that…

First off all, open your Exchange Management Console, Server Configuration, Hub Transport, Receive Connectors. Here we going to add a new custom Receive Connector, calling Relay Connector.

In this example the following servers are authenticated to relay of the Exchange 2007 Server.

(, and the range –




Customize OWA in Exchange 2007

One of the features in Exchange 2007 is Outlook Web Access (OWA). This feuture was also available in the earlier versions of Exchange, but this OWA has changed in a copple of things. Its almost a complete web-based Outlook client.

Default all of the users have access to all the (new)features.

From the EMC (Exchange Management Console) go to Server Configuration, Client Access, Outlook Web Acces and open the Properties. After this go to the Segmentation tab.

Here you can enable or disable some features. Let’s customize our OWA website, and find the differents 😉


Join domain batchfile

With the following script you can yoin a workstation to a domain. Copy the script into notepad and save it as an batchfile.

@echo off

cd \Temp\Tools
netdom.exe JOIN %COMPUTERNAME% /Domain:corp.local

 /UserD:WSimport /PasswordD:*** /OU:”OU=Workstations,DC=corp,DC=local”

Make sure the user you use in the script has administrative rights, so this user can join the workstations into de domain corp.local.

Defrag an Exchange Maildatabase

With the following commando, you can perform an offline defragmentation of the maildatabase. Be sure that you dismount the specific database before you start the commando.

“D:\ExchSvr\Bin\eseutil.exe” /d “E:\SG1MD1\SG1MD1.edb” /t “D:\TEMP\temp_defrag.edb”

The path to the de maildatabase can be different in some environments, so you have to change that path manualy.

E:\temp\temp_defrag.edb is the path and filename for the tempdatabase. This can also changed manualy.

Make sure you dismount the specific mailstore.



Renew Exchange 2007 self-signed certificate

When you install an Exchange 2007 server, there will also installed an self-signed certificate. This will be used for your internal OWA, OMA, ActiveSync. After one year, this self-signed certificate will be expired and it has to be renewed. So let’s take a look on that…

First you will get some information about the current certificates.






Remember that you have to distribute this new certificate to all mobile devices.