Tag Archive for Exchange

[Part 2] Configuring a Exchange 2010 to send and receive mail from the internet (video)

In part 2 of our Exchange 2010 tour I will show you how to configure Exchange 2010 to send and receive mail from the internet. In this tutorial I will use a trashdomain called “worldrallyforum.com”. The server is running Active Directory and Exchange 2010 as setup in my previous tutorial (part 1). The server is in DMZ and has the internal IP address 192.168.0.90.

System requirements

In order to proceed you need a Microsoft Windows 2008 R2 server with Active Directory and Exchange 2010 installed (link).

Step 1. Open the Exchange Management Console. You can find it under Start > All Programs > Microsoft Exchange Server 2010 > Exchange Management Console.

Step 2. Expand Microsoft Exchange On-Premises. You will now be able to see a lot of categories to configure.

Step 3. Underneath Organization Configuration you will be able to find Hub Transport. A new window will appear with a few tabs. Hit “Accepted Domains”. Right-click inside this window and hit “New accepted domain”. A new wizard will appear. Enter a name, f.e. “wrf” and the Accepted Domain, “worldrallyforum.com” in my case. Hit new and finish.

Step 4. Underneath Organization Configuration, Hub Transport you will also be able to find a tab called “Send Connectors”. Right-click inside this window and hit “New send connector”. A new wizard will appear. Enter a name, f.e. “First send connector”, change the drop-down menu to “Internet”, hit next, hit Add.., in the Address field enter “*” and check “include all subdomains”, hit OK, hit next, if you want to use the MX record to route mail leave it like this, otherwise hit “Route mail through the following smart hosts”, Add.., check FQDN, enter the domain name (smtp.upcmail.nl in my example), hit OK, hit next,  next, new, finish.

Step 5. The last step is to actually allow remote traffic inside the Exchange server by changing a policy. Underneath Server Configuration, Hub Transport, right-click “Default [hostname]”, properties, hit the “permissions groups” tab, check “Anonymous users” and hit OK.

Thats it! All you have to do now is adding new mailboxes underneath Recipient Configuration, Mailbox.

Changing the default domain name for e-mail addresses.

Imagine you have a lot of mailboxes and you want to change the e-mail addresses of them all at once. You can do this via the e-mail address policy int he Exchange Management Console.

Go to Organization Configuration, Hub Transport, E-mail Address Policies. Right-click into this field and hit “New E-mail Address Policy”. A new wizard appears. Enter a name, hit browse, select the OU that you want to change, hit OK, hit next, hit next, hit add, select “Select the accepted domain for the e-mail address”, hit browse, select the domain you want to add, hit OK, hit OK, hit next, hit next, hit new, hit finish.

Done!

 

[Part 1] Installing Microsoft Exchange 2010 on Windows Server 2008 R2 (video)

Setting up your own Microsoft Exchange 2010 server is quite simple. You just need to download a few prerequisites that you can get from the PowerShell. In this tutorial I will show you how to install your own Microsoft Exchange 2010 server on Windows Server 2008 R2! :)

 

System requirements

Before we can start, you’ll need to make sure that your new Exchange server is running in an Active Directory environment and that it’s part of the domain. It’s also advised to completely update your server to the latest software before starting the installation process.

Prerequisites

In order to successfully complete the Exchange 2010 installation we need a few prerequisites.

First, install the 2007 Office System Converter: Microsoft Filter Pack. You can download it here.

Second, add a few Windows features that you can get from the PowerShell command. Start PowerShell via Start > All Programs > Accessories > Windows PowerShell. Run this program as system administrator.

A new window will open, enter the following command:

Import-Module ServerManager

In case you wish to install a typical server including Client Access, Hub Transport and Mailbox roles, run the following command:

Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,Web-Asp-Net,Web-Client-Auth,Web-Dir-Browsing,Web-Http-Errors,Web-Http-Logging,Web-Http-Redirect,Web-Http-Tracing,Web-ISAPI-Filter,Web-Request-Monitor,Web-Static-Content,Web-WMI,RPC-Over-HTTP-Proxy -Restart

You can find more examples and server roles here.

In case your new server is running the Client Access Server role, it requires Net.Tcp Port Sharing to be automatically started at start up. To achieve this, open the PowerShell again and run:

Set-Service NetTcpPortSharing -StartupType Automatic

Next, run the installer and have fun with your new Exchange 2010 server!

The video bellow also covers the installation.

 

Excuse me for the annoying music, it’s one of my first screencasts. :)