Apr 062009
 

We have already discussed how to install win server 2003 .This step by step tutorial how to install and set up email accounts, by using the built-in POP3 Service in Windows Server 2003.
Preparation

First you need to make sure you have install and configure windows server 2003 with domain controller.If you want step by step guide check here

Install the Email Server

Go to Start->Programs->Administrative Tools->Manage Your Server once it opens you should see similar to the following screen here Click on Add or remove a role

1

This will start the Configure Your Server Wizard. Read the text and make sure you have connected all the necessary cables and all the other things it says you should do before continuing.Click on Next

2

We now come to the step where we add and remove roles for our server. Select Mail Server (POP3,SMTP) click Next

3

You will now specify the type of authentication and type the email domain name. In this tutorial we will use Windows Authentication, and we will use our domain name, windowsreference.com. You should of course use your domain name.click next

4

Next step shows summary of our selection click on next

5

Mail server is in progress

6

When you get prompted to insert your Windows Server 2003 CD-ROM into your CD-ROM drive, do so and click ok. If you didn’t get prompted to do that, you maybe already have it in the drive.

7

Copying files in progress

8

After completing installation you should see similar to the following screen click Finish

9

Configuring Email Server

Click Start—>run type server.msc click ok this will open up the POP3 Service. This is where you configure and manage the POP3 part of the mail server.Click on <ComputerName> in the left pane and Click on Server Properties in the right pane

11

This brings up the Properties for our Mail Server.I will explain each setting as follows

12

Authentication Method

Local Windows Accounts

If your server is stand alone (not member of an Active Directory domain), and you want to have the user accounts on the same local computer as the POP3 service, this is the best option. By using this option, you will use the SAM (Security Accounts Manager) for both the email user accounts, and the user accounts on the local computer. This means that a user can use the same user name and password to be authenticated for both the POP3 service and Windows on the local computer. But there is a limitation, although you can host multiple domains on the server, there must be unique user names for all domains. So, let us say you have two users named Sandra. One working at company1.com and another one working at company2.com. Their user name used will be sachin@company1.com and sachin@company2.com. But in SAM, they will both have the same user name, sandra, so one of them must be renamed to something else (if we don’t want them to read each other’s emails).

If you create the user account when you create the mail box (by using the POP3 interface), the user will be added to the POP3 user group. Members of this group are not allowed to logon locally. The fact that the users are added to the POP3 group does not mean that you must be a member of this group to have a mailbox. You should however be careful adding mailboxes to users that are not member of the POP3 group, because the password used for email can for example be sniffed (if you are not using SPA), or someone can brute force the password and gain access to the server.

Server Port

We strongly recommend that you use port 110 because this is the standard port for the POP3 protocol. If you change this, make  sure you notify all users so they can configure their email clients to use this other port. Also make sure you restart the POP3 service if you change this.

Logging Level

Four options to choose between. If you change this, remember that you must restart the POP3 service.

None – Nothing is logged.

Low – Only critical events are logged.

Medium – Both critical and warning events are logged.

High – Critical, warning and informational events are logged.

Root Mail Directory

If you don’t want to use the default Mail Directory, you can choose another one. Make sure the path is not more than 260 characters and you can also not store to the root of a partition (i.e. C:). It is strongly recommended that you use a NTFS formatted partition. You can’t use a mapped drive, but the UNC name (\\servername\share) can be used. If you later change the store, and there are still emails in one or more boxes, you must manually move the folders in which there are emails to the new location. You must also reset the permissions on the directory by using winpop set mailroot.

SPA

Enable SPA if you want to have a secure communication between your email sever and email clients. This will send both the user name and password encrypted from the client to the server, instead of sending it in clear text. SPA supports only Local Windows Accounts and Active Directory Integrated Authentication. It is recommended to use this. Remember to restart the POP3 service if you change this.

Create a mailbox

The Setup Wizard created a domain to us, so we do not need to create this manually. If you did not use Manage Your Server to install, add the domain manually be clicking the server name in the left pane and then click New domain in the right pane.

Remember to set the properties before you add the domain.(We have completed in the above step)

Click on your domain (windowsreference.com in my case) in the left pane.Click Add Mailbox in the right pane.

13

This will open up the Add Mailbox window here you need to enter name and password click ok

14

A message will pop-up and tell you how to configure the email clients. Read this, and notice the difference when using SPA or not. click ok

15

After creating user you should see similar to the following screen

16

What we just did was not only creating a mailbox named admin, but we also created a user admin.

Configure the SMTP Server

We have to configure the SMTP part to be able to receive and send emails. A common mistake is to think that the POP3 server receives the emails. But that is not true, all the POP3 is doing is ‘pop’ the emails out to the clients. It’s the SMTP server that is communicating with other SMTP servers and receives and sends emails.

17

Open Computer Management,Expand Services and Applications, expand Internet Information Service
Right click Default SMTP Virtual Server and click Properties

18

Once it opens properties tab you should see similar to the following screen here you need to Click the Access tab Click the Authentication button

19

Here you need to make sure Anonymous Access and Integrated Windows Authentication is enabled.

20

Click the Relay button from the properties windows and make sure Allow all computers which successfully… is enabled and Only the list below is selected.

21

First of all, Authentication and Relay is not the same thing. We use the Authentication button to specify which authentications methods are allowed for users and other SMTP servers. So enabling Anonymous here is not a security issue, in fact, it’s required if we want our server to be able to receive emails from other servers on Internet . We also need Windows Authentication so the email clients can authenticate to the server and be able to relay (send emails).

That’s it for server side now you need to configure your email clients.

If you want users to only be allowed to relay if they are on a private network, then you can uncheck Windows Authentication as allowed authentication method, and specify the IP range for your network in the Relay Restrictions window.

Enable SPA (Secure Password Authentication)

You need to configure your network network as secure as possible, so we prefer to use SPA (Secure Password Authentication). This will, as stated before, send the user name and password from the client encrypted, instead of clear text.

Click Start, then Run ype p3server.msc

In the right pane, right click your computer’s name and click Properties

Check the box Require Secure Password Authentication…  and Click OK

22

You will be prompted to restart the Microsoft POP3 Service, click Yes

23

Incoming search terms:

  38 Responses to “Step By Step Email Server Setup in Windows Server 2003”

  1. Very good arical, but we need more…….

  2. It’s work but i can not connect mail client to this server. The error is Not found server, and I want to know which server should we apply for pop3 and smtp. I also need more document abut this

  3. thank you

  4. Hi,
    I want to design my mail server i am using windows server 2003 and i have 12 computer in my office how i will configure mean had i design my mail server on workgroup or it must first i configure as domain.

    i have an 12 E-Mail IDs how i configure had i configure one by one or Just mail one as admin e mail and other make client…

    Mean my web mail address is mail.khaqi.com.pk -> and my other 10 email like Khaqi@khaqi.com.pk & Aabi@khaqi.com.pk etc how i will configure this kind of mail server…

    plz reply

    Best Regard

  5. Hi,

    I like to find out how we can add and mail box Id to an existing user server.

    thanks,

  6. thanks it helps me a lot.

  7. thankx

  8. What I do after these step ….. How to configure outlook express please guide next step
    thankx

  9. Hi there, I’ve had configured the smtp & pop3 mail working properly. One thing I can’t send email to gmail and yahoo mail. Please advice. Thanks

  10. Thank You

  11. thats good and straight to the point

  12. i have 50 email in pop3 service. now i want create a mail if for all these account.

  13. hmmm ok i got it set up but will not send and receive mail keeps giving errors on my ports… 25 and 110 i have forwarded them from my router so all should be good right please advise my email is trucker.anthony@gmail.com

  14. hi,
    We have 20 computer’s and 1 exchange server

    all the computer in work group so how to create domain server
    then how to add 20 computer in domain pls help me

    Mahesh

  15. I am using dyndns for the e-mail server. I followed your step by step but I think there is more missing I can’t log into the server when I test with outlook it just keeps asking for my password.

    Could you advise?

  16. If someone else send you a mail, how does it know to go to this server that you’ve set up. I know there is MX records involved but how exactly do i set it up?

  17. i want to configure a web server in windows 2008 IIS 6.0 can any one help step by step……….

  18. hi,
    We have 20 computer’s and 1 exchange server

    all the computer in work group so how to create domain server
    then how to add 20 computer in domain pls help me

  19. hi,
    We have 20 computer’s and 1 exchange server

    all the computer in work group so how to create domain server
    then how to add 20 computer in domain pls help me
    zuhiab

  20. Please tell me how to configure (steps) mail server throught active directory. I have create user throught active directory but still cannot connecting to the email address

    thanks

  21. if i own a domain name thjat is http://www.testit.com i can create email from my hosting account like this one john@testit.com.

    if i want to create a mail server how do i point the @testit.com to my mail server instead to the general web server?

  22. thz you
    for your sharing knowledge.

  23. hi please send me all the information about all types of servers that instalation and configure.

  24. i want to configure mail server how to configure mail server

  25. hi i configured the above and it is working well. I did not purchase a domain. When I tried to send a mail to the yahoo domain or any other domain the mail is in queue folder inside Inetpub. It is not delivering. Do I need to purchase domain even for sending mail.. I Think only for receiving to this domain we need to purchase. Please reply to my mail ID with some suggestion and solutions

  26. hi i configured the above and it is working well. I did not purchase a domain. When I tried to send a mail to the yahoo domain or any other domain the mail is in queue folder inside Inetpub. It is not delivering. Do I need to purchase domain even for sending mail.. I Think only for receiving to this domain we need to purchase. Please reply to my mail ID with some suggestion and solutions. my mail ID is rmnaggappan@yahoo.co.in

  27. hi i want to send a pm in srever outlook to xp,s outlook
    please halpe me
    thanks you

  28. I have done the same set up at my end also ….but let me know that how can i acces my mail server from out side my office..which additioonal setting i have to do in that ..which port i have to forward on router ……..

  29. It’s good.

  30. Hi,
    i want to configure server so that all the company mails goes to the server and the other computers download and send mails from the company’s server instead of the domain. how can that be achieved?

  31. Thank you

  32. Dear

    i have configure windows 2003 as s pop3 server and created 50 e-mail, ok i want to send a message to all 50 users, with one e-mail address, mince one e-mail should send to all e-mail how i can do this
    plz reply

  33. I have a WAN network connected by routers at each sites and we have no internet connection in our intranet, do i have to configure anything on the router so that my clients on the other sites can send or receive mails with each other

  34. Thanks for every things

  35. very good but i have configure windows 2003 as s pop3 server and created 10 e-mail beut, when i send mail to orange .fr mail stay in queue and in i got in application smtpvc id event 2006can you help me ?

  36. Thanks its good we need more

  37. please provide next step for outlook configure..

    thanks

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>