Do you speak SMTP…?

With this little script, you can send an e-mail to the outside world without using any mailclient.

————————————————–
ehlo console
mail from: sender@domain.com
rcpt to: recipient@domain.com
data
To: recipient@domain.com
From: sender@domain.com
Subject: Test Message Mailflow

This is a message for testing the mailflow.
.
quit
————————————————–

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.

HKEY_Local_Machine\System\CurruntControlSet\Services\MSExchangeIS\NTS31\Private-xxxxxxx

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.

(172.16.1.19, 172.16.1.20 and the range 172.16.1.200 – 172.16.1.210)

      

       

       

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 😉

 

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”
pause

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.

Installing Exchange 2007 SP1 on Windows 2003 server

This article will show an installation of Exchange 2007 Service Pack 1 on Windows 2003 server. The first step is to install al the prerequisites for Exchange 2007. Make sure your Windows 2003 server operating system is 64 bits.

  • Microsoft .NET Framework 2.0 x64
  • Microsoft .NET Framework 2.0 x64 update KB926776
  • Microsoft Management Console 3.0 for Windows 2003 x64 KB907265
  • Microsoft PowerShell 1.0 for Windows 2003 x64
  • Domein Functional Level of 2000 Native of higher
  • Internet Information Services (IIS)

       

       

       

The installation of Exchange 2007 Service Pack 1 is finished. Remember, this is only the basic installation without any rollup packs.