General discussion
October 2, 2007 at 06:59 PM
csheppard

How to Host your own Mail Server running Exchange Server 2003 SP2

by csheppard . Updated 15 years, 5 months ago

I hope what I post will help people out. In doing this I ran into several problems, mainly DNS issues and the lack of knowledge. After I completed it, I decided I’m going to post what I did to eventually help someone out. Here you go:

Things I had:

1. One Exchange Server (Exchange Server 2003)
2. Two Public IP Addresses (Contact ISP)
3. Registered Domain Name (www.register.com)

Here’s how I configured my Exchange Server

Three total NICS. Two of the NICS were configured with the public IP addresses provided by our Internet Service Provider (ISP). The third NIC was configured with a private IP address. ALL DNS were pointed to the main DNS Server. (DNS was NOT configured at this time, only the addresses were pointing to the main DNS server).

I’ll get back to that.

On the Primary DNS Server:

(DNS configuration were already made)

*before you follow these instructions, create a reverse lookup zone (PTR Record). Point that IP Address to the PUBLIC Exchange IP Address. Doing this first will avoid you receiving an error when you create the following forward zones.*

1. Create a new domain by right clicking on the forward lookup zone and going to “New Domain”

2. Name it after your company without .com or any other extension.

3. Now create a new ZONE by right clicking and going to “New Zone”

4. Name it as the following: dns1.yourdomain.com

5. Create an MX Record. (Contact your ISP for the MX record name you’ll have to use). For instance, my was named: mail.mydomain.com

6. Create an A(Host) Record. Point this record to the Exchange Server’s PUBLIC IP Address.

7. Create a second zone (If you have TWO public IP Addresses)

8. Repeat the above steps.

Back to the Exchange Server

In DNS:

Create a secondary forward and reverse lookup zone. Add the main DNS server’s IP addresses.

Inside of www.register.com

Change their default DNS server to your DNS server name. (dns1.yourdomain.com); (dns2.yourdomain.com).

Change MX Record (mail.yourdomain.com)

Change A Record (Point to Exchange server Public IP Addresses)

In Exchange System Manager:

1. Go to recipient policies

2. Change email extensions to user@yourdomain.com

3. Use SMTP and set as primary

Inside of Outlook:

1. Create the new user

2. For POP3 and SMTP settings use dns1.yourdomain.com and dns2.yourdomain.com

3. Test

Lastly, if you have access to your firewall, ALLOW port 110 (POP3).

ALLOW port 25 (SMTP). This should already be set by default.

And make configuration for your public IP Addresses.

I hope this helps out anyone out there. One thing I should mention is that this is my Front End Exchange Server. I am in the process of making my Back End Exchange Server. Your Front End Server is exposed to the world so you want to add as much security as you can. I have an Instrusion Detection Server sitting in front of it and also firewall settings in place. You may want to consider doing that.

This discussion is locked

All Comments