"Go" Windows Server 2008 above server configuration SMTP

Source: Internet
Author: User
Tags email account biztalk


Establish an SMTP server [unless otherwise stated, the content in this topic is appropriate for BizTalk Server 2013 and R2. ]
Original link: https://msdn.microsoft.com/zh-tw/library/dn292550.aspx


This topic lists the steps to establish an SMTP server.



When you use SQL Server 2014 or SQL Server 2012, SQL Server Database Mail is required to set up BAM alerts.



SQL Server Database Mail uses the SMTP server to send BAM alerts. The SMTP server is included in the Internet Information Service (IIS). SMTP can be installed on BizTalk Server, or through IIS installed on other servers.


Important Things
Windows 7 SP1 and Windows 8.1 Do not include SMTP server features. You can use the SMTP email feature to connect to the now SMTP server on Windows Server 2012 through IIS. The SMTP email feature is not a "SMTP server, and SQL Server Database Mail requires this feature. Therefore, this topic does not include the steps for installing and setting the SMTP server on Windows 7 and Windows 8.1.
Windows Server R2: Install and Set SMTP Server installation SMTP server


The following steps install the SMTP Server feature:


    1. ?? Click [ start],[System Management Tools], then click [Server Administrator].

    2. In [Features] , click [New].

    3. In the [new] window, select [SMTP Server]. If you are prompted, click [Add required role Services]and then press [next].

    4. Click [Next] to continue the installation.

    5. In the [Confirm installation] window, click [Install]. Install, click [Close].

Setting up SMTP Servers


The following steps use the IIS 6.0 administrator to set up an SMTP virtual server:


  1. Open IIS 6.0 administrators: Click [Start]. In the [Search] text box, enter IIS. Click [Internet Information Services (IIS) 6.0 Administrator].
  2. To show the name of the computer. Click the right mouse button on the SMTP virtual Server #1 , and then click [Sexually].
  3. In the [Access] Index tab, click the [transfer] button.
  4. Click [Add]. Pin to [single computer], enter 127.0.0.1 and click [OK].
    By adding 127.0.0.1, we allow the server to send messages from this SMTP server. If you want other computers to send messages from this SMTP server, please enter their IP location.
  5. On the [pass] index label, click [Output SECURITY]. Select one of the following:

    Anonymous access : No account name or password is required. This option disables the SMTP server's experience.

    Basic Experience : Your server account name and password will be sent in pure text. Send email to a personal account or Exchange account, you will be selected for the basic certificate. It is suggested that you activate [TLS encryption]by sending it in pure text.

    Integrated Windows Experience : The Windows domain account name and password that you use to verify your experience. The account you enter will send an email.

    TLS encryption : Similar to SSL, TLS will protect the connection. You need to install a valid SSL server on this server to verify.

    Tips
    Bitter to test the core SMTP functionality with the personal email account that includes the Exchange account, select [Anonymous access]. When you select the basic certificate, SMTP uses the AUTH command. Some email providers may be unable to operate because of the AUTH command. If the AUTH command is defeated, Windows event recording on the SMTP server will record this bug.
  6. On the [pass] index tab, click [Input link]. According to the assumptions, the TCP connection port is 25. If opened in the fire wall, you can enter a different connection port. Click [Make sure].
  7. Tips
    TCP ports can be used for input and output connections.
  8. On the [pass] index label, click [Advanced ]. The [full domain name]of the machine server will be listed in the preset. According to the internet provider,[Smart Host] can be empty. You need to connect with your Internet provider to determine if you need Smart Host. Otherwise, you will need to enter SMTP. emailprovider. com.

    Attached
    Smart host, also called the Master control, is the designated server used by the Exchange server to route all messages. When the smart host receives the message, thesmart host will send messages to the remote domain. Smart Host 's goal is to improve the performance of the Exchange server. The Exchange server is only sent to smart host and does not repeatedly connect to the remote domain until the connection is established.
  9. Click [Make sure] to close all windows.
  10. You need to re-activate to apply SMTP server settings. To restart the SMTP server: Click the mouse button on [SMTP virtual Server #1] , then click [Stop]and click [Activate].

Windows Server 2012/2012 R2: Install and Set SMTP Server installation SMTP server


The following steps install the SMTP Server feature:


  1. Open [Server Manager]: Click Windows key on the keyboard. Enter [Server Manager]. In the [Results] window, click [Server Manager].
  2. Click on the " meter board" in the left pane.
  3. Click [New Roles and features]. [New roles and features] can also be opened in the [admin] menu on the right side.
  4. On the [before you start] window, press [next].
  5. In [Installation Type] , click [character or function installation]. Click [Next].
  6. In [Server Options] , click [Select Server from the set], click on the desired server, then click [Next]. The [ Server Options] window lists the new servers added in [ Server Manager] . The preset will select the native server. A new server-to-service Manager lists the steps to use [new server] on Windows Server 2012.
  7. In the Viewer role window, press [next].
  8. In the Functions window, select [SMTP Server]. If prompted, click [New Feature]. Click [Next].
  9. In [confirm] , select [If you need to reactivate the destination server automatically], then click [Install]. Install, click [Close].

Setting up SMTP Servers


The following steps use the IIS 6.0 administrator to set up an SMTP virtual server:


  1. Open IIS admin: Click Windows keys on the keyboard. Input into IIS. In the [Results] window, click [Internet Information Services (IIS) 6.0 Administrator].
  2. To show the name of the computer. Click the right mouse button on the SMTP virtual Server #1 , and then click [Sexually].
  3. In the [Access] Index tab, click the [transfer] button.
  4. Click [Add]. Pin to [single computer], enter 127.0.0.1 and click [OK].
  5. By adding 127.0.0.1, we allow the server to send messages from this SMTP server. If you want other computers to send messages from this SMTP server, please enter their IP location.

  6. On the [pass] index label, click [Output SECURITY]. Select one of the following:
  7. Anonymous access : No account name or password is required. This option disables the SMTP server's experience.

    Basic Experience : Your server account name and password will be sent in pure text. The account you enter will send an email. Send email to a personal account or Exchange account, you will be selected for the basic certificate. It is suggested that you activate [TLS encryption]by sending it in pure text.

    Integrated Windows Experience : The Windows domain account name and password that you use to verify your experience. The account you enter will send an email.

    TLS encryption : Similar to SSL, TLS will protect the connection. You need to install a valid SSL server on this server to verify.

    Tips
    Bitter to test the core SMTP functionality with the personal email account that includes the Exchange account, select [Anonymous access]. When you select the basic certificate, SMTP uses the AUTH command. Some email providers may be unable to operate because of the AUTH command. If the AUTH command is defeated, Windows event recording on the SMTP server will record this bug.
  8. On the [pass] index tab, click [Input link]. According to the assumptions, the TCP connection port is 25. If opened in the fire wall, you can enter a different connection port. Click [Make sure].
  9. On the [pass] index label, click [Advanced ]. The [full domain name]of the machine server will be listed in the preset. According to the internet provider,[Smart Host] can be empty. You need to connect with your Internet provider to determine if you need Smart Host. Otherwise, you will need to enter SMTP. emailprovider. com.

  10. Attached
    Smart host, also called the Master control, is the designated server used by the Exchange server to route all messages. When the smart host receives the message, thesmart host will send messages to the remote domain. Smart Host 's goal is to improve the performance of the Exchange server. The Exchange server is only sent to smart host and does not repeatedly connect to the remote domain until the connection is established.
  11. Click [Make sure] to close all windows.
  12. Restart the SMTP server: Click the right mouse button on the [SMTP virtual Server #1] , then click [Stop]and click [Activate]. You need to re-activate to apply SMTP server settings.
Test SMTP Server


You can use a tenant to test SMTP server settings. The following steps use the SMTP server you set to send messages to your email address. HTTP://SUPPORT.MICROSOFT.COM/KB/153119 provides the instructions for the lease.


  1. Open the Command window as a system administrator:

  2. Windows Server R2: Click [Start]and then enter [command]in the [Search] text block. Click the right mouse button on the command prompt , and then click [perform as a system administrator].

    Windows Server: Click Windows keys on the keyboard. Enter [command]. In the [Results] window, right-click [command Prompt], and then click [Execute AS Administrator]in the toolbar.

  3. Enter in the command prompt character:

    Telnet localhost 25

    If you are not installing a tenant, please enter the following items to install:

    Pkgmgr/iu: "Telnetclient"

  4. Enter the following command to activate the message:

    EHLO Server
  5. Enter Sender's address:

    MAIL from:youremailaddress@yourprovider. com

    For example, enter:

    MAIL From:[email protected]

  6. Input recipient Address:
  7. RCPT to:youremailaddress@yourprovider. com
  8. For example, enter:

  9. RCPT To:[email protected]

  10. Inform the SMTP server that you are ready to send the information in the input mode:

    Information material

  11. Enter the following items to enter the theme:
  12. Main message: Test messages

  13. Press [send] twice.
  14. Enter the following items to input the text:

    This is the text of the test message.
  15. Click [Enter], enter a sentence (.), and then click [Enter].


Select the RCPT to address of the email message. If you have not sent an email (check your inbox and spam box), the message has not been successfully sent and is still in the SMTP Nin column folder (C:\inetpub\mailroot\Queue).


Please subscribeConcept of BizTalk Server 2013 and R2 Installation overview
Attached A: No message installation
Attachment B: Install Microsoft SharePoint Adapter
Appendix C: Removable packaging files


"Go" Windows Server 2008 above server configuration SMTP


Related Article

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.