Use Win2003 to set up mail server graphics and text detailed _ server other

Source: Internet
Author: User
Tags change settings mail exchange mx record server port
We can actually set up a small mail server to meet our needs through the POP3 service and SMTP service provided by Windows Server 2003.

  First, install POP3 and SMTP service components

Windows Server 2003 does not have the POP3 and SMTP service components installed by default, so we want to add them manually.

1. Install POP3 Service Components

Log on to the Windows Server 2003 system as a system administrator. Go to control Panel → add or Remove Programs → add/Remove Windows components, select the E-mail Service option in the Windows Components Wizard dialog box, and click the "Details" button. You can see that this option includes two parts: the POP3 service and the POP3 Service Web management. To facilitate user management of mail servers remotely, it is recommended that POP3 Service Web management be selected.

2. Install SMTP Service Components

Select the Application Server option, click the "Details" button, and then view the details in the Internet Information Services (IIS) option, select the SMTP service option, and then click the "OK" button. Also, if users need remote Web administration for the mail server, be sure to select the remote Management (HTML) component in the World Wide Web service. When you have completed the above settings, click the "Next" button and the system begins to install the Configure POP3 and SMTP service.

  Second, configure the POP3 server

1. Create a mail domain

Click the "start → admin tools →pop3 service" to eject the POP3 Service Console window. After selecting the POP3 service in the left column, click on the "new field" in the right column, pop-up the "Add Field" dialog box, and then in the "Domain Name" field, enter the name of the mail server, that is, the email address "@" after the section, such as "rtj.net", and finally click "OK" button. where "rtj.net" is the domain name registered on the Internet, and the domain name is set up in the DNS server for an MX mail exchange record to resolve to the Windows Server 2003 mail server IP address.

2. Create user mailboxes

Select the newly created "Rtj.net" field, click "Add Mailbox" in the right column, pop-up Add Mailbox dialog box, enter the mail username in the "Mailbox name" field, then set the user password, then click "OK" button to complete the creation of the mailbox.

  Third, configure the SMTP server

Once you have completed the configuration of the POP3 server, you can start configuring the SMTP server. Click the "start → program → administrative Tools →internet information Services (IIS) Manager", right-click the Default SMTP virtual server option in the IIS Manager window, select Properties in the pop-up menu, go to the Default SMTP virtual server window, and switch to the General tab , select the IP address of the mail server in the IP Address drop-down list box. Click on the "OK" button so that a Simple mail server is completed.

When the above settings are complete, users can use the mail client software to connect to the mail server to send and receive mail. When you set the SMTP and POP3 server addresses for your mail client software, enter the domain name "rtj.net" for your mail server.

  Four, remote Web management

Windows Server 2003 also supports remote Web administration for mail servers. In the remote client, run IE browser, in the Address bar, enter the "https://Server IP Address: 8098", will pop up the connection dialog box, enter the administrator username and password, click the "OK" button, you can login to the Web management interface.

The following is a more detailed version of the text:

The new POP3 service component of the Windows Server 2003 operating system enables users to build a mail server without the use of any tool software. With an e-mail service, you can install the POP3 component on a server computer to configure it as a mail server, and an administrator can use the POP3 service to store and manage e-mail accounts on the mail server. Let's discuss the configuration and management of the mail server.

   Second, configure POP3 mail server

After the initial installation of Windows Server 2003, the POP3 service component was not installed. Therefore, before you configure the POP3 service, you must first install the appropriate components before you can work with settings such as authentication methods, mail store settings, domain, and mailbox management.

The POP3 service provides three different authentication methods to authenticate users connected to the mail server. Before you create any e-mail domain on the mail server, you must select an authentication method. You can change the authentication method only if there is no e-mail domain on the mail server.

   1. Local Windows account authentication

If the mail server is not a member of the Active Directory domain and you want to store the user account on the local computer where the mail service is installed, you can use the local Windows account authentication method to authenticate users of the mail service. Local Windows account authentication integrates messaging services into the local computer's security account Manager (SAM). By using the security Account manager, users who have user accounts on the local computer can use the same user name and password that are authenticated by the POP3 service or the local computer.

Local Windows account authentication can support multiple domains on one server, but user names on different domains must be unique. For example, a user named webmaster@ghq.net and webmaster@jscei.com cannot exist on a single server at the same time.

If you create a mailbox with the appropriate user account, the user account is added to the POP3 users local group. Members of the POP3 Users group cannot log on to the server locally even if they have the same user account on the server. Using the computer's local security policy can increase the limit on local logons, so only authorized users have local logon rights, which can improve the security of the server. In addition, if the user cannot log on locally to the server, it does not affect their use of the POP3 service.

Local Windows account authentication also supports e-mail client authentication for plaintext and Secure Password Authentication (SPA). PlainText authentication is not recommended in which plaintext transmits user data in an unsecured and unencrypted format. Spa requires that e-mail clients use secure authentication to transmit user names and passwords, so this method is recommended instead of plaintext authentication.

   2. Active Directory integrated Authentication

If the server that installs the POP3 service is a member of the Active Directory domain or is an Active Directory domain controller, you can use Active Directory-integrated authentication. Also, with Active Directory-integrated authentication, you can integrate the POP3 service into an existing Active Directory domain. If you create a mailbox that corresponds to an existing Active Directory user account, users can use an existing Active Directory domain user name and password to send and receive e-mail.

You can use Active Directory-integrated authentication to support multiple POP3 domains so that you can establish the same user name in different domains. For example, you can use a user named Webmaster@ghq.net and a user named webmaster@jscei.com.

When you are using Active Directory-integrated authentication and have multiple POP3 e-mail domains, when creating a mailbox, make sure that you consider whether the name of the new mailbox is the same as the name of an existing mailbox in another POP3 e-mail domain. Each mailbox corresponds to an Active Directory user account.

Active Directory-integrated authentication supports both plaintext and Secure Password Authentication (SPA) e-mail client authentication.

If you upgrade a mail server that is using local Windows account authentication to a domain controller, you must follow these steps:

(1) Delete all existing e-mail accounts and domains in the POP3 service.

(2) Create the Active Directory.

(3) Change the local Windows account authentication method to the Active Directory integrated authentication method.

(4) Recreate the domain and the corresponding mailbox.

It should be noted that if you do not follow the above recommended upgrade process, it is possible that the POP3 service will not work properly. In addition, when using Active Directory-integrated authentication, to manage the POP3 service, you must log on to the Active Directory domain instead of logging on to the local computer.

Using the Active Directory domain of the two authentication mechanisms, you can implement the authentication mechanism for client connections. Right-click the computer name in the POP3 Services console and select the Properties menu item to display the Computer Properties dialog box. Select the "Require Secure Password Authentication (SPA) for all client connections" check box to enable authentication for all e-mail clients in the domain. Spa supports only Active Directory-integrated authentication and local Windows account authentication. If Spa is enabled, the user's e-mail client must also be configured to use SPA. Configuring the mail server requires Secure Password authentication, which affects only the POP3 service and does not affect the Simple Mail Transfer Protocol (SMTP) service.

  3, encryption password file authentication

Encrypted password file authentication is ideal for large deployments where the Active Directory is not yet installed and you do not want to create a user on the local computer, and you can easily manage a large number of accounts that may exist from a single local computer.

Encrypted password file authentication uses the user's password to create an encrypted file that is stored in the directory of the user's mailbox on the server. During the user's authentication process, the user-supplied password is encrypted and then compared to the encrypted file stored on the server. If the encrypted password matches the encrypted password stored on the server, the user is authenticated. If you are using encrypted password file authentication, you can use the same user name in different domains.

   third, the management of mail server

i) set the location of the message store

By default, the system saves user messages in the C:\Inetpub\mailroot\Mailbox folder. Because the capacity of the system partition is very limited, it is often necessary to modify the message storage location to another partition. If you want to set up where messages are stored, you must be a member of the local Computer Administrators group, or you must be delegated the appropriate permissions. If you join a computer to a domain, members of the DomainAdmins group might also be able to perform that setting.

(1) Open the Manage Your Server window, click the Manage this mail server hyperlink in the mail server (POP3,SMTP) column, or click the Start-> Control Panel-> Administrative Tools-> POP3 Services option to display the POP3 the Service Console window.

(2) Right-click the "Computer name" node and select the "All Tasks"-> "Stop" submenu in the pop-up shortcut menu to stop the e-mail service.

(3) Right-click the computer name node and choose Properties Submenu from the shortcut menu that pops up, the Mail Server Properties dialog box is displayed, and a new message store folder and path, such as D:\Mailbox, is typed in the root Mail directory text box. You can also click the Browse button to locate and locate the folder where you want to save the user's mailbox.

(4) Then click OK to display the POP3 service warning box, which indicates that the existing domain will not store the message correctly, and that the domain directory must be copied to the new root mail directory to retain the current account body.

(5) Clicking the "OK" button displays the POP3 Service prompt box, where you are reminded that you need to restart the POP3 service and SMTP service to make the changes take effect.

(6) Click the Yes button to restart the mail service.

(7) Open the system's Windows Explorer and copy the domain directory to the new root mail directory. For example, if you set the domain name to ghq.net and the new root mail directory is D:\Mailbox, you should copy the Ghq.net subfolders in the C:\Inetpub\mailroot\mailbox folder to the D:\Mailbox folder.

(8) Right-click the "Computer name" node and select the "All Tasks"-> "Start" submenu in the pop-up shortcut menu to start the e-mail service.

(9) Right-click the Computer name node and select the "All Tasks"-> "Refresh" submenu in the pop-up shortcut menu to take effect for the new domain directory.

In this dialog box, although you can also change the receive server port (110), this is not recommended. The reason is very simple, this is because when modifying the POP3 port, the user also has to do the corresponding setting in the email client, will undoubtedly increase the user's mailbox setting difficulty. In addition, the change settings will not take effect until the POP3 service is restarted.

  II) Admin domain

During the mail server installation, a new domain name will be added and set up for use in the e-mail service. If the enterprise requests two or more domain names, or if the server provides mail services as a virtual host, you can also add multiple domain names to enable the coexistence of multiple messaging virtual services.

1, create the domain

(1) First open the "POP3 Service" console, right-click the computer name node in which, and select the New-> field option from the shortcut menu that pops up, and the Add Field dialog box appears, and in the Field Name text box, type the new domain name, And make sure that the domain name already has the MX record set up in the DNS service.

(2) Click the OK button in the dialog box to complete the addition of the new domain name.

Repeat these actions to add multiple domain names to the mail server.

In addition, the following points should be noted when operating:

The POP3 service supports top-level and level three domain names, for example, Ghq.net and js.ghq.net are supported.

If you are using Active Directory-integrated authentication, you must be logged into the Active Directory domain instead of the local computer to perform this procedure.

2. Admin domain

In a POP3 console tree, you can manage the e-mail domain as necessary, such as delete, lock, or unlock control.

(1) Delete the domain. In the POP3 Services console tree, click Computer Name and right-click the field that you want to delete, and then click the Delete menu command to display a prompt to confirm the deletion of the field. Clicking the OK button in the prompt box deletes the domain, all mailboxes in the domain, and all messages stored in the domain.

(2) lock/unlock domain. Right-click the field you want to lock, select the Lock menu command, and Lock the field. When you unlock a domain, simply select the Unlock menu command in the right-click shortcut menu.

3, encryption password file authentication

Encrypted password file authentication is ideal for large deployments where the Active Directory is not yet installed and you do not want to create a user on the local computer, and you can easily manage a large number of accounts that may exist from a single local computer.

Encrypted password file authentication uses the user's password to create an encrypted file that is stored in the directory of the user's mailbox on the server. During the user's authentication process, the user-supplied password is encrypted and then compared to the encrypted file stored on the server. If the encrypted password matches the encrypted password stored on the server, the user is authenticated. If you are using encrypted password file authentication, you can use the same user name in different domains.

   third, the management of mail server

i) set the location of the message store

By default, the system saves user messages in the C:\Inetpub\mailroot\Mailbox folder. Because the capacity of the system partition is very limited, it is often necessary to modify the message storage location to another partition. If you want to set up where messages are stored, you must be a member of the local Computer Administrators group, or you must be delegated the appropriate permissions. If you join a computer to a domain, members of the DomainAdmins group might also be able to perform that setting.

(1) Open the Manage Your Server window, click the Manage this mail server hyperlink in the mail server (POP3,SMTP) column, or click the Start-> Control Panel-> Administrative Tools-> POP3 Services option to display the POP3 the Service Console window.

(2) Right-click the "Computer name" node and select the "All Tasks"-> "Stop" submenu in the pop-up shortcut menu to stop the e-mail service.

(3) Right-click the computer name node and choose Properties Submenu from the shortcut menu that pops up, the Mail Server Properties dialog box is displayed, and a new message store folder and path, such as D:\Mailbox, is typed in the root Mail directory text box. You can also click the Browse button to locate and locate the folder where you want to save the user's mailbox.

(4) Then click OK to display the POP3 service warning box, which indicates that the existing domain will not store the message correctly, and that the domain directory must be copied to the new root mail directory to retain the current account body.

(5) Clicking the "OK" button displays the POP3 Service prompt box, where you are reminded that you need to restart the POP3 service and SMTP service to make the changes take effect.

(6) Click the Yes button to restart the mail service.

(7) Open the system's Windows Explorer and copy the domain directory to the new root mail directory. For example, if you set the domain name to ghq.net and the new root mail directory is D:\Mailbox, you should copy the Ghq.net subfolders in the C:\Inetpub\mailroot\mailbox folder to the D:\Mailbox folder.

(8) Right-click the "Computer name" node and select the "All Tasks"-> "Start" submenu in the pop-up shortcut menu to start the e-mail service.

(9) Right-click the Computer name node and select the "All Tasks"-> "Refresh" submenu in the pop-up shortcut menu to take effect for the new domain directory.

In this dialog box, although you can also change the receive server port (110), this is not recommended. The reason is very simple, this is because when modifying the POP3 port, the user also has to do the corresponding setting in the email client, will undoubtedly increase the user's mailbox setting difficulty. In addition, the change settings will not take effect until the POP3 service is restarted.

  II) Admin domain

During the mail server installation, a new domain name will be added and set up for use in the e-mail service. If the enterprise requests two or more domain names, or if the server provides mail services as a virtual host, you can also add multiple domain names to enable the coexistence of multiple messaging virtual services.

1, create the domain

(1) First open the "POP3 Service" console, right-click the computer name node in which, and select the New-> field option from the shortcut menu that pops up, and the Add Field dialog box appears, and in the Field Name text box, type the new domain name, And make sure that the domain name already has the MX record set up in the DNS service.

(2) Click the OK button in the dialog box to complete the addition of the new domain name.

Repeat these actions to add multiple domain names to the mail server.

In addition, the following points should be noted when operating:

The POP3 service supports top-level and level three domain names, for example, Ghq.net and js.ghq.net are supported.

If you are using Active Directory-integrated authentication, you must be logged into the Active Directory domain instead of the local computer to perform this procedure.

2. Admin domain

In a POP3 console tree, you can manage the e-mail domain as necessary, such as delete, lock, or unlock control.

(1) Delete the domain. In the POP3 Services console tree, click Computer Name and right-click the field that you want to delete, and then click the Delete menu command to display a prompt to confirm the deletion of the field. Clicking the OK button in the prompt box deletes the domain, all mailboxes in the domain, and all messages stored in the domain.

(2) lock/unlock domain. Right-click the field you want to lock, select the Lock menu command, and Lock the field. When you unlock a domain, simply select the Unlock menu command in the right-click shortcut menu.

The following is a graphic version:

I. Use of windows2003 self-band POP3/SMTP service implementation

The first step: Install both services

Windows2003 is not installed by default, we must add it manually. The POP3 service component, under Add/Remove Windows Components-e-mail service, contains two items: POP3 Service and POP3 Service Web management; The SMTP service should select Application Server-internet Information Services-SMTP service in turn For installation, if you need to make remote Web management of the mail server, also select Remote Management (HTML) in the World Wide Web service.

Step Two: Configure the POP3 service

Click "Start-management tools-POP3 Services", open the POP3 Service Main window, then click the host name (native) under POP3 service on the left side of the window, and then select "New Domain" on the right side, and enter the name of the mail server that you want to create in the "Add Domain" dialog box, which is the section behind the @ sure you can.

Then create the mailbox. On the left click on the domain name just built, select "New Mailbox", in the pop-up dialog box to enter the name of the mailbox (that is, the previous part of the @), and set the mailbox password, the final set as shown in Figure 1.

Step three: SMTP Service configuration

Turn on Start-Program-management tools-internet information Services, on the left side of the window, on the SMTP virtual server, right-click the attribute, select the IP address of the mail server in the IP Address drop-down list box under the General tab, and set the maximum number of connections allowed, and then determine. (as shown in Figure 2)

After the above three steps, a Simple mail server has been built, you can use the mail client software to connect to this server to send and receive applications.

Two. Use third party software Winmail Server to build

is a safe and easy-to-use full function of the mail server software, it can be used as a LAN mail server, Internet Mail server, can also be used as dial-up ISDN, ADSL broadband, FTTB, Wired (Cablemodem) and other access mode of the mail server and mail gateway.

I. Initializing the configuration process:

After the installation is complete, we must also have some initialization settings for the mail system before the system can function properly, as follows:

1. Quick Setup Wizard

As shown in Figure 3, first enter the new mailbox address and password to use, and then click Settings, the Setup Wizard will automatically find the system database for the existence of the mailbox and domain name, but also test the POP3, SMTP, HTTP and admin server to start successfully, and then in the "Set results" The test information and the configuration information about the mail client are displayed in the box, and the Web administration address is given.

2. Use Administrative Tools to configure

After the Quick Wizard completes, you can start the mail system detection and send and receive the mail test.

The first step: under "Start"-"program"-"Magic winmail", locate the Magic winmail Admin End tool and open it.

Step Two: Check that the mail system is functioning properly

When the administration tool starts, you are prompted to log in to the mail server with the default username admin and the password you set during installation, and then use system settings-system services to see if the ADMIN, SMTP, POP3, IMAP services are working properly. The light green light indicates that the service is running successfully and the light red light indicates a problem with the service (Figure 4).

Note: If there are some services on the red light, generally because the port is occupied by the cause, please close this occupation program or replace the port and restart the service.

The third step: Domain name setting and mailbox management. Select "Domain name Settings" On the left side of the window. Switch to the Domain Name Management window, then click "Add" to create a new domain name, as shown in Figure 5, in the Domain Name box, enter the name of the mailbox you want to create and add the relevant description, it should also be the overall control settings for this mail server. For example, in the Advanced Properties tab you can set the user to allow the Web to register a new mailbox, under the Mailbox Default Permissions tab to set a mailbox to screen some of the features and so on

Fourth step: Add Mailbox. is to add mailbox users and create new mailboxes, so that the service system began to put into use. In the left "users and Groups"-"User management" option, set up users and mailboxes, and set the relevant parameters (as shown in Figure 6); This step, of course, can also be done later by the web to allow remote users to register themselves.

3. Message Usage test

After all of the above are set, you can test the service on this machine before it has been opened. One test method is to use commonly used mail client software such as Outlook Express, just to note that the outgoing mail server (SMTP) should fill in the IP address or host name of the mail server that you just set up, and "Receive mail server (POP3)" Should be filled in the user management set on the line.

Another convenient way is to register and send and receive new mail via the web. The login address is prompted in the "Setting results" box in the Quick Setup Wizard panel of the previous steps (in this case: http://10.0.0.1:6080/), as shown in Figure 7 of the Web login interface.

Enter the user name and password you have just created to start sending and receiving emails online, and register new mailboxes online in the login interface. Figure 8 Everyone should be very familiar with it! This is the software's Web Mail transceiver interface, OK, we can do it!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.