Windows server R2 setting up an SMTP server

Source: Internet
Author: User
Tags mail account fully qualified domain name

Windows Server 2012/2012 R2: Installing and configuring an SMTP server

Installing the SMTP server

The following are the steps to install the SMTP Server feature:

    1. Open Server Manager: Click the Windows button on your keyboard. Enter Server Manager. In the Results window, click Server Manager ...
    2. Click Dashboard in the left pane ...
    3. Click Add roles and Features. You can also open add roles and features from the Manage menu in the upper-right corner.
    4. On the Before you begin window, click Next.
    5. In installation type, click Role-based or feature-based installation. Click Next.
    6. In server selection, click Select a server from the server pool, then the desired server and next. The Server Selection window lists the servers that were added in Server Manager using Add server. By default, the local server is selected. Adding a server to Server Manager lists the steps to use Add Server on Windows Server 2012.
    7. In the Server Roles window, click Next.
    8. In the Features window, select SMTP server. If prompted, click Add Features. Click Next.
    9. In confirmation, select automatically restart the destination server if required, and then click Install. When you are finished, click Close.
Configuring the SMTP Server

The following are the steps to configure an SMTP virtual server by using IIS 6.0 Manager:

  1. Open IIS Manager: Click the Windows button on the keyboard. Enter "IIS". In the Results window, click Internet Information Services (IIS) 6.0 Manager.
  2. Expand the computer name. Right-click [SMTP Virtual Server 1], and then click Properties.
  3. On the Access tab, click the Relay button.
  4. Click Add. For single computer, enter 127.0.0.1, and then click OK.
    By adding 127.0.0.1, we will allow the local server to send messages from this SMTP server. If you want other computers to send messages from this SMTP server, enter their IP address.
  5. In the Delivery tab, click Outbound Security. Select the following options:
    Anonymous access: No account name or password is required. This option disables SMTP server authentication.
    Basic authentication: Sends the account name and password of the server to which you want to connect in clear text. The account you enter is used to transfer e-mail. When you send an e-mail message to a personal account or an Exchange account, you can select Basic authentication. Because credentials are passed in clear text, it is recommended that you enable TLS encryption.
    Integrated Windows authentication: The Windows domain account name and password are used for authentication. The account you enter is used to transfer e-mail.
    TLS encryption: Similar to SSL, TLS is used to secure the connection. A valid SSL server certificate needs to be installed on this server.
    Tip Tips
    To test the core SMTP feature with your personal e-mail account, including your Exchange account, select Anonymous access. When you select Basic Authentication, SMTP uses the AUTH command. Some email providers may fail because of the AUTH command. If the AUTH command fails, the error may be logged to the Windows event log on the SMTP server.
  6. In the Delivery tab, click Outbound Connections. By default, the TCP port is 25. If another port is already open inside the firewall, you can enter a different port. Click OK.
  7. In the Delivery tab, click Advanced. By default, the "Fully qualified domain name" of the local server is listed. The smart host property can be left blank, depending on the Internet provider. You may need to contact your Internet provider to verify that you need a smart host. Otherwise you may not be able to enter SMTP. Emailprovider.com.
    Note Note
    A smart host (also known as a relay host) is an Exchange server that is dedicated to routing all outgoing messages. After the smart host receives the message, it forwards the message to the remote domain. The goal of the smart host is to improve the performance of your Exchange Server. Instead of repeatedly contacting the remote domain until the connection is established, Exchange Server transmits only to the smart host.
  8. Click OK to close all windows.
  9. Restart the SMTP server: Right-click [SMTP Virtual Server 1], and then click Stop and Start. You must restart to apply the SMTP server settings.
Test
    1. Build a TXT file and drop the contents of the polygon
      From:[email protected]
      To:[email protected]
      Subject:testing
      This is the test message body.
    2. Copy the text file to C:\Inetpub\mailroot\Pickup and send it automatically.
    3. Check whether the receiving mailbox receives the message and, if so, succeeds.

      http://blog.csdn.net/realghost/article/details/40426789

Windows server R2 setting up an SMTP server

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.